Package gov.nist.secauto.oscal.lib.model
Class ReviewedControls.ControlObjectiveSelection
- java.lang.Object
-
- gov.nist.secauto.oscal.lib.model.ReviewedControls.ControlObjectiveSelection
-
- 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", metaschema=OscalAssessmentCommonMetaschema.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
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
Constructors Constructor Description ControlObjectiveSelection()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
addExcludeObjective(SelectObjectiveById item)
Add a newSelectObjectiveById
item to the underlying collection.boolean
addIncludeObjective(SelectObjectiveById item)
Add a newSelectObjectiveById
item to the underlying collection.boolean
addLink(Link item)
Add a newLink
item to the underlying collection.boolean
addProp(Property item)
Add a newProperty
item to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getDescription()
List<SelectObjectiveById>
getExcludeObjectives()
IncludeAll
getIncludeAll()
List<SelectObjectiveById>
getIncludeObjectives()
List<Link>
getLinks()
List<Property>
getProps()
gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline
getRemarks()
boolean
removeExcludeObjective(SelectObjectiveById item)
Remove the first matchingSelectObjectiveById
item from the underlying collection.boolean
removeIncludeObjective(SelectObjectiveById item)
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.model.common.datatype.markup.MarkupMultiline value)
void
setExcludeObjectives(List<SelectObjectiveById> value)
void
setIncludeAll(IncludeAll value)
void
setIncludeObjectives(List<SelectObjectiveById> value)
void
setLinks(List<Link> value)
void
setProps(List<Property> value)
void
setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
String
toString()
-
-
-
Constructor Detail
-
ControlObjectiveSelection
public ControlObjectiveSelection()
-
-
Method Detail
-
getDescription
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getDescription()
-
setDescription
public void setDescription(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
addProp
public boolean addProp(Property item)
Add a newProperty
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingProperty
item from the underlying collection.- Parameters:
item
- the item to remove- Returns:
true
if the item was removed orfalse
otherwise
-
addLink
public boolean addLink(Link item)
Add a newLink
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
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
public IncludeAll getIncludeAll()
-
setIncludeAll
public void setIncludeAll(IncludeAll value)
-
getIncludeObjectives
public List<SelectObjectiveById> getIncludeObjectives()
-
setIncludeObjectives
public void setIncludeObjectives(List<SelectObjectiveById> value)
-
addIncludeObjective
public boolean addIncludeObjective(SelectObjectiveById item)
Add a newSelectObjectiveById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeIncludeObjective
public boolean removeIncludeObjective(SelectObjectiveById item)
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
public List<SelectObjectiveById> getExcludeObjectives()
-
setExcludeObjectives
public void setExcludeObjectives(List<SelectObjectiveById> value)
-
addExcludeObjective
public boolean addExcludeObjective(SelectObjectiveById item)
Add a newSelectObjectiveById
item to the underlying collection.- Parameters:
item
- the item to add- Returns:
true
-
removeExcludeObjective
public boolean removeExcludeObjective(SelectObjectiveById item)
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
public gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline getRemarks()
-
setRemarks
public void setRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)
-
-