org.keycloak.models.jpa.entities

## Class UserGroupMembershipEntity

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

-     @Entity
      public class UserGroupMembershipEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Nested Class Summary

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

  - ### Field Summary

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

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `UserGroupMembershipEntity()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `equals(Object o)`
    `String` | `getGroupId()`
    `UserEntity` | `getUser()`
    `int` | `hashCode()`
    `void` | `setGroupId(String groupId)`
    `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

    - #### groupId

          protected String groupId

  - ### Constructor Detail

    - #### UserGroupMembershipEntity

          public UserGroupMembershipEntity()

  - ### Method Detail

    - #### getUser

          public UserEntity getUser()

    - #### setUser

          public void setUser(UserEntity user)

    - #### getGroupId

          public String getGroupId()

    - #### setGroupId

          public void setGroupId(String groupId)

    - #### 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.