Class ReviewedControls.ControlObjectiveSelection
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- ReviewedControls
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlObjectiveSelectioninstance with no metadata.ControlObjectiveSelection(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlObjectiveSelectioninstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectObjectiveByIditem to the underlying collection.booleanAdd a newSelectObjectiveByIditem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Control Objectives Description".Get the "Select Objective".Get the "Include All".Get the "Select Objective".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".booleanRemove the first matchingSelectObjectiveByIditem from the underlying collection.booleanRemove 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(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Control Objectives Description".voidSet the "Select Objective".voidsetIncludeAll(IncludeAll value) Set the "Include All".voidSet the "Select Objective".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
ControlObjectiveSelection
public ControlObjectiveSelection()Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlObjectiveSelectioninstance with no metadata. -
ControlObjectiveSelection
Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlObjectiveSelectioninstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getDescription
Get the "Control Objectives Description".A human-readable description of this collection of control objectives.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Control Objectives Description".A human-readable description of this collection of control objectives.
- Parameters:
value- the description value to set, ornullto clear
-
getProps
Get the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Returns:
- the prop value
-
setProps
Set the "Property".An attribute, characteristic, or quality of the containing object expressed as a namespace qualified name/value pair.
- Parameters:
value- the prop value to set
-
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
Get the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Returns:
- the link value
-
setLinks
Set the "Link".A reference to a local or remote resource, that has a specific relation to the containing object.
- Parameters:
value- the link value to set
-
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
-
getIncludeAll
Get the "Include All".Include all controls from the imported catalog or profile resources.
- Returns:
- the include-all value, or
nullif not set
-
setIncludeAll
Set the "Include All".Include all controls from the imported catalog or profile resources.
- Parameters:
value- the include-all value to set, ornullto clear
-
getIncludeObjectives
Get the "Select Objective".Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
- Returns:
- the include-objective value
-
setIncludeObjectives
Set the "Select Objective".Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
- Parameters:
value- the include-objective value to set
-
addIncludeObjective
Add a newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeObjective
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeObjectives
Get the "Select Objective".Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
- Returns:
- the exclude-objective value
-
setExcludeObjectives
Set the "Select Objective".Used to select a control objective for inclusion/exclusion based on the control objective's identifier.
- Parameters:
value- the exclude-objective value to set
-
addExcludeObjective
Add a newSelectObjectiveByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeObjective
Remove the first matchingSelectObjectiveByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getRemarks
Get the "Remarks".Additional commentary about the containing object.
- Returns:
- the remarks value, or
nullif not set
-
setRemarks
Set the "Remarks".Additional commentary about the containing object.
- Parameters:
value- the remarks value to set, ornullto clear
-
toString
-