public class InstanceId extends GlobalId
| Modifier and Type | Method and Description |
|---|---|
static InstanceId |
createFromInstance(java.lang.Object instance,
EntityType entity) |
java.lang.Object |
getCdoId()
Identifier of (client's) Entity instance, should be unique in Entity scope.
|
java.lang.String |
value()
For ex.:
org.javers.core.model.SnapshotEntity/1
org.javers.core.model.SnapshotEntity/2#setOfValueObjects
|
public static InstanceId createFromInstance(java.lang.Object instance, EntityType entity)
JaversException - ENTITY_INSTANCE_WITH_NULL_IDJaversException - NOT_INSTANCE_OFpublic java.lang.Object getCdoId()