|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--openfuture.bugbase.model.Session
Container for session data. Created: Sun Jul 02 11:35:01 2000
Constructor Summary | |
Session(java.lang.Object sessionKey)
Creates a new session. |
Method Summary | |
java.util.Date |
getCreationDate()
returns the creation date of the object. |
int |
getID()
Returns the session id. |
java.util.Date |
getLastAccess()
Get the value of lastAccess. |
java.lang.Integer |
getSessionID()
ID of the session (using hashCode() . |
java.lang.Object |
getSessionKey()
Get the value of sessionKey. |
java.lang.Object |
getValue(java.lang.String key)
Returns the object for the given key. |
int |
hashCode()
Returns the hashCode of SessionKey. |
void |
putValue(java.lang.String key,
java.lang.Object o)
Stores the object o for the given key in a Hashtable. |
void |
setLastAccess(java.util.Date v)
Set the value of lastAccess. |
void |
setSessionKey(java.lang.Object v)
Set the value of sessionKey. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public Session(java.lang.Object sessionKey)
sessionKey
- key to identify the sessionMethod Detail |
public int getID()
this.hashCode()
.public java.lang.Object getSessionKey()
public void setSessionKey(java.lang.Object v)
v
- Value to assign to sessionKey.public void putValue(java.lang.String key, java.lang.Object o)
key
- the object's keyo
- session objectpublic java.lang.Object getValue(java.lang.String key)
key
- the object's keypublic java.util.Date getCreationDate()
public java.util.Date getLastAccess()
public void setLastAccess(java.util.Date v)
v
- Value to assign to lastAccess.public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Integer getSessionID()
hashCode()
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |