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 Details

    • OnDate

      public OnDate()
      Constructs a new dev.metaschema.oscal.lib.model.Task.Timing.OnDate instance with no metadata.
    • OnDate

      public OnDate(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Task.Timing.OnDate instance with the specified metadata.
      Parameters:
      data - the metaschema data, or null if none
  • Method Details

    • getMetaschemaData

      public dev.metaschema.core.model.IMetaschemaData getMetaschemaData()
      Specified by:
      getMetaschemaData in interface dev.metaschema.core.model.IBoundObject
    • getDate

      @NonNull public ZonedDateTime getDate()
      Get the "On Date Condition".

      The task must occur on the specified date.

      Returns:
      the date value
    • setDate

      public void setDate(@NonNull ZonedDateTime value)
      Set the "On Date Condition".

      The task must occur on the specified date.

      Parameters:
      value - the date value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object