Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls.ControlObjectiveSelection
java.lang.Object
gov.nist.secauto.oscal.lib.model.ReviewedControls.ControlObjectiveSelection
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
- Enclosing class:
- ReviewedControls
@MetaschemaAssembly(formalName="Referenced Control Objectives",
description="Identifies the control objectives of the assessment. In the assessment plan, these are the planned objectives. In the assessment results, these are the assessed objectives, and reflects any changes from the plan.",
name="control-objective-selection",
moduleClass=OscalAssessmentCommonModule.class,
remarks="The `include-all` field, specifies all control objectives for any in-scope control. In-scope controls are defined in the `control-selection`.\n\nAny control objective specified within `exclude-controls` must first be within a range of explicitly included control objectives, via `include-objectives` or `include-all`.")
public static class ReviewedControls.ControlObjectiveSelection
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Identifies the control objectives of the assessment. In the assessment plan, these are the planned objectives. In the assessment results, these are the assessed objectives, and reflects any changes from the plan.
-
Constructor Summary
ConstructorDescriptionControlObjectiveSelection
(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
Method Summary
Modifier and TypeMethodDescriptionboolean
Add a newSelectObjectiveById
item to the underlying collection.boolean
Add a newSelectObjectiveById
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 matchingSelectObjectiveById
item from the underlying collection.boolean
Remove the first matchingSelectObjectiveById
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
void
setIncludeAll
(IncludeAll value) void
void
void
void
setRemarks
(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) toString()
-
Constructor Details
-
ControlObjectiveSelection
public ControlObjectiveSelection() -
ControlObjectiveSelection
-
-
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
-
getIncludeObjectives
-
setIncludeObjectives
-
addIncludeObjective
Add a newSelectObjectiveById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeObjective
Remove the first matchingSelectObjectiveById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getExcludeObjectives
-
setExcludeObjectives
-
addExcludeObjective
Add a newSelectObjectiveById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeObjective
Remove the first matchingSelectObjectiveById
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
getRemarks
-
setRemarks
-
toString
-