Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls.ControlObjectiveSelection
java.lang.Object
gov.nist.secauto.oscal.lib.model.ReviewedControls.ControlObjectiveSelection
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- ReviewedControls
@MetaschemaAssembly(formalName="Referenced Control Objectives",
description="Identifies the control objectives of the assessment. In the assessment plan, these are the planned objectives. In the assessment results, these are the assessed objectives, and reflects any changes from the plan.",
name="control-objective-selection",
moduleClass=OscalAssessmentCommonModule.class,
remarks="The `include-all` field, specifies all control objectives for any in-scope control. In-scope controls are defined in the `control-selection`.\n\nAny control objective specified within `exclude-controls` must first be within a range of explicitly included control objectives, via `include-objectives` or `include-all`.")
public static class ReviewedControls.ControlObjectiveSelection
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the control objectives of the assessment. In the assessment plan, these are the planned objectives. In the assessment results, these are the assessed objectives, and reflects any changes from the plan.
-
Constructor Summary
ConstructorsConstructorDescriptionControlObjectiveSelection(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectObjectiveByIditem to the underlying collection.booleanAdd a newSelectObjectiveByIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanRemove the first matchingSelectObjectiveByIditem from the underlying collection.booleanRemove the first matchingSelectObjectiveByIditem from the underlying collection.booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.voidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidsetIncludeAll(IncludeAll value) voidvoidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ControlObjectiveSelection
public ControlObjectiveSelection() -
ControlObjectiveSelection
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getIncludeAll
-
setIncludeAll
-
getIncludeObjectives
-
setIncludeObjectives
-
addIncludeObjective
Add a newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeObjective
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeObjectives
-
setExcludeObjectives
-
addExcludeObjective
Add a newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeObjective
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-