public class ValueObjectId extends GlobalId
| Constructor and Description |
|---|
ValueObjectId(java.lang.String typeName,
GlobalId ownerId,
java.lang.String fragment) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getFragment()
Path to ValueObject, should be unique in the Entity instance scope.
|
GlobalId |
getOwnerId() |
boolean |
hasOwnerOfType(EntityType entityType) |
java.lang.String |
value()
For ex.:
org.javers.core.model.SnapshotEntity/1
org.javers.core.model.SnapshotEntity/2#setOfValueObjects
|
public ValueObjectId(java.lang.String typeName,
GlobalId ownerId,
java.lang.String fragment)
public java.lang.String getFragment()
public boolean hasOwnerOfType(EntityType entityType)
public GlobalId getOwnerId()