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 Object
Identifies the controls being assessed and their control objectives.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ReviewedControls.ControlObjectiveSelection
Identifies the control objectives of the assessment.static class
ReviewedControls.ControlSelection
Identifies the controls being assessed.
-
Constructor Summary
Constructors Constructor Description ReviewedControls()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Add a newReviewedControls.ControlObjectiveSelection
item to the underlying collection.boolean
addControlSelection(ReviewedControls.ControlSelection item)
Add a newReviewedControls.ControlSelection
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.List<ReviewedControls.ControlObjectiveSelection>
getControlObjectiveSelections()
List<ReviewedControls.ControlSelection>
getControlSelections()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
boolean
removeControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Remove the first matchingReviewedControls.ControlObjectiveSelection
item from the underlying collection.boolean
removeControlSelection(ReviewedControls.ControlSelection item)
Remove the first matchingReviewedControls.ControlSelection
item from the underlying collection.boolean
removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.boolean
removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.void
setControlObjectiveSelections(List<ReviewedControls.ControlObjectiveSelection> value)
void
setControlSelections(List<ReviewedControls.ControlSelection> value)
void
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
String
toString()
-
-
-
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 newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLink
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getControlSelections
public List<ReviewedControls.ControlSelection> getControlSelections()
-
setControlSelections
public void setControlSelections(List<ReviewedControls.ControlSelection> value)
-
addControlSelection
public boolean addControlSelection(ReviewedControls.ControlSelection item)
Add a newReviewedControls.ControlSelection
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeControlSelection
public boolean removeControlSelection(ReviewedControls.ControlSelection item)
Remove the first matchingReviewedControls.ControlSelection
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getControlObjectiveSelections
public List<ReviewedControls.ControlObjectiveSelection> getControlObjectiveSelections()
-
setControlObjectiveSelections
public void setControlObjectiveSelections(List<ReviewedControls.ControlObjectiveSelection> value)
-
addControlObjectiveSelection
public boolean addControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Add a newReviewedControls.ControlObjectiveSelection
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeControlObjectiveSelection
public boolean removeControlObjectiveSelection(ReviewedControls.ControlObjectiveSelection item)
Remove the first matchingReviewedControls.ControlObjectiveSelection
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
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)
-
-