public interface Identifiable extends Serializable
Modifier and Type | Method and Description |
---|---|
String |
getId()
Returns the unique identifier for this object instance.
|
String |
getTypeId()
Returns the identifying type for this object.
|
String getId()
UUID.randomUUID()
but it is up to specific implementations to decide.String getTypeId()
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.<i>Copyright (c) 2020, SAS Institute Inc., Cary, NC, USA</i>