Class ReviewedControls.ControlSelection
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
- Enclosing class:
- ReviewedControls
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlSelectioninstance with no metadata.ControlSelection(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlSelectioninstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectControlByIdOscalAssessmentCommonitem to the underlying collection.booleanAdd a newSelectControlByIdOscalAssessmentCommonitem 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 "Assessed Controls Description".Get the "Select Control".Get the "Include All".Get the "Select Control".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".booleanRemove the first matchingSelectControlByIdOscalAssessmentCommonitem from the underlying collection.booleanRemove the first matchingSelectControlByIdOscalAssessmentCommonitem 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 "Assessed Controls Description".voidSet the "Select Control".voidsetIncludeAll(IncludeAll value) Set the "Include All".voidSet the "Select Control".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
ControlSelection
public ControlSelection()Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlSelectioninstance with no metadata. -
ControlSelection
Constructs a newdev.metaschema.oscal.lib.model.ReviewedControls.ControlSelectioninstance 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 "Assessed Controls Description".A human-readable description of in-scope controls specified for assessment.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Assessed Controls Description".A human-readable description of in-scope controls specified for assessment.
- 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
-
getIncludeControls
Get the "Select Control".Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.
- Returns:
- the include-control value
-
setIncludeControls
Set the "Select Control".Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.
- Parameters:
value- the include-control value to set
-
addIncludeControl
Add a newSelectControlByIdOscalAssessmentCommonitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeIncludeControl
Remove the first matchingSelectControlByIdOscalAssessmentCommonitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getExcludeControls
Get the "Select Control".Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.
- Returns:
- the exclude-control value
-
setExcludeControls
Set the "Select Control".Used to select a control for inclusion/exclusion based on one or more control identifiers. A set of statement identifiers can be used to target the inclusion/exclusion to only specific control statements providing more granularity over the specific statements that are within the assessment scope.
- Parameters:
value- the exclude-control value to set
-
addExcludeControl
Add a newSelectControlByIdOscalAssessmentCommonitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeExcludeControl
Remove the first matchingSelectControlByIdOscalAssessmentCommonitem 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
-