public class ApplicationSession extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
LAST_ACCESSED_BY_IP
The Constant LAST_ACCESSED_BY_IP.
|
static String |
LAST_ACCESSED_LOCALE
The Constant LAST_ACCESSED_LOCALE.
|
| Constructor and Description |
|---|
ApplicationSession() |
| Modifier and Type | Method and Description |
|---|---|
void |
addAttribute(Attribute sa)
Adds the attribute.
|
long |
getAge()
Gets the age.
|
String |
getApplicationName()
Gets the application name.
|
List<Attribute> |
getAttributes()
Gets the attributes.
|
Date |
getCreationTime()
Gets the creation time.
|
Date |
getExpiryTime()
Gets the expiry time.
|
String |
getId()
Gets the id.
|
long |
getIdleTime()
Gets the idle time.
|
String |
getInfo()
Gets the info.
|
String |
getLastAccessedIp()
Gets the last accessed ip.
|
Locale |
getLastAccessedIpLocale()
Gets the last accessed ip locale.
|
Date |
getLastAccessTime()
Gets the last access time.
|
String |
getManagerType()
Gets the manager type.
|
int |
getMaxIdleTime()
Gets the max idle time.
|
long |
getObjectCount()
Gets the object count.
|
long |
getSize()
Gets the size.
|
boolean |
isAllowedToViewValues()
Checks if is allowed to view values.
|
boolean |
isSerializable()
Checks if is serializable.
|
boolean |
isValid()
Checks if is valid.
|
void |
setAllowedToViewValues(boolean allowedToViewValues)
Sets the allowed to view values.
|
void |
setApplicationName(String applicationName)
Sets the application name.
|
void |
setAttributes(List<Attribute> attributes)
Sets the attributes.
|
void |
setCreationTime(Date creationTime)
Sets the creation time.
|
void |
setId(String id)
Sets the id.
|
void |
setInfo(String info)
Sets the info.
|
void |
setLastAccessedIp(String lastAccessedIp)
Sets the last accessed ip.
|
void |
setLastAccessedIpLocale(Locale lastAccessedIpLocale)
Sets the last accessed ip locale.
|
void |
setLastAccessTime(Date lastAccessTime)
Sets the last access time.
|
void |
setManagerType(String managerType)
Sets the manager type.
|
void |
setMaxIdleTime(int maxIdleTime)
Sets the max idle time.
|
void |
setObjectCount(long objectCount)
Sets the object count.
|
void |
setSerializable(boolean serializable)
Sets the serializable.
|
void |
setSize(long size)
Sets the size.
|
void |
setValid(boolean valid)
Sets the valid.
|
public static final String LAST_ACCESSED_BY_IP
public static final String LAST_ACCESSED_LOCALE
public String getId()
public void setId(String id)
id - the new idpublic String getApplicationName()
public void setApplicationName(String applicationName)
applicationName - the new application namepublic Date getCreationTime()
public void setCreationTime(Date creationTime)
creationTime - the new creation timepublic Date getLastAccessTime()
public void setLastAccessTime(Date lastAccessTime)
lastAccessTime - the new last access timepublic int getMaxIdleTime()
public void setMaxIdleTime(int maxIdleTime)
maxIdleTime - the new max idle timepublic boolean isValid()
public void setValid(boolean valid)
valid - the new validpublic long getObjectCount()
public void setObjectCount(long objectCount)
objectCount - the new object countpublic void setAttributes(List<Attribute> attributes)
attributes - the new attributespublic void addAttribute(Attribute sa)
sa - the sapublic String getInfo()
public void setInfo(String info)
info - the new infopublic String getManagerType()
public void setManagerType(String managerType)
managerType - the new manager typepublic long getAge()
public long getIdleTime()
public Date getExpiryTime()
public boolean isSerializable()
public void setSerializable(boolean serializable)
serializable - the new serializablepublic long getSize()
public void setSize(long size)
size - the new sizepublic boolean isAllowedToViewValues()
public void setAllowedToViewValues(boolean allowedToViewValues)
allowedToViewValues - the new allowed to view valuespublic String getLastAccessedIp()
public void setLastAccessedIp(String lastAccessedIp)
lastAccessedIp - the new last accessed ippublic Locale getLastAccessedIpLocale()
public void setLastAccessedIpLocale(Locale lastAccessedIpLocale)
lastAccessedIpLocale - the new last accessed ip localeCopyright © 2009–2020 psi-probe. All rights reserved.