public class ValueObjectId extends UnboundedValueObjectId
| Constructor and Description |
|---|
ValueObjectId(ValueObject valueObject,
GlobalId ownerId,
String fragment) |
ValueObjectId(ValueObject valueObject,
OwnerContext ownerContext) |
| Modifier and Type | Method and Description |
|---|---|
Object |
getCdoId()
ID of Client's domain object, should be unique in Class scope,
for example database primary key or any domain identifier like user.login
|
String |
getFragment()
Path to ValueObject, should be unique in the Entity instance scope.
|
GlobalId |
getOwnerId() |
String |
value()
For ex.:
org.javers.core.model.SnapshotEntity/1
org.javers.core.model.SnapshotEntity/2#setOfValueObjects
|
getCdoClasspublic ValueObjectId(ValueObject valueObject, GlobalId ownerId, String fragment)
public ValueObjectId(ValueObject valueObject, OwnerContext ownerContext)
public String getFragment()
public Object getCdoId()
GlobalIdgetCdoId in class UnboundedValueObjectIdpublic GlobalId getOwnerId()
public String value()
GlobalIdFor ex.: org.javers.core.model.SnapshotEntity/1 org.javers.core.model.SnapshotEntity/2#setOfValueObjects
value in class UnboundedValueObjectIdCopyright © 2014. All rights reserved.