Interface IEntityItem
-
- All Known Implementing Classes:
AbstractEntityItem
public interface IEntityItem
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
IEntityItem.ItemType
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getIdentifier()
Get the entity's current identifier value.gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem
getInstance()
<T> T
getInstanceValue()
IEntityItem.ItemType
getItemType()
String
getOriginalIdentifier()
Get the identifier originally assigned to this entity.int
getReferenceCount()
URI
getSource()
void
incrementReferenceCount()
boolean
isIdentifierReassigned()
Determine if the identifier was reassigned.int
resetReferenceCount()
void
setInstance(gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item)
-
-
-
Method Detail
-
getOriginalIdentifier
@NonNull String 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
@NonNull String 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
@NonNull gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem getInstance()
-
setInstance
void setInstance(@NonNull gov.nist.secauto.metaschema.model.common.metapath.item.IRequiredValueModelNodeItem item)
-
getInstanceValue
@NonNull <T> T getInstanceValue()
-
getItemType
@NonNull IEntityItem.ItemType getItemType()
-
getReferenceCount
int getReferenceCount()
-
incrementReferenceCount
void incrementReferenceCount()
-
resetReferenceCount
int resetReferenceCount()
-
-