Package gov.nist.secauto.oscal.lib.model
Class MappingEntry
java.lang.Object
gov.nist.secauto.oscal.lib.model.MappingEntry
- All Implemented Interfaces:
gov.nist.secauto.metaschema.core.model.IBoundObject
@MetaschemaAssembly(formalName="Mapping Entry",
description="A relationship-based mapping between a source and target set consisting of members (i.e., controls, control statements) from the respective source and target.",
name="map",
moduleClass=OscalMappingCommonModule.class)
public class MappingEntry
extends Object
implements gov.nist.secauto.metaschema.core.model.IBoundObject
A relationship-based mapping between a source and target set consisting of members (i.e., controls, control statements) from the respective source and target.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanAdd a newLinkitem to the underlying collection.booleanAdd a newPropertyitem to the underlying collection.booleanaddQualifier(QualifierItem item) Add a newQualifierItemitem to the underlying collection.booleanaddSource(MappingItem item) Add a newMappingItemitem to the underlying collection.booleanaddTarget(MappingItem item) Add a newMappingItemitem to the underlying collection.getLinks()gov.nist.secauto.metaschema.core.model.IMetaschemaDatagetNs()getProps()gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultilinegetUuid()booleanremoveLink(Link item) Remove the first matchingLinkitem from the underlying collection.booleanremoveProp(Property item) Remove the first matchingPropertyitem from the underlying collection.booleanremoveQualifier(QualifierItem item) Remove the first matchingQualifierItemitem from the underlying collection.booleanremoveSource(MappingItem item) Remove the first matchingMappingItemitem from the underlying collection.booleanremoveTarget(MappingItem item) Remove the first matchingMappingItemitem from the underlying collection.voidvoidsetCoverage(Coverage value) voidvoidsetMatchingRationale(String value) voidvoidvoidsetQualifiers(List<QualifierItem> value) voidsetRelationship(String value) voidsetRemarks(gov.nist.secauto.metaschema.core.datatype.markup.MarkupMultiline value) voidsetSources(List<MappingItem> value) voidsetTargets(List<MappingItem> value) voidtoString()
-
Constructor Details
-
MappingEntry
public MappingEntry() -
MappingEntry
-
-
Method Details
-
getMetaschemaData
- Specified by:
getMetaschemaDatain interfacegov.nist.secauto.metaschema.core.model.IBoundObject
-
getUuid
-
setUuid
-
getNs
-
setNs
-
getMatchingRationale
-
setMatchingRationale
-
getRelationship
-
setRelationship
-
getSources
-
setSources
-
addSource
Add a newMappingItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeSource
Remove the first matchingMappingItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getTargets
-
setTargets
-
addTarget
Add a newMappingItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeTarget
Remove the first matchingMappingItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getQualifiers
-
setQualifiers
-
addQualifier
Add a newQualifierItemitem to the underlying collection.- Parameters:
item- the item to add- Returns:
true
-
removeQualifier
Remove the first matchingQualifierItemitem from the underlying collection.- Parameters:
item- the item to remove- Returns:
trueif the item was removed orfalseotherwise
-
getConfidenceScore
-
setConfidenceScore
-
getCoverage
-
setCoverage
-
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
-