Interface IEntityItem
- All Known Implementing Classes:
AbstractEntityItem
public interface IEntityItem
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the entity's current identifier value.gov.nist.secauto.metaschema.core.metapath.item.node.IModelNodeItem<?,
?> <T> T
Get the identifier originally assigned to this entity.int
void
boolean
Determine if the identifier was reassigned.int
void
setInstance
(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:
true
if the identifier was reassigned, orfalse
otherwise
-
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()
-