|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.spds.SyncItem
public class SyncItem
This class is a container for the items exchanged between the SyncManager and the SyncSources
Field Summary | |
---|---|
static char |
STATE_DELETED
|
static char |
STATE_NEW
|
static char |
STATE_UNDEF
|
static char |
STATE_UPDATED
|
Constructor Summary | |
---|---|
SyncItem(java.lang.String key)
Basic constructor. |
|
SyncItem(java.lang.String key,
java.lang.String type,
char state,
java.lang.String parent,
byte[] content)
Full contructor. |
|
SyncItem(SyncItem that)
Copy constructor. |
Method Summary | |
---|---|
java.lang.Object |
getClientRepresentation()
Get the client representation of this item (maybe null) |
byte[] |
getContent()
Get the content of this item |
java.lang.String |
getKey()
Get the current key |
java.lang.String |
getParent()
Get the item parent |
char |
getState()
Get the item state |
java.lang.String |
getType()
Get the item type |
void |
setClientRepresentation(java.lang.Object clientRepresentation)
Set the client representation of this item (maybe null) |
void |
setContent(byte[] content)
Set the content of this item |
void |
setKey(java.lang.String key)
Set the current key |
void |
setParent(java.lang.String parent)
Set the item parent |
void |
setState(char state)
Set the item state |
void |
setType(java.lang.String type)
Set the item type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final char STATE_NEW
public static final char STATE_UPDATED
public static final char STATE_DELETED
public static final char STATE_UNDEF
Constructor Detail |
---|
public SyncItem(java.lang.String key)
public SyncItem(java.lang.String key, java.lang.String type, char state, java.lang.String parent, byte[] content)
public SyncItem(SyncItem that)
Method Detail |
---|
public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getType()
public void setType(java.lang.String type)
public char getState()
public void setState(char state)
public java.lang.String getParent()
public void setParent(java.lang.String parent)
public byte[] getContent()
public void setContent(byte[] content)
public java.lang.Object getClientRepresentation()
public void setClientRepresentation(java.lang.Object clientRepresentation)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |