Interface IEntityItem
- All Known Implementing Classes:
AbstractEntityItem
public interface IEntityItem
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionGet the entity's current identifier value.gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?,?> <T> TGet the identifier originally assigned to this entity.intvoidbooleanDetermine if the identifier was reassigned.intvoidsetInstance(gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?, ?> item)
-
Method Details
-
getOriginalIdentifier
Get 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
getIdentifier(). In such cases, a call toisIdentifierReassigned()is expected to returntrue.If the value was not reassigned, the return value of this method will be the same value returned by
getIdentifier(). In this case,isIdentifierReassigned()is expected to returnfalse.- Returns:
- the original identifier value before reassignment
-
getIdentifier
Get the entity's current identifier value.- Returns:
- the identifier value
-
isIdentifierReassigned
boolean isIdentifierReassigned()Determine if the identifier was reassigned.- Returns:
trueif the identifier was reassigned, orfalseotherwise
-
getInstance
-
setInstance
void setInstance(@NonNull gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?, ?> item) -
getInstanceValue
-
getItemType
-
getSource
-
getReferenceCount
int getReferenceCount() -
incrementReferenceCount
void incrementReferenceCount() -
resetReferenceCount
int resetReferenceCount()
-