Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls.ControlSelection
java.lang.Object
gov.nist.secauto.oscal.lib.model.ReviewedControls.ControlSelection
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- 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",
moduleClass=OscalAssessmentCommonModule.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
implements gov.nist.secauto.metaschema.core.model.IBoundObject
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
ConstructorDescriptionControlSelection
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newSelectControlById
item to the underlying collection.boolean
Add a newSelectControlById
item to the underlying collection.boolean
Add a newLink
item to the underlying collection.boolean
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
getLinks()
gov.nist.secauto.metaschema.core.model.IMetaschemaData
getProps()
gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline
boolean
Remove the first matchingSelectControlById
item from the underlying collection.boolean
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.core.datatype.markup.MarkupMultiline value) void
setExcludeControls
(List<SelectControlById> value) void
setIncludeAll
(IncludeAll value) void
setIncludeControls
(List<SelectControlById> value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ControlSelection
public ControlSelection() -
ControlSelection
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaData
in interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getLinks
-
setLinks
-
addLink
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
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
-
setIncludeAll
-
getIncludeControls
-
setIncludeControls
-
addIncludeControl
Add a newSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeControl
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
-
setExcludeControls
-
addExcludeControl
Add a newSelectControlById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeControl
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
-
setRemarks
-
toString
-