public class SyncClient
extends java.lang.Object
| Constructor and Description |
|---|
SyncClient() |
| Modifier and Type | Method and Description |
|---|---|
int |
getId() |
java.util.Date |
getLastSync() |
java.lang.String |
getName() |
int |
getPeriod()
Get the refresh period in number of seconds
|
int |
getRid() |
java.lang.String |
getServerHost() |
java.lang.String |
getServerSet() |
int |
getSid() |
boolean |
isActive() |
boolean |
isAllowPull() |
boolean |
isAllowPush() |
void |
setActive(boolean active) |
void |
setAllowPull(boolean allowPull) |
void |
setAllowPush(boolean allowPush) |
void |
setId(int id) |
void |
setLastSync(java.util.Date lastSync) |
void |
setName(java.lang.String name) |
void |
setPeriod(int period)
Set the refresh period in number of seconds
|
void |
setRid(int rid) |
void |
setServerHost(java.lang.String serverHost) |
void |
setServerSet(java.lang.String serverSet) |
void |
setSid(int sid) |
public int getId()
public void setId(int id)
id - the id to setpublic java.lang.String getName()
public void setName(java.lang.String name)
name - the name to setpublic int getRid()
public void setRid(int rid)
rid - the rid to setpublic int getSid()
public void setSid(int sid)
sid - the sid to setpublic java.lang.String getServerHost()
public void setServerHost(java.lang.String serverHost)
serverHost - the serverHost to setpublic java.lang.String getServerSet()
public void setServerSet(java.lang.String serverSet)
serverSet - the serverSet to setpublic boolean isActive()
public void setActive(boolean active)
active - the active to setpublic boolean isAllowPush()
public void setAllowPush(boolean allowPush)
allowPush - the allowPush to setpublic boolean isAllowPull()
public void setAllowPull(boolean allowPull)
allowPull - the allowPull to setpublic int getPeriod()
public void setPeriod(int period)
period - the period to setpublic java.util.Date getLastSync()
public void setLastSync(java.util.Date lastSync)
lastSync - the lastSync to set