Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ReviewedControls
-
@MetaschemaAssembly(formalName="Reviewed Controls and Control Objectives", description="Identifies the controls being assessed and their control objectives.", name="reviewed-controls", metaschema=OscalAssessmentCommonMetaschema.class, remarks="In the context of an assessment plan, this construct is used to identify the controls and control objectives that are to be assessed. In the context of an assessment result, this construct is used to identify the actual controls and objectives that were assessed, reflecting any changes from the plan.\n\nWhen resolving the selection of controls and control objectives, the following processing will occur:\n\n1. Controls will be resolved by creating a set of controls based on the control-selections by first handling the includes, and then removing any excluded controls.\n\n2. The set of control objectives will be resolved from the set of controls that was generated in the previous step. The set of control objectives is based on the control-objective-selection by first handling the includes, and then removing any excluded control objectives.") public class ReviewedControls extends ObjectIdentifies the controls being assessed and their control objectives.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classReviewedControls.ControlObjectiveSelectionIdentifies the control objectives of the assessment.static classReviewedControls.ControlSelectionIdentifies the controls being assessed.
-
Constructor Summary
Constructors Constructor Description ReviewedControls()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)Add a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.booleanaddControlSelection(ReviewedControls.ControlSelection item)Add a newReviewedControls.ControlSelectionitem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.List<ReviewedControls.ControlObjectiveSelection>getControlObjectiveSelections()List<ReviewedControls.ControlSelection>getControlSelections()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()booleanremoveControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)Remove the first matchingReviewedControls.ControlObjectiveSelectionitem from the underlying collection.booleanremoveControlSelection(ReviewedControls.ControlSelection item)Remove the first matchingReviewedControls.ControlSelectionitem 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.voidsetControlObjectiveSelections(List<ReviewedControls.ControlObjectiveSelection> value)voidsetControlSelections(List<ReviewedControls.ControlSelection> value)voidsetDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)StringtoString()
-
-
-
Constructor Detail
-
ReviewedControls
public ReviewedControls()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
addProp
public boolean addProp(Property item)
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getControlSelections
public List<ReviewedControls.ControlSelection> getControlSelections()
-
setControlSelections
public void setControlSelections(List<ReviewedControls.ControlSelection> value)
-
addControlSelection
public boolean addControlSelection(ReviewedControls.ControlSelection item)
Add a newReviewedControls.ControlSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlSelection
public boolean removeControlSelection(ReviewedControls.ControlSelection item)
Remove the first matchingReviewedControls.ControlSelectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getControlObjectiveSelections
public List<ReviewedControls.ControlObjectiveSelection> getControlObjectiveSelections()
-
setControlObjectiveSelections
public void setControlObjectiveSelections(List<ReviewedControls.ControlObjectiveSelection> value)
-
addControlObjectiveSelection
public boolean addControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Add a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlObjectiveSelection
public boolean removeControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Remove the first matchingReviewedControls.ControlObjectiveSelectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-