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 ObjectIdentifies 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 booleanaddExcludeObjective(SelectObjectiveById item)Add a newSelectObjectiveByIditem to the underlying collection.booleanaddIncludeObjective(SelectObjectiveById item)Add a newSelectObjectiveByIditem to the underlying collection.booleanaddLink(Link item)Add a newLinkitem to the underlying collection.booleanaddProp(Property item)Add a newPropertyitem to the underlying collection.gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetDescription()List<SelectObjectiveById>getExcludeObjectives()IncludeAllgetIncludeAll()List<SelectObjectiveById>getIncludeObjectives()List<Link>getLinks()List<Property>getProps()gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultilinegetRemarks()booleanremoveExcludeObjective(SelectObjectiveById item)Remove the first matchingSelectObjectiveByIditem from the underlying collection.booleanremoveIncludeObjective(SelectObjectiveById item)Remove the first matchingSelectObjectiveByIditem 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.model.common.datatype.markup.MarkupMultiline value)voidsetExcludeObjectives(List<SelectObjectiveById> value)voidsetIncludeAll(IncludeAll value)voidsetIncludeObjectives(List<SelectObjectiveById> value)voidsetLinks(List<Link> value)voidsetProps(List<Property> value)voidsetRemarks(gov.nist.secauto.metaschema.model.common.datatype.markup.MarkupMultiline value)StringtoString()
-
-
-
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 newPropertyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeProp
public boolean removeProp(Property item)
Remove the first matchingPropertyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
addLink
public boolean addLink(Link item)
Add a newLinkitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeLink
public boolean removeLink(Link item)
Remove the first matchingLinkitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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 newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeObjective
public boolean removeIncludeObjective(SelectObjectiveById item)
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeObjectives
public List<SelectObjectiveById> getExcludeObjectives()
-
setExcludeObjectives
public void setExcludeObjectives(List<SelectObjectiveById> value)
-
addExcludeObjective
public boolean addExcludeObjective(SelectObjectiveById item)
Add a newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeObjective
public boolean removeExcludeObjective(SelectObjectiveById item)
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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)
-
-