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 Object
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.
-
-
Constructor Summary
Constructors Constructor Description ControlSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addExcludeControl(SelectControlById item)
Add a newSelectControlById
item to the underlying collection.boolean
addIncludeControl(SelectControlById item)
Add a newSelectControlById
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.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<SelectControlById>
getExcludeControls()
IncludeAll
getIncludeAll()
List<SelectControlById>
getIncludeControls()
List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
boolean
removeExcludeControl(SelectControlById item)
Remove the first matchingSelectControlById
item from the underlying collection.boolean
removeIncludeControl(SelectControlById item)
Remove the first matchingSelectControlById
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
setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
void
setExcludeControls(List<SelectControlById> value)
void
setIncludeAll(IncludeAll value)
void
setIncludeControls(List<SelectControlById> 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
-
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 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
-
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 newSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControl
public boolean removeIncludeControl(SelectControlById item)
Remove the first matchingSelectControlById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getExcludeControls
public List<SelectControlById> getExcludeControls()
-
setExcludeControls
public void setExcludeControls(List<SelectControlById> value)
-
addExcludeControl
public boolean addExcludeControl(SelectControlById item)
Add a newSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControl
public boolean removeExcludeControl(SelectControlById item)
Remove the first matchingSelectControlById
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)
-
-