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
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies the control objectives of the assessment.static classIdentifies the controls being assessed. -
Constructor Summary
ConstructorsConstructorDescriptionReviewedControls(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.booleanAdd a newReviewedControls.ControlSelectionitem 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 matchingReviewedControls.ControlObjectiveSelectionitem from the underlying collection.booleanRemove the first matchingReviewedControls.ControlSelectionitem 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.voidvoidvoidsetDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ReviewedControls
public ReviewedControls() -
ReviewedControls
-
-
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
-
getControlSelections
-
setControlSelections
-
addControlSelection
Add a newReviewedControls.ControlSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlSelection
Remove the first matchingReviewedControls.ControlSelectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getControlObjectiveSelections
-
setControlObjectiveSelections
-
addControlObjectiveSelection
Add a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlObjectiveSelection
Remove the first matchingReviewedControls.ControlObjectiveSelectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
-
setRemarks
-
toString
-