org.keycloak.models.jpa.entities

## Class UserRoleMappingEntity

- java.lang.Object
- - org.keycloak.models.jpa.entities.UserRoleMappingEntity

-     @Entity
      public class UserRoleMappingEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `UserRoleMappingEntity.Key`

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserRoleMappingEntity()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getRoleId()`
    `UserEntity` | `getUser()`
    `int` | `hashCode()`
    `void` | `setRoleId(String roleId)`
    `void` | `setUser(UserEntity user)`

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

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

- - ### Field Detail

    - #### user

          protected UserEntity user

    - #### roleId

          protected String roleId

  - ### Constructor Detail

    - #### UserRoleMappingEntity

          public UserRoleMappingEntity()

  - ### Method Detail

    - #### getUser

          public UserEntity getUser()

    - #### setUser

          public void setUser(UserEntity user)

    - #### getRoleId

          public String getRoleId()

    - #### setRoleId

          public void setRoleId(String roleId)

    - #### equals

          public boolean equals(Object o)

      Overrides:
        `equals` in class `Object`

    - #### hashCode

          public int hashCode()

      Overrides:
        `hashCode` in class `Object`

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