Package dev.metaschema.oscal.lib.model
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 Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.Task.Timing.AtFrequencyinstance with no metadata.AtFrequency(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.AtFrequencyinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Period".getUnit()Get the "Time Unit".voidsetPeriod(BigInteger value) Set the "Period".voidSet the "Time Unit".toString()
-
Constructor Details
-
AtFrequency
public AtFrequency()Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.AtFrequencyinstance with no metadata. -
AtFrequency
Constructs a newdev.metaschema.oscal.lib.model.Task.Timing.AtFrequencyinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getPeriod
Get the "Period".The task must occur after the specified period has elapsed.
- Returns:
- the period value
-
setPeriod
Set the "Period".The task must occur after the specified period has elapsed.
- Parameters:
value- the period value to set
-
getUnit
Get the "Time Unit".The unit of time for the period.
- Returns:
- the unit value
-
setUnit
Set the "Time Unit".The unit of time for the period.
- Parameters:
value- the unit value to set
-
toString
-