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.
  • Constructor Details

    • Timing

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

      public Timing(dev.metaschema.core.model.IMetaschemaData data)
      Constructs a new dev.metaschema.oscal.lib.model.Task.Timing 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
    • getOnDate

      @Nullable public Task.Timing.OnDate getOnDate()
      Get the "On Date Condition".

      The task is intended to occur on the specified date.

      Returns:
      the on-date value, or null if not set
    • setOnDate

      public void setOnDate(@Nullable Task.Timing.OnDate value)
      Set the "On Date Condition".

      The task is intended to occur on the specified date.

      Parameters:
      value - the on-date value to set, or null to 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 null if not set
    • setWithinDateRange

      public void setWithinDateRange(@Nullable Task.Timing.WithinDateRange value)
      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, or null to clear
    • getAtFrequency

      Get the "Frequency Condition".

      The task is intended to occur at the specified frequency.

      Returns:
      the at-frequency value, or null if not set
    • setAtFrequency

      public void setAtFrequency(@Nullable Task.Timing.AtFrequency value)
      Set the "Frequency Condition".

      The task is intended to occur at the specified frequency.

      Parameters:
      value - the at-frequency value to set, or null to clear
    • toString

      public String toString()
      Overrides:
      toString in class Object