Class ReviewedControls
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classIdentifies the control objectives of the assessment.static classIdentifies the controls being assessed. -
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.ReviewedControlsinstance with no metadata.ReviewedControls(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.ReviewedControlsinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.booleanAdd a newReviewedControls.ControlSelectionitem to the underlying collection.booleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.Get the "Referenced Control Objectives".Get the "Assessed Controls".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Control Objective Description".getLinks()Get the "Link".dev.metaschema.core.model.IMetaschemaDatagetProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".booleanRemove the first matchingReviewedControls.ControlObjectiveSelectionitem from the underlying collection.booleanRemove the first matchingReviewedControls.ControlSelectionitem 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.voidSet the "Referenced Control Objectives".voidSet the "Assessed Controls".voidsetDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Control Objective Description".voidSet the "Link".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".toString()
-
Constructor Details
-
ReviewedControls
public ReviewedControls()Constructs a newdev.metaschema.oscal.lib.model.ReviewedControlsinstance with no metadata. -
ReviewedControls
Constructs a newdev.metaschema.oscal.lib.model.ReviewedControlsinstance 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 Objective Description".A human-readable description of control objectives.
- Returns:
- the description value, or
nullif not set
-
setDescription
Set the "Control Objective Description".A human-readable description 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
-
getControlSelections
Get the "Assessed Controls".Identifies the controls being assessed. In the assessment plan, these are the planned controls. In the assessment results, these are the actual controls, and reflects any changes from the plan.
- Returns:
- the control-selection value
-
setControlSelections
Set the "Assessed Controls".Identifies the controls being assessed. In the assessment plan, these are the planned controls. In the assessment results, these are the actual controls, and reflects any changes from the plan.
- Parameters:
value- the control-selection value to set
-
addControlSelection
Add a newReviewedControls.ControlSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlSelection
Remove the first matchingReviewedControls.ControlSelectionitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getControlObjectiveSelections
Get the "Referenced Control Objectives".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.
- Returns:
- the control-objective-selection value
-
setControlObjectiveSelections
public void setControlObjectiveSelections(@NonNull List<ReviewedControls.ControlObjectiveSelection> value) Set the "Referenced Control Objectives".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.
- Parameters:
value- the control-objective-selection value to set
-
addControlObjectiveSelection
Add a newReviewedControls.ControlObjectiveSelectionitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeControlObjectiveSelection
Remove the first matchingReviewedControls.ControlObjectiveSelectionitem 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
-