Interface Identifiable

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      java.lang.String getId()
      Returns the unique identifier for this object instance.
      java.lang.String getTypeId()
      Returns the identifying type for this object.
    • Method Detail

      • getId

        java.lang.String getId()
        Returns the unique identifier for this object instance. In most cases, this value will be UUID.randomUUID() but it is up to specific implementations to decide.
        Returns:
        the unique identifier for this object instance.
      • getTypeId

        java.lang.String getTypeId()
        Returns the identifying type for this object. This type identifier may be defined in the TypeService but that is not a requirement. The type should be sufficiently unique within the system that implementers can identify their own object instances and provide lookup routines when necessary.
        Returns:
        the identifying type for this object.