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
ConstructorsConstructorDescriptionControlSelection(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectControlByIditem to the underlying collection.booleanAdd a newSelectControlByIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanRemove the first matchingSelectControlByIditem from the underlying collection.booleanRemove 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.core.datatype.markup.MarkupMultiline value) voidsetExcludeControls(List<SelectControlById> value) voidsetIncludeAll(IncludeAll value) voidsetIncludeControls(List<SelectControlById> value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ControlSelection
public ControlSelection() -
ControlSelection
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getDescription
-
setDescription
-
getProps
-
setProps
-
addProp
Add a newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getLinks
-
setLinks
-
addLink
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getIncludeAll
-
setIncludeAll
-
getIncludeControls
-
setIncludeControls
-
addIncludeControl
Add a newSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeControl
Remove the first matchingSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeControls
-
setExcludeControls
-
addExcludeControl
Add a newSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeControl
Remove the first matchingSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-