Inheritance diagram for org.openmobileis.synchro.openmsp.protocol.Item:
(For instance Map command) If an item contains data, use 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. |
|
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. |