Package dev.metaschema.oscal.lib.model
Class Task.Timing
java.lang.Object
dev.metaschema.oscal.lib.model.Task.Timing
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Task
@MetaschemaAssembly(formalName="Event Timing",
description="The timing under which the task is intended to occur.",
name="timing",
moduleClass=OscalAssessmentCommonModule.class)
public static class Task.Timing
extends Object
implements dev.metaschema.core.model.IBoundObject
The timing under which the task is intended to occur.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThe task is intended to occur at the specified frequency.static classThe task is intended to occur on the specified date.static classThe task is intended to occur within the specified date range. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionGet the "Frequency Condition".dev.metaschema.core.model.IMetaschemaDataGet the "On Date Condition".Get the "On Date Range Condition".voidSet the "Frequency Condition".voidsetOnDate(Task.Timing.OnDate value) Set the "On Date Condition".voidSet the "On Date Range Condition".toString()
-
Constructor Details
-
Timing
public Timing()Constructs a newdev.metaschema.oscal.lib.model.Task.Timinginstance with no metadata. -
Timing
Constructs a newdev.metaschema.oscal.lib.model.Task.Timinginstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getOnDate
Get the "On Date Condition".The task is intended to occur on the specified date.
- Returns:
- the on-date value, or
nullif not set
-
setOnDate
Set the "On Date Condition".The task is intended to occur on the specified date.
- Parameters:
value- the on-date value to set, ornullto clear
-
getWithinDateRange
Get the "On Date Range Condition".The task is intended to occur within the specified date range.
- Returns:
- the within-date-range value, or
nullif not set
-
setWithinDateRange
Set the "On Date Range Condition".The task is intended to occur within the specified date range.
- Parameters:
value- the within-date-range value to set, ornullto clear
-
getAtFrequency
Get the "Frequency Condition".The task is intended to occur at the specified frequency.
- Returns:
- the at-frequency value, or
nullif not set
-
setAtFrequency
Set the "Frequency Condition".The task is intended to occur at the specified frequency.
- Parameters:
value- the at-frequency value to set, ornullto clear
-
toString
-