Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls.ControlSelection
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ReviewedControls.ControlSelection
-
- Enclosing class:
- ReviewedControls
@MetaschemaAssembly(formalName="Assessed Controls", description="Identifies the controls being assessed. In the assessment plan, these are the planned controls. In the assessment results, these are the actual controls, and reflects any changes from the plan.", name="control-selection", metaschema=OscalAssessmentCommonMetaschema.class, remarks="The `include-all`, specifies all control identified in the **baseline** are included in the scope if this assessment, as specified by the `include-profile` statement within the linked SSP.\n\nAny control specified within `exclude-controls` must first be within a range of explicitly included controls, via `include-controls` or `include-all`.") public static class ReviewedControls.ControlSelection extends ObjectIdentifies the controls being assessed. In the assessment plan, these are the planned controls. In the assessment results, these are the actual controls, and reflects any changes from the plan.
-
-
Constructor Summary
Constructors Constructor Description ControlSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanaddExcludeControl(SelectControlById item)Add a newSelectControlByIditem to the underlying collection.booleanaddIncludeControl(SelectControlById item)Add a newSelectControlByIditem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<SelectControlById>getExcludeControls()IncludeAllgetIncludeAll()List<SelectControlById>getIncludeControls()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()booleanremoveExcludeControl(SelectControlById item)Remove the first matchingSelectControlByIditem from the underlying collection.booleanremoveIncludeControl(SelectControlById item)Remove the first matchingSelectControlByIditem 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.model.common.datatype.markup.MarkupMultiline value)voidsetExcludeControls(List<SelectControlById> value)voidsetIncludeAll(IncludeAll value)voidsetIncludeControls(List<SelectControlById> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)StringtoString()
-
-
-
Constructor Detail
-
ControlSelection
public ControlSelection()
-
-
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
-
getIncludeAll
public IncludeAll getIncludeAll()
-
setIncludeAll
public void setIncludeAll(IncludeAll value)
-
getIncludeControls
public List<SelectControlById> getIncludeControls()
-
setIncludeControls
public void setIncludeControls(List<SelectControlById> value)
-
addIncludeControl
public boolean addIncludeControl(SelectControlById item)
Add a newSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeControl
public boolean removeIncludeControl(SelectControlById item)
Remove the first matchingSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeControls
public List<SelectControlById> getExcludeControls()
-
setExcludeControls
public void setExcludeControls(List<SelectControlById> value)
-
addExcludeControl
public boolean addExcludeControl(SelectControlById item)
Add a newSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeControl
public boolean removeExcludeControl(SelectControlById item)
Remove the first matchingSelectControlByIditem 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)
-
-