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.IMetaschemaDatadev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".voidsetDate(ZonedDateTime value) Set the "On Date Condition".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".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
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-