Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

org.openmobileis.synchro.openmsp.protocol.Item Class Reference

Inheritance diagram for org.openmobileis.synchro.openmsp.protocol.Item:

org.openmobileis.synchro.openmsp.protocol.Element org.openmobileis.common.util.OpenMISSerializable org.openmobileis.synchro.openmsp.protocol.DataItem List of all members.

Detailed Description

Title: OpenMobileIS project source
Description: Item used for Request commands and Result command which have not to manage data.

(For instance Map command) If an item contains data, use DataItem

Author:
Philippe Delrieu
Since:
JDK 1.1
Version:
1.0.
See also:
: DataItem

Definition at line 38 of file Item.java.

Public Member Functions

 Item (int itemType, String source, String target)
int getCmdId ()
boolean hasCommmandId ()
String getSource ()
long getSourceSessionID ()
 return the optional sessionID of source element.
String getTarget ()
int getElementType ()
String toString ()
void setTarget (String target)
void setSource (String source)
void setSourceSessionID (long sessionid)
void setElementType (int elementType)
void setCmdId (int cmdId)
void setCredentialData (String data)
void setCredentialMeta (String meta)
void setMetaInformation (String meta)
void setCmdRef (int cmdRef)
void setSourceRef (String source)
void setTargetRef (String target)
void setData (String data)
void writeBeginTag (StringBuffer buffer)
void writeContent (StringBuffer buffer)
void writeEndTag (StringBuffer buffer)

Protected Member Functions

 Item (int itemType)

Protected Attributes

String target
String source
int itemType
long sessionID = -1

Static Package Attributes

static final long serialVersionUID = 5521257935120563452L
 Set version of the serialized data to make it compatible with new class versions.


Member Function Documentation

long org.openmobileis.synchro.openmsp.protocol.Item.getSourceSessionID  ) 
 

return the optional sessionID of source element.

If not present return -1.

Definition at line 74 of file Item.java.

References org.openmobileis.synchro.openmsp.protocol.Item.sessionID.


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:40 2005 for OpenMobileIS by  doxygen 1.4.4