org.keycloak.models.entities

## Class AbstractIdentifiableEntity

- java.lang.Object
- - org.keycloak.models.entities.AbstractIdentifiableEntity

- Direct Known Subclasses:
    ClientEntity, MongoClientSessionEntity, MongoUserSessionEntity, RealmEntity, RoleEntity, UserEntity, UsernameLoginFailureEntity

      public class AbstractIdentifiableEntity
      extends Object

  Base for the identifiable entity
  Author:
    Marek Posolda

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractIdentifiableEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getId()`
    `int` | `hashCode()`
    `void` | `setId(String id)`
    `String` | `toString()`

    - ### Methods inherited from class java.lang.Object

      `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- - ### Constructor Detail

    - #### AbstractIdentifiableEntity

          public AbstractIdentifiableEntity()

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

Copyright © 2015. All Rights Reserved.