org.keycloak.models.sessions.jpa.entities

## Class ClientSessionEntity

- java.lang.Object
- - org.keycloak.models.sessions.jpa.entities.ClientSessionEntity

-     @Entity
      public class ClientSessionEntity
      extends Object

  Version:
    $Revision: 1 $
  Author:
    Bill Burke

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `protected ClientSessionModel.Action` | `action`
    `protected String` | `clientId`
    `protected String` | `id`
    `protected String` | `redirectUri`
    `protected Collection<ClientSessionRoleEntity>` | `roles`
    `protected UserSessionEntity` | `session`
    `protected String` | `state`
    `protected int` | `timestamp`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClientSessionEntity()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `ClientSessionModel.Action` | `getAction()`
    `String` | `getClientId()`
    `String` | `getId()`
    `String` | `getRedirectUri()`
    `Collection<ClientSessionRoleEntity>` | `getRoles()`
    `UserSessionEntity` | `getSession()`
    `String` | `getState()`
    `int` | `getTimestamp()`
    `void` | `setAction(ClientSessionModel.Action action)`
    `void` | `setClientId(String clientId)`
    `void` | `setId(String id)`
    `void` | `setRedirectUri(String redirectUri)`
    `void` | `setRoles(Collection<ClientSessionRoleEntity> roles)`
    `void` | `setSession(UserSessionEntity session)`
    `void` | `setState(String state)`
    `void` | `setTimestamp(int timestamp)`

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

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

- - ### Field Detail

    - #### id

          protected String id

    - #### session

          protected UserSessionEntity session

    - #### clientId

          protected String clientId

    - #### timestamp

          protected int timestamp

    - #### redirectUri

          protected String redirectUri

    - #### state

          protected String state

    - #### action

          protected ClientSessionModel.Action action

    - #### roles

          protected Collection<ClientSessionRoleEntity> roles

  - ### Constructor Detail

    - #### ClientSessionEntity

          public ClientSessionEntity()

  - ### Method Detail

    - #### getId

          public String getId()

    - #### setId

          public void setId(String id)

    - #### getSession

          public UserSessionEntity getSession()

    - #### setSession

          public void setSession(UserSessionEntity session)

    - #### getClientId

          public String getClientId()

    - #### setClientId

          public void setClientId(String clientId)

    - #### getTimestamp

          public int getTimestamp()

    - #### setTimestamp

          public void setTimestamp(int timestamp)

    - #### getRedirectUri

          public String getRedirectUri()

    - #### setRedirectUri

          public void setRedirectUri(String redirectUri)

    - #### getState

          public String getState()

    - #### setState

          public void setState(String state)

    - #### getAction

          public ClientSessionModel.Action getAction()

    - #### setAction

          public void setAction(ClientSessionModel.Action action)

    - #### getRoles

          public Collection<ClientSessionRoleEntity> getRoles()

    - #### setRoles

          public void setRoles(Collection<ClientSessionRoleEntity> roles)

Copyright © 2014. All Rights Reserved.