Package dev.metaschema.oscal.lib.model
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 Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.SelectObjectiveByIdinstance with no metadata.SelectObjectiveById(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.SelectObjectiveByIdinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptiondev.metaschema.core.model.IMetaschemaDataGet the "Objective ID".voidsetObjectiveId(String value) Set the "Objective ID".toString()
-
Constructor Details
-
SelectObjectiveById
public SelectObjectiveById()Constructs a newdev.metaschema.oscal.lib.model.SelectObjectiveByIdinstance with no metadata. -
SelectObjectiveById
Constructs a newdev.metaschema.oscal.lib.model.SelectObjectiveByIdinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getObjectiveId
Get the "Objective ID".Points to an assessment objective.
- Returns:
- the objective-id value
-
setObjectiveId
Set the "Objective ID".Points to an assessment objective.
- Parameters:
value- the objective-id value to set
-
toString
-