Interface GloballyUnique


public interface GloballyUnique
This interface can be used to identify a object which has a globally unique identifier. This globally unique identifier is referred as the "objectId" of the object. The means by which it is generated or general format of this value is not specified, however it is intended that some sort of GUID algorithm is used to generate this value, such as the one provided by UUID.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the globally unique object id of this object.
  • Method Details

    • getObjectId

      String getObjectId()
      Return the globally unique object id of this object. In general, this value should only be null if the object has not yet been stored to a persistent data store.
      Returns:
      the objectId of this object, or null if it has not been set yet