Class UnboundedValueObjectId

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.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:
    Serialized Form
    • Constructor Detail

      • UnboundedValueObjectId

        public UnboundedValueObjectId​(java.lang.String typeName)
    • Method Detail

      • value

        public java.lang.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