Class UnboundedValueObjectId

java.lang.Object
org.javers.core.metamodel.object.GlobalId
org.javers.core.metamodel.object.UnboundedValueObjectId
All Implemented Interfaces:
Serializable, Comparable<GlobalId>

public class UnboundedValueObjectId extends GlobalId
Unbounded ValueObject, has '/' as symbolic cdoId representation.

This kind of Id is assigned by graph builder to ValueObject which is not embedded in any Entity instance. (by design or by accident)

Its recommended to avoid Unbounded ValueObject since they don't have a real global id. Prefer embedding ValueObject in Entity instances to leverage ValueObjectId global Id.

See Also:
  • Constructor Details

    • UnboundedValueObjectId

      public UnboundedValueObjectId(String typeName)
  • Method Details

    • value

      public String value()
      Description copied from class: GlobalId
       For ex.:
       org.javers.core.model.SnapshotEntity/1
       org.javers.core.model.SnapshotEntity/2#setOfValueObjects
       
      Specified by:
      value in class GlobalId