org.apache.geode.lang

## Interface Identifiable<T extends java.lang.Comparable<T>>

- Type Parameters:
    `T` - the class type of the identifier.
  All Superinterfaces:
    java.io.Serializable
  All Known Subinterfaces:
    CacheElement, Function<T>
  All Known Implementing Classes:
    BootstrappingFunction, CreateRegionFunction, FunctionAdapter, JndiBindingsType.JndiBinding, JndiBindingsType.JndiBinding.ConfigProperty, RegionConfig, RegionSizeFunction, TouchPartitionedRegionEntriesFunction, TouchReplicatedRegionEntriesFunction

      public interface Identifiable<T extends java.lang.Comparable<T>>
      extends java.io.Serializable

  The Identifiable interface defines a contract for classes whose Object instances can be uniquely identified relative to other Object instances within the same class type hierarchy.

  Since:
    GemFire 7.0
  See Also:
    `Comparable`

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `getId()` Gets the identifier uniquely identifying this Object instance.

- - ### Method Detail

    - #### getId

          T getId()

      Gets the identifier uniquely identifying this Object instance.

      Returns:
        an identifier uniquely identifying this Object.