Package gov.nist.secauto.oscal.lib.model
Class MappingProvenance
java.lang.Object
gov.nist.secauto.oscal.lib.model.MappingProvenance
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Mapping Provenance",
description="Describes requirements, incompatibilities and gaps that are identified between a target and source in a mapping item.",
name="mapping-provenance",
moduleClass=OscalMappingCommonModule.class)
public class MappingProvenance
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
Describes requirements, incompatibilities and gaps that are identified between a target and source in a mapping item.
-
Constructor Summary
ConstructorsConstructorDescriptionMappingProvenance(gov.nist.secauto.metaschema.core.model.IMetaschemaData data) -
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.getLinks()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegov.nist.secauto.metaschema.core.model.IMetaschemaDatagetProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinebooleanremoveLink(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.voidvoidsetCoverage(Coverage value) voidvoidsetMappingDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetMatchingRationale(String value) voidvoidvoidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidvoidtoString()
-
Constructor Details
-
MappingProvenance
public MappingProvenance() -
MappingProvenance
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getMethod
-
setMethod
-
getMatchingRationale
-
setMatchingRationale
-
getStatus
-
setStatus
-
getConfidenceScore
-
setConfidenceScore
-
getCoverage
-
setCoverage
-
getMappingDescription
-
setMappingDescription
public void setMappingDescription(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) -
getResponsibleParties
-
setResponsibleParties
-
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
-
setProps
-
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
-
setLinks
-
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
-
setRemarks
-
toString
-