public class Session extends Entity implements Serializable, Cloneable, JsonSerializable
| Modifier and Type | Class and Description |
|---|---|
class |
Session.SessionCollection |
| Modifier and Type | Field and Description |
|---|---|
Boolean |
active |
Map<String,String> |
attributeNames |
Map<String,String> |
attributes |
Date |
creationTime |
Date |
currentTime |
String |
id |
Date |
lastAccessedTime |
Integer |
maxInactiveInterval |
String |
userEid |
String |
userId |
entityReference, entityURL| Constructor and Description |
|---|
Session(Boolean active,
Map<String,String> attributeNames,
Map<String,String> attributes,
Date creationTime,
Date currentTime,
Date lastAccessedTime,
Integer maxInactiveInterval,
String userEid,
String userId,
String id,
String entityReference,
URL entityURL) |
| Modifier and Type | Method and Description |
|---|---|
Session |
clone() |
boolean |
equals(Object object) |
int |
hashCode() |
com.google.gson.JsonObject |
toJsonObject()
Creates the JsonObject of the Entity
|
@NotNull public final Boolean active
@NotNull public final Date creationTime
@NotNull public final Date currentTime
@NotNull public final Date lastAccessedTime
@NotNull public final Integer maxInactiveInterval
@Nullable public final String userEid
@Nullable public final String userId
@Nullable public final String id
public Session(@NotNull
Boolean active,
@NotNull
Map<String,String> attributeNames,
@Nullable
Map<String,String> attributes,
@NotNull
Date creationTime,
@NotNull
Date currentTime,
@NotNull
Date lastAccessedTime,
@NotNull
Integer maxInactiveInterval,
@Nullable
String userEid,
@Nullable
String userId,
@Nullable
String id,
@NotNull
String entityReference,
@NotNull
URL entityURL)
@NotNull public Session clone() throws CloneNotSupportedException
clone in class EntityCloneNotSupportedException@NotNull public com.google.gson.JsonObject toJsonObject()
EntitytoJsonObject in interface JsonSerializabletoJsonObject in class EntityCopyright © 2016. All rights reserved.