Class GapSummary
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
mapping-collection. If a control is partially mapped, the parts of the control are not mappable, the gap and discrepancies should be documented in the relationship-gal.-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.GapSummaryinstance with no metadata.GapSummary(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.GapSummaryinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newSelectControlByIditem to the underlying collection.dev.metaschema.core.model.IMetaschemaDataGet the "Select Control".getUuid()Get the "Gap Summary Universally Unique Identifier".booleanRemove the first matchingSelectControlByIditem from the underlying collection.voidsetUnmappedControls(List<SelectControlById> value) Set the "Select Control".voidSet the "Gap Summary Universally Unique Identifier".toString()
-
Constructor Details
-
GapSummary
public GapSummary()Constructs a newdev.metaschema.oscal.lib.model.GapSummaryinstance with no metadata. -
GapSummary
Constructs a newdev.metaschema.oscal.lib.model.GapSummaryinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getUuid
Get the "Gap Summary Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this mapping gap summary elsewhere in this or other OSCAL instances. The locally defined UUID of the
SSPcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance).This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Returns:
- the uuid value
-
setUuid
Set the "Gap Summary Universally Unique Identifier".A machine-oriented, globally unique identifier with cross-instance scope that can be used to reference this mapping gap summary elsewhere in this or other OSCAL instances. The locally defined UUID of the
SSPcan be used to reference the data item locally or globally (e.g., in an imported OSCAL instance).This UUID should be assigned per-subject, which means it should be consistently used to identify the same subject across revisions of the document.- Parameters:
value- the uuid value to set
-
getUnmappedControls
Get the "Select Control".Select a control or controls from an imported control set.
- Returns:
- the unmapped-controls value
-
setUnmappedControls
Set the "Select Control".Select a control or controls from an imported control set.
- Parameters:
value- the unmapped-controls value to set
-
addUnmappedControls
Add a newSelectControlByIditem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeUnmappedControls
Remove the first matchingSelectControlByIditem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
toString
-