Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls
java.lang.Object
gov.nist.secauto.oscal.lib.model.ReviewedControls
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Reviewed Controls and Control Objectives",
description="Identifies the controls being assessed and their control objectives.",
name="reviewed-controls",
moduleClass=OscalAssessmentCommonModule.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
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the controls being assessed and their control objectives.
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic class
Identifies the control objectives of the assessment.static class
Identifies the controls being assessed. -
Constructor Summary
ConstructorDescriptionReviewedControls
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newReviewedControls.ControlObjectiveSelection
item to the underlying collection.boolean
Add a newReviewedControls.ControlSelection
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 matchingReviewedControls.ControlObjectiveSelection
item from the underlying collection.boolean
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
void
void
setDescription
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ReviewedControls
public ReviewedControls() -
ReviewedControls
-
-
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
-
getControlSelections
-
setControlSelections
-
addControlSelection
Add a newReviewedControls.ControlSelection
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeControlSelection
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
-
setControlObjectiveSelections
-
addControlObjectiveSelection
Add a newReviewedControls.ControlObjectiveSelection
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeControlObjectiveSelection
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
-
setRemarks
-
toString
-