Class Task.Timing.AtFrequency

java.lang.Object
dev.metaschema.oscal.lib.model.Task.Timing.AtFrequency
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
Enclosing class:
Task.Timing

@MetaschemaAssembly(formalName="Frequency Condition", description="The task is intended to occur at the specified frequency.", name="at-frequency", moduleClass=OscalAssessmentCommonModule.class) public static class Task.Timing.AtFrequency extends Object implements dev.metaschema.core.model.IBoundObject
The task is intended to occur at the specified frequency.
  • Constructor Details

    • AtFrequency

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

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

      @NonNull public BigInteger getPeriod()
      Get the "Period".

      The task must occur after the specified period has elapsed.

      Returns:
      the period value
    • setPeriod

      public void setPeriod(@NonNull BigInteger value)
      Set the "Period".

      The task must occur after the specified period has elapsed.

      Parameters:
      value - the period value to set
    • getUnit

      @NonNull public String getUnit()
      Get the "Time Unit".

      The unit of time for the period.

      Returns:
      the unit value
    • setUnit

      public void setUnit(@NonNull String value)
      Set the "Time Unit".

      The unit of time for the period.

      Parameters:
      value - the unit value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object