Class MappingProvenance
- All Implemented Interfaces:
dev.metaschema.core.model.IBoundObject
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a newdev.metaschema.oscal.lib.model.MappingProvenanceinstance with no metadata.MappingProvenance(dev.metaschema.core.model.IMetaschemaData data) Constructs a newdev.metaschema.oscal.lib.model.MappingProvenanceinstance with the specified metadata. -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanAdd a newResponsiblePartyitem to the underlying collection.Get the "Confidence Score".Get the "Coverage".getLinks()Get the "Link".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Mapping Description".Get the "Matching".dev.metaschema.core.model.IMetaschemaDataGet the "Method".getProps()Get the "Property".dev.metaschema.core.datatype.markup.MarkupMultilineGet the "Remarks".Get the "Responsible Party".Get the "Status".booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanRemove the first matchingResponsiblePartyitem from the underlying collection.voidSet the "Confidence Score".voidsetCoverage(Coverage value) Set the "Coverage".voidSet the "Link".voidsetMappingDescription(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Mapping Description".voidsetMatchingRationale(String value) Set the "Matching".voidSet the "Method".voidSet the "Property".voidsetRemarks(dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Remarks".voidSet the "Responsible Party".voidSet the "Status".toString()
-
Constructor Details
-
MappingProvenance
public MappingProvenance()Constructs a newdev.metaschema.oscal.lib.model.MappingProvenanceinstance with no metadata. -
MappingProvenance
Constructs a newdev.metaschema.oscal.lib.model.MappingProvenanceinstance with the specified metadata.- Parameters:
data- the metaschema data, ornullif none
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacedev.metaschema.core.model.IBoundObject
-
getMethod
Get the "Method".The method used to complete the overall mapping.
- Returns:
- the method value
-
setMethod
Set the "Method".The method used to complete the overall mapping.
- Parameters:
value- the method value to set
-
getMatchingRationale
Get the "Matching".The method used for relating controls within the mapping. The supported methods are aligned with the NIST Interagency Report (IR) 8477, Section 4.3 Set Theory Relationship Mapping.
- Returns:
- the matching-rationale value
-
setMatchingRationale
Set the "Matching".The method used for relating controls within the mapping. The supported methods are aligned with the NIST Interagency Report (IR) 8477, Section 4.3 Set Theory Relationship Mapping.
- Parameters:
value- the matching-rationale value to set
-
getStatus
Get the "Status".The current status of this mapping document.
- Returns:
- the status value
-
setStatus
Set the "Status".The current status of this mapping document.
- Parameters:
value- the status value to set
-
getConfidenceScore
Get the "Confidence Score".This records either a string category or a decimal value from 0-1 representing a percentage. Both of these values describe an estimation of the author's confidence that this mapping is correct and accurate.
- Returns:
- the confidence-score value, or
nullif not set
-
setConfidenceScore
Set the "Confidence Score".This records either a string category or a decimal value from 0-1 representing a percentage. Both of these values describe an estimation of the author's confidence that this mapping is correct and accurate.
- Parameters:
value- the confidence-score value to set, ornullto clear
-
getCoverage
Get the "Coverage".A decimal value from 0-1, representing the percentage coverage of the targets by the sources.
- Returns:
- the coverage value, or
nullif not set
-
setCoverage
Set the "Coverage".A decimal value from 0-1, representing the percentage coverage of the targets by the sources.
- Parameters:
value- the coverage value to set, ornullto clear
-
getMappingDescription
Get the "Mapping Description".Description of the context and intended use of the mapping set.
- Returns:
- the mapping-description value
-
setMappingDescription
public void setMappingDescription(@NonNull dev.metaschema.core.datatype.markup.MarkupMultiline value) Set the "Mapping Description".Description of the context and intended use of the mapping set.
- Parameters:
value- the mapping-description value to set
-
getResponsibleParties
Get the "Responsible Party".A reference to a set of persons and/or organizations that have responsibility for performing the referenced role in the context of the containing object.
- Returns:
- the responsible-party value
-
setResponsibleParties
Set the "Responsible Party".A reference to a set of persons and/or organizations that have responsibility for performing the referenced role in the context of the containing object.
- Parameters:
value- the responsible-party value to set
-
addResponsibleParty
Add a newResponsiblePartyitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeResponsibleParty
Remove the first matchingResponsiblePartyitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
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
-
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
-