org.keycloak.models.jpa.entities

## Class AbstractRoleMappingEntity

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

- Direct Known Subclasses:
    UserRoleMappingEntity

      @MappedSuperclass
      public class AbstractRoleMappingEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `id`
    `protected RoleEntity` | `role`
    `protected UserEntity` | `user`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `AbstractRoleMappingEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getId()`
    `RoleEntity` | `getRole()`
    `UserEntity` | `getUser()`
    `void` | `setId(String id)`
    `void` | `setRole(RoleEntity role)`
    `void` | `setUser(UserEntity user)`

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

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

- - ### Field Detail

    - #### id

          protected String id

    - #### user

          protected UserEntity user

    - #### role

          protected RoleEntity role

  - ### Constructor Detail

    - #### AbstractRoleMappingEntity

          public AbstractRoleMappingEntity()

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getUser

          public UserEntity getUser()

    - #### setUser

          public void setUser(UserEntity user)

    - #### getRole

          public RoleEntity getRole()

    - #### setRole

          public void setRole(RoleEntity role)

Copyright © 2014. All Rights Reserved.