org.keycloak.storage.jpa.entity

## Class FederatedUserRoleMappingEntity.Key

- java.lang.Object
- - org.keycloak.storage.jpa.entity.FederatedUserRoleMappingEntity.Key

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    FederatedUserRoleMappingEntity

      public static class FederatedUserRoleMappingEntity.Key
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `roleId`
    `protected String` | `userId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Key()`
    `Key(String userId, String roleId)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getRoleId()`
    `String` | `getUserId()`
    `int` | `hashCode()`

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

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

- - ### Field Detail

    - #### userId

          protected String userId

    - #### roleId

          protected String roleId

  - ### Constructor Detail

    - #### Key

          public Key()

    - #### Key

          public Key(String userId,
                     String roleId)

  - ### Method Detail

    - #### getUserId

          public String getUserId()

    - #### getRoleId

          public String getRoleId()

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

Copyright © 2016 JBoss by Red Hat. All rights reserved.