K - the type of keys maintained by the attribute mapV - the type of mapped values *public interface Session<K,V> extends Serializable
| Modifier and Type | Method and Description |
|---|---|
V |
getAttributte(K key) |
Map<K,V> |
getAttributtes()
Returns the field
attributtes. |
String |
getId()
Returns the field
id. |
Date |
getLastAccess()
Returns the field
lastAccess. |
Locale |
getLocale()
Returns the field
locale. |
int |
getMaxInactiveTime()
Returns the field
maxInactiveTime. |
Date |
getStartTime()
Returns the field
startTime. |
User<Permission,Role<Permission>> |
getUser()
Returns the field
user. |
V |
setAttribute(K key,
V value) |
void |
setAttributtes(Map<K,V> attributtes)
Sets the field
attributtes. |
void |
setId(String id)
Sets the field
id. |
void |
setLastAccess(Date lastAccess)
Sets the field
lastAccess. |
void |
setLocale(Locale locale)
Sets the field
locale. |
void |
setMaxInactiveTime(int maxInactiveTime)
Sets the field
maxInactiveTime. |
void |
setStartTime(Date startTime)
Sets the field
startTime. |
void |
setUser(User<Permission,Role<Permission>> user)
Sets the field
user. |
String getId()
id.id.void setId(String id)
id.id - The id to setLocale getLocale()
locale.locale.void setLocale(Locale locale)
locale.locale - The locale to setDate getStartTime()
startTime.startTime.void setStartTime(Date startTime)
startTime.startTime - The startTime to setUser<Permission,Role<Permission>> getUser()
user.user.void setUser(User<Permission,Role<Permission>> user)
user.user - The user to set.Date getLastAccess()
lastAccess.lastAccess.void setLastAccess(Date lastAccess)
lastAccess.lastAccess - The lastAccess to setint getMaxInactiveTime()
maxInactiveTime.maxInactiveTime.void setMaxInactiveTime(int maxInactiveTime)
maxInactiveTime.maxInactiveTime - The maxInactiveTime to setMap<K,V> getAttributtes()
attributtes.attributtes.Copyright © 2007–2015 Alpha Ro Group UG (haftungsbeschrÀngt). All rights reserved.