Package org.javers.core.metamodel.object
Class ValueObjectId
java.lang.Object
org.javers.core.metamodel.object.GlobalId
org.javers.core.metamodel.object.ValueObjectId
- All Implemented Interfaces:
Serializable,Comparable<GlobalId>
- Direct Known Subclasses:
ValueObjectIdWithHash
ValueObject global unique identifier.
Since ValueObjects doesn't have public Id, they are identified by fragment path in the context of owning Entity instance.
Since ValueObjects doesn't have public Id, they are identified by fragment path in the context of owning Entity instance.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionPath to ValueObject, should be unique in the Entity instance scope.booleanhasOwnerOfType(EntityType entityType) toString()value()For ex.: org.javers.core.model.SnapshotEntity/1 org.javers.core.model.SnapshotEntity/2#setOfValueObjects
-
Constructor Details
-
ValueObjectId
-
-
Method Details
-
getFragment
Path to ValueObject, should be unique in the Entity instance scope. Usually, a property name. It works like fragment identifier in URL -
hasOwnerOfType
-
getOwnerId
-
masterObjectId
- Overrides:
masterObjectIdin classGlobalId
-
value
Description copied from class:GlobalIdFor ex.: org.javers.core.model.SnapshotEntity/1 org.javers.core.model.SnapshotEntity/2#setOfValueObjects
-
getParentValueObjectIds
-
toString
-