Interface Identifiable


public interface Identifiable
Objects implementing this interface can be identified by a String identifier.

The uniqueness of the ident String depends on the particular use by the Class.

  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the ID of this object.
    void
    Sets the identification for this object.
  • Method Details

    • setId

      void setId(String id)
      Sets the identification for this object.
      Parameters:
      id - the ident String
    • getId

      String getId()
      Gets the ID of this object.
      Returns:
      a String identifying this object