org.keycloak.models.jpa.entities

## Class ScopeMappingEntity.Key

- java.lang.Object
- - org.keycloak.models.jpa.entities.ScopeMappingEntity.Key

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    ScopeMappingEntity

      public static class ScopeMappingEntity.Key
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientEntity` | `client`
    `protected RoleEntity` | `role`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ScopeMappingEntity.Key()`
    `ScopeMappingEntity.Key(ClientEntity client, RoleEntity role)`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `ClientEntity` | `getClient()`
    `RoleEntity` | `getRole()`
    `int` | `hashCode()`

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

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

- - ### Field Detail

    - #### client

          protected ClientEntity client

    - #### role

          protected RoleEntity role

  - ### Constructor Detail

    - #### ScopeMappingEntity.Key

          public ScopeMappingEntity.Key()

    - #### ScopeMappingEntity.Key

          public ScopeMappingEntity.Key(ClientEntity client,
                                RoleEntity role)

  - ### Method Detail

    - #### getClient

          public ClientEntity getClient()

    - #### getRole

          public RoleEntity getRole()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2015. All Rights Reserved.