Interface HasOid

All Known Subinterfaces:
Entity, EntityExtended, MutableEntity, MutableEntityExtended
All Known Implementing Classes:
EntityExtendedImp, MutableEntityExtendedImp

public interface HasOid
Mixin indicating the class has the capability to be uniquely identified through an object identifier.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    String representation of the property associated with the mixin.
    static final long
    Placeholder to identify an illegal or undefined internal identifier.
  • Method Summary

    Modifier and Type
    Method
    Description
    long
    oid()
    Return the unique internal identifier of the instance.
  • Field Details

    • OID

      static final String OID
      String representation of the property associated with the mixin.
      See Also:
    • UNDEFINED_OID

      static final long UNDEFINED_OID
      Placeholder to identify an illegal or undefined internal identifier. It is also the default value if a developer forgets to set the value.
      See Also:
  • Method Details

    • oid

      long oid()
      Return the unique internal identifier of the instance.
      Returns:
      unique internal identifier