org.keycloak.models.jpa.entities

## Class GroupRoleMappingEntity.Key

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

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    GroupRoleMappingEntity

      public static class GroupRoleMappingEntity.Key
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Key()`
    `Key(GroupEntity group, String roleId)`

  - ### Method Summary

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

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

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

- - ### Field Detail

    - #### group

          protected GroupEntity group

    - #### roleId

          protected String roleId

  - ### Constructor Detail

    - #### Key

          public Key()

    - #### Key

          public Key(GroupEntity group,
                     String roleId)

  - ### Method Detail

    - #### getGroup

          public GroupEntity getGroup()

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