Interface Identifiable

All Known Subinterfaces:
ActiveConnection, AuthenticatedUser, Connection, ConnectionGroup, SharingProfile, User, UserGroup
All Known Implementing Classes:
AbstractActiveConnection, AbstractAuthenticatedUser, AbstractConnection, AbstractConnectionGroup, AbstractIdentifiable, AbstractSharingProfile, AbstractUser, AbstractUserGroup, DelegatingConnection, DelegatingConnectionGroup, DelegatingSharingProfile, DelegatingUser, DelegatingUserGroup, SimpleConnection, SimpleConnectionGroup, SimpleUser, SimpleUserGroup, TokenInjectingConnection, TokenInjectingConnectionGroup

public interface Identifiable
An object which has a deterministic, unique identifier, which may not be null.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the unique identifier assigned to this object.
    void
    setIdentifier(String identifier)
    Sets the identifier assigned to this object.
  • Method Details

    • getIdentifier

      String getIdentifier()
      Returns the unique identifier assigned to this object. All identifiable objects must have a deterministic, unique identifier which may not be null.
      Returns:
      The unique identifier assigned to this object, which may not be null.
    • setIdentifier

      void setIdentifier(String identifier)
      Sets the identifier assigned to this object.
      Parameters:
      identifier - The identifier to assign.