edu.ucsb.nceas.metacat
Class ReplicationServer

java.lang.Object
  |
  +--edu.ucsb.nceas.metacat.ReplicationServer

public class ReplicationServer
extends java.lang.Object

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

ReplicationServer

public ReplicationServer()
Consturctor of ReplicationServer
Method Detail

getServerName

public java.lang.String getServerName()
Get server name

setServerName

public void setServerName(java.lang.String myServerName)
Set a sting as server name
Parameters:
myServerName, - the string will set to object's serverName

getLastCheckedDate

public java.lang.String getLastCheckedDate()
Get last checked date

setLastCheckedDate

public void setLastCheckedDate(java.lang.String myLastCheckedDate)
Set a string as last checked date

getReplication

public boolean getReplication()
Get replication xml or not option

setReplication

public void setReplication(boolean myReplication)
Set replication option
Parameters:
myReplication, - the option will set to object's replication

getDataReplication

public boolean getDataReplication()
Get datareplication xml or not option

setDataReplication

public void setDataReplication(boolean myDataReplication)
Set data replication option
Parameters:
myDataReplication, - the option will set to object's datareplication

getHub

public boolean getHub()
Get hub option

setHub

public void setHub(boolean myHub)
Set hub option
Parameters:
myHub, - the option will set to object's hub option


Copyright © 2000 National Center for Ecological Analysis and Synthesis. All Rights Reserved.