public class SyncServer
extends java.lang.Object
Constructor and Description |
---|
SyncServer() |
SyncServer(int id,
java.lang.String name,
int rid,
int sid,
boolean active,
boolean allowPush,
boolean allowPull) |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
java.lang.String |
getName() |
int |
getRid() |
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 |
setName(java.lang.String name) |
void |
setRid(int rid) |
void |
setSid(int sid) |
public SyncServer()
public SyncServer(int id, java.lang.String name, int rid, int sid, boolean active, boolean allowPush, boolean allowPull)
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 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 set