Package dev.metaschema.oscal.lib.model
Class Task.Timing.WithinDateRange
java.lang.Object
dev.metaschema.oscal.lib.model.Task.Timing.WithinDateRange
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Task.Timing
@MetaschemaAssembly(formalName="On Date Range Condition",
description="The task is intended to occur within the specified date range.",
name="within-date-range",
moduleClass=OscalAssessmentCommonModule.class)
public static class Task.Timing.WithinDateRange
extends Object
implements dev.metaschema.core.model.IBoundObject
The task is intended to occur within the specified date range.
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Task.Timing.WithinDateRangeinstance with no metadata.WithinDateRange(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.WithinDateRangeinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiongetEnd()Get the "End Date Condition".dev.metaschema.core.model.IMetaschemaDatagetStart()Get the "Start Date Condition".voidsetEnd(ZonedDateTime value) Set the "End Date Condition".voidsetStart(ZonedDateTime value) Set the "Start Date Condition".toString()
-
Constructor Details
-
WithinDateRange
public WithinDateRange()Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.WithinDateRangeinstance with no metadata. -
WithinDateRange
Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.WithinDateRangeinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getStart
Get the "Start Date Condition".The task must occur on or after the specified date.
- Returns:
- the start value
-
setStart
Set the "Start Date Condition".The task must occur on or after the specified date.
- Parameters:
value- the start value to set
-
getEnd
Get the "End Date Condition".The task must occur on or before the specified date.
- Returns:
- the end value
-
setEnd
Set the "End Date Condition".The task must occur on or before the specified date.
- Parameters:
value- the end value to set
-
toString
-