|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.funambol.syncml.protocol.SyncType
public class SyncType
This class corresponds to <SyncType> tag in SyncML devinfo DTD
Field Summary | |
---|---|
static SyncType[] |
ALL_SYNC_TYPES
|
static SyncType |
ONE_WAY_FROM_CLIENT
|
static SyncType |
ONE_WAY_FROM_SERVER
|
static SyncType |
REFRESH_FROM_CLIENT
|
static SyncType |
REFRESH_FROM_SERVER
|
static SyncType |
SERVER_ALERTED
|
static SyncType |
SLOW
|
static SyncType |
TWO_WAY
|
Constructor Summary | |
---|---|
SyncType()
In order to expose the server configuration like WS this constructor must be public |
|
SyncType(int syncType)
Creates a new SyncType object with syncType value |
Method Summary | |
---|---|
static SyncType |
getInstance(int syncType)
Gets the instance of synchronization type |
int |
getType()
Gets the synchronization type |
void |
setType(int syncType)
Sets the synchronization type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final SyncType TWO_WAY
public static final SyncType SLOW
public static final SyncType ONE_WAY_FROM_CLIENT
public static final SyncType REFRESH_FROM_CLIENT
public static final SyncType ONE_WAY_FROM_SERVER
public static final SyncType REFRESH_FROM_SERVER
public static final SyncType SERVER_ALERTED
public static final SyncType[] ALL_SYNC_TYPES
Constructor Detail |
---|
public SyncType()
public SyncType(int syncType)
syncType
- the value of SyncType - NOT NULLMethod Detail |
---|
public int getType()
public void setType(int syncType)
syncType
- the synchronization typepublic static final SyncType getInstance(int syncType)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |