org.keycloak.models.entities

## Class AbstractIdentifiableEntity

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

- Direct Known Subclasses:
    AuthenticationExecutionEntity, AuthenticationFlowEntity, AuthenticatorConfigEntity, ClientEntity, ClientIdentityProviderMappingEntity, ClientTemplateEntity, ComponentEntity, CredentialEntity, GroupEntity, IdentityProviderMapperEntity, PersistentUserSessionEntity, PolicyEntity, ProtocolMapperEntity, RealmEntity, RequiredActionProviderEntity, ResourceEntity, ResourceServerEntity, RoleEntity, ScopeEntity, UserConsentEntity, UserEntity, UserFederationMapperEntity, UserFederationProviderEntity, UsernameLoginFailureEntity

      public class AbstractIdentifiableEntity
      extends Object

  Base for the identifiable entity
  Author:
    Marek Posolda

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `id`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractIdentifiableEntity()`

  - ### Method Summary

    All Methods Instance Methods Concrete 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`

- - ### Field Detail

    - #### id

          protected String id

  - ### 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 © 2016 JBoss by Red Hat. All rights reserved.