Package dev.metaschema.oscal.lib.model
Class Task.Timing.OnDate
java.lang.Object
dev.metaschema.oscal.lib.model.Task.Timing.OnDate
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- Task.Timing
@MetaschemaAssembly(formalName="On Date Condition",
description="The task is intended to occur on the specified date.",
name="on-date",
moduleClass=OscalAssessmentCommonModule.class)
public static class Task.Timing.OnDate
extends Object
implements dev.metaschema.core.model.IBoundObject
The task is intended to occur on the specified date.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetDate()Get the "On Date Condition".dev.metaschema.core.model.IMetaschemaDatavoidsetDate(ZonedDateTime value) Set the "On Date Condition".toString()
-
Constructor Details
-
OnDate
public OnDate()Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.OnDateinstance with no metadata. -
OnDate
Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.OnDateinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getDate
Get the "On Date Condition".The task must occur on the specified date.
- Returns:
- the date value
-
setDate
Set the "On Date Condition".The task must occur on the specified date.
- Parameters:
value- the date value to set
-
toString
-