Class SelectObjectiveById

java.lang.Object
dev.metaschema.oscal.lib.model.SelectObjectiveById
All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject

@MetaschemaAssembly(formalName="Select Objective", description="Used to select a control objective for inclusion/exclusion based on the control objective\'s identifier.", name="select-objective-by-id", moduleClass=OscalAssessmentCommonModule.class) public class SelectObjectiveById extends Object implements dev.metaschema.core.model.IBoundObject
Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
  • Constructor Details

    • SelectObjectiveById

      Constructs a new dev.metaschema.oscal.lib.model.SelectObjectiveById instance with no metadata.
    • SelectObjectiveById

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

      @NonNull public String getObjectiveId()
      Get the "Objective ID".

      Points to an assessment objective.

      Returns:
      the objective-id value
    • setObjectiveId

      public void setObjectiveId(@NonNull String value)
      Set the "Objective ID".

      Points to an assessment objective.

      Parameters:
      value - the objective-id value to set
    • toString

      public String toString()
      Overrides:
      toString in class Object