|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sourceforge.apphere.Session
Field Summary | |
static java.lang.String |
EMAIL
|
static java.lang.String |
WEB
|
static java.lang.String |
WORD
|
Constructor Summary | |
Session()
|
|
Session(int session_id)
|
Method Summary | |
int |
compareTo(java.lang.Object anotherSession)
|
VirtualApplication |
createApp()
|
byte[] |
getContent()
Returns the content. |
java.lang.String |
getLocation()
Returns the location. |
java.lang.String |
getMetadata()
Returns the metadata. |
java.lang.String |
getName()
Returns the name. |
int |
getSessID()
Returns the id. |
java.lang.String |
getSessType()
Returns the type. |
void |
mergeSessions(Session newVals)
|
java.lang.String |
readMetadataAttribute(java.lang.String name)
Method toServerSession. |
org.xml.sax.Attributes |
readMetadataAttributes()
|
void |
setContent(byte[] content)
Sets the content. |
void |
setLocation(java.lang.String location)
Sets the location. |
void |
setMetadata(java.lang.String metadata)
Sets the metadata. |
void |
setName(java.lang.String name)
Sets the name. |
void |
setSessID(int id)
Sets the id. |
void |
setSessType(java.lang.String type)
Sets the type. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final transient java.lang.String WEB
public static final transient java.lang.String EMAIL
public static final transient java.lang.String WORD
Constructor Detail |
public Session()
public Session(int session_id)
Method Detail |
public java.lang.String toString()
public byte[] getContent()
getContent
in interface AppHereSession
public void setLocation(java.lang.String location) throws AppHereException
setLocation
in interface AppHereSession
location
- The location to set
AppHereException
public java.lang.String getLocation()
getLocation
in interface AppHereSession
public java.lang.String getName()
getName
in interface AppHereSession
public void setName(java.lang.String name)
setName
in interface AppHereSession
name
- The name to setpublic void setContent(byte[] content)
setContent
in interface AppHereSession
content
- The content to setpublic java.lang.String getSessType()
getSessType
in interface AppHereSession
public void setSessType(java.lang.String type)
setSessType
in interface AppHereSession
type
- The type to setpublic java.lang.String getMetadata()
getMetadata
in interface AppHereSession
public void setMetadata(java.lang.String metadata)
setMetadata
in interface AppHereSession
metadata
- The metadata to setpublic int getSessID()
getSessID
in interface AppHereSession
public void setSessID(int id)
setSessID
in interface AppHereSession
id
- The id to setpublic int compareTo(java.lang.Object anotherSession) throws java.lang.ClassCastException
compareTo
in interface java.lang.Comparable
java.lang.ClassCastException
public java.lang.String readMetadataAttribute(java.lang.String name)
readMetadataAttribute
in interface AppHereSession
public org.xml.sax.Attributes readMetadataAttributes() throws org.xml.sax.SAXException
readMetadataAttributes
in interface AppHereSession
org.xml.sax.SAXException
public void mergeSessions(Session newVals)
mergeSessions
in interface AppHereSession
public VirtualApplication createApp()
createApp
in interface AppHereSession
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |