|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--edu.ucsb.nceas.metacat.ReplicationServer
A class express a entry in xml_replication. It include server name, lastChechedDate, replication or not, dataReplication or not, hub or not
Constructor Summary | |
ReplicationServer()
Consturctor of ReplicationServer |
Method Summary | |
boolean |
getDataReplication()
Get datareplication xml or not option |
boolean |
getHub()
Get hub option |
java.lang.String |
getLastCheckedDate()
Get last checked date |
boolean |
getReplication()
Get replication xml or not option |
java.lang.String |
getServerName()
Get server name |
void |
setDataReplication(boolean myDataReplication)
Set data replication option |
void |
setHub(boolean myHub)
Set hub option |
void |
setLastCheckedDate(java.lang.String myLastCheckedDate)
Set a string as last checked date |
void |
setReplication(boolean myReplication)
Set replication option |
void |
setServerName(java.lang.String myServerName)
Set a sting as server name |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ReplicationServer()
Method Detail |
public java.lang.String getServerName()
public void setServerName(java.lang.String myServerName)
myServerName,
- the string will set to object's serverNamepublic java.lang.String getLastCheckedDate()
public void setLastCheckedDate(java.lang.String myLastCheckedDate)
public boolean getReplication()
public void setReplication(boolean myReplication)
myReplication,
- the option will set to object's replicationpublic boolean getDataReplication()
public void setDataReplication(boolean myDataReplication)
myDataReplication,
- the option will set to object's datareplicationpublic boolean getHub()
public void setHub(boolean myHub)
myHub,
- the option will set to object's hub option
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |