Class AbstractEntityItem
java.lang.Object
gov.nist.secauto.oscal.lib.profile.resolver.support.AbstractEntityItem
- All Implemented Interfaces:
IEntityItem
-
Nested Class Summary
Nested classes/interfaces inherited from interface gov.nist.secauto.oscal.lib.profile.resolver.support.IEntityItem
IEntityItem.ItemType -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractEntityItem(gov.nist.secauto.oscal.lib.profile.resolver.support.AbstractEntityItem.Builder builder) -
Method Summary
Modifier and TypeMethodDescriptionabstract StringGet the entity's current identifier value.gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?,?> <T> TGet the identifier originally assigned to this entity.intvoidintvoidsetInstance(gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?, ?> item) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface gov.nist.secauto.oscal.lib.profile.resolver.support.IEntityItem
isIdentifierReassigned
-
Constructor Details
-
AbstractEntityItem
protected AbstractEntityItem(@NonNull gov.nist.secauto.oscal.lib.profile.resolver.support.AbstractEntityItem.Builder builder)
-
-
Method Details
-
getOriginalIdentifier
Description copied from interface:IEntityItemGet the identifier originally assigned to this entity.If the identifier value was reassigned, the return value of this method will be different than value returned by
IEntityItem.getIdentifier(). In such cases, a call toIEntityItem.isIdentifierReassigned()is expected to returntrue.If the value was not reassigned, the return value of this method will be the same value returned by
IEntityItem.getIdentifier(). In this case,IEntityItem.isIdentifierReassigned()is expected to returnfalse.- Specified by:
getOriginalIdentifierin interfaceIEntityItem- Returns:
- the original identifier value before reassignment
-
getIdentifier
Description copied from interface:IEntityItemGet the entity's current identifier value.- Specified by:
getIdentifierin interfaceIEntityItem- Returns:
- the identifier value
-
getInstance
@NonNull public gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?,?> getInstance()- Specified by:
getInstancein interfaceIEntityItem
-
setInstance
public void setInstance(gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?, ?> item) - Specified by:
setInstancein interfaceIEntityItem
-
getInstanceValue
- Specified by:
getInstanceValuein interfaceIEntityItem
-
getItemType
- Specified by:
getItemTypein interfaceIEntityItem
-
getSource
- Specified by:
getSourcein interfaceIEntityItem
-
getReferenceCount
- Specified by:
getReferenceCountin interfaceIEntityItem
-
incrementReferenceCount
- Specified by:
incrementReferenceCountin interfaceIEntityItem
-
resetReferenceCount
- Specified by:
resetReferenceCountin interfaceIEntityItem
-