org.keycloak.models.jpa.session

## Class PersistentUserSessionEntity.Key

- java.lang.Object
- - org.keycloak.models.jpa.session.PersistentUserSessionEntity.Key

- All Implemented Interfaces:
    Serializable
  Enclosing class:
    PersistentUserSessionEntity

      public static class PersistentUserSessionEntity.Key
      extends Object
      implements Serializable

  See Also:
    Serialized Form

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected String` | `offline`
    `protected String` | `userSessionId`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `Key()`
    `Key(String userSessionId, String offline)`

  - ### Method Summary

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

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

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

- - ### Field Detail

    - #### userSessionId

          protected String userSessionId

    - #### offline

          protected String offline

  - ### Constructor Detail

    - #### Key

          public Key()

    - #### Key

          public Key(String userSessionId,
                     String offline)

  - ### Method Detail

    - #### getUserSessionId

          public String getUserSessionId()

    - #### getOffline

          public String getOffline()

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