Class TransferServer

java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.TransferServer
All Implemented Interfaces:
Serializable, Cloneable

public class TransferServer extends DataBaseObject
The Class TransferServer.
See Also:
  • Field Details

    • TRG_NAME

      protected String TRG_NAME
      The trg name.
    • TRS_REPLICATE

      protected boolean TRS_REPLICATE
      The trs replicate.
    • TRS_ACTIVE

      protected boolean TRS_ACTIVE
      The trs active.
    • TRS_CHECK

      protected boolean TRS_CHECK
      The trs check.
    • TRS_HOST

      protected String TRS_HOST
      The trs host.
    • TRS_LAST_UPDATE

      protected long TRS_LAST_UPDATE
      The trs last update.
    • TRS_MAX_INACTIVITY

      protected int TRS_MAX_INACTIVITY
      The trs max inactivity.
    • TRS_MAX_TRANSFERS

      protected Integer TRS_MAX_TRANSFERS
      The trs max transfers.
    • TRS_NAME

      protected String TRS_NAME
      The trs name.
    • TRS_PORT

      protected int TRS_PORT
      The trs port.
    • HOS_NAME_FOR_REPLICATION

      protected Integer HOS_NAME_FOR_REPLICATION
      The hos name for replication.
    • transferGroup

      protected TransferGroup transferGroup
      The transfer group.
    • hostForReplication

      protected Host hostForReplication
      The host for replication.
  • Constructor Details

    • TransferServer

      public TransferServer()
      Instantiates a new transfer server.
    • TransferServer

      public TransferServer(String name)
      Instantiates a new transfer server.
      Parameters:
      name - the name
  • Method Details

    • getTransferGroupName

      public String getTransferGroupName()
      Gets the transfer group name.
      Returns:
      the transfer group name
    • setTransferGroupName

      public void setTransferGroupName(String param)
      Sets the transfer group name.
      Parameters:
      param - the new transfer group name
    • getActive

      public boolean getActive()
      Gets the active.
      Returns:
      the active
    • setActive

      public void setActive(boolean param)
      Sets the active.
      Parameters:
      param - the new active
    • setActive

      public void setActive(String param)
      Sets the active.
      Parameters:
      param - the new active
    • getReplicate

      public boolean getReplicate()
      Gets the replicate.
      Returns:
      the replicate
    • setReplicate

      public void setReplicate(boolean param)
      Sets the replicate.
      Parameters:
      param - the new replicate
    • setReplicate

      public void setReplicate(String param)
      Sets the replicate.
      Parameters:
      param - the new replicate
    • getCheck

      public boolean getCheck()
      Gets the check.
      Returns:
      the check
    • setCheck

      public void setCheck(boolean param)
      Sets the check.
      Parameters:
      param - the new check
    • setCheck

      public void setCheck(String param)
      Sets the check.
      Parameters:
      param - the new check
    • getHost

      public String getHost()
      Gets the host.
      Returns:
      the host
    • setHost

      public void setHost(String param)
      Sets the host.
      Parameters:
      param - the new host
    • getLastUpdate

      public long getLastUpdate()
      Gets the last update.
      Returns:
      the last update
    • setLastUpdate

      public void setLastUpdate(long param)
      Sets the last update.
      Parameters:
      param - the new last update
    • setLastUpdate

      public void setLastUpdate(String param)
      Sets the last update.
      Parameters:
      param - the new last update
    • getMaxInactivity

      public int getMaxInactivity()
      Gets the max inactivity.
      Returns:
      the max inactivity
    • setMaxInactivity

      public void setMaxInactivity(int param)
      Sets the max inactivity.
      Parameters:
      param - the new max inactivity
    • setMaxInactivity

      public void setMaxInactivity(String param)
      Sets the max inactivity.
      Parameters:
      param - the new max inactivity
    • getMaxTransfers

      public Integer getMaxTransfers()
      Gets the max transfers.
      Returns:
      the max transfers
    • setMaxTransfers

      public void setMaxTransfers(Integer param)
      Sets the max transfers.
      Parameters:
      param - the new max transfers
    • setMaxTransfers

      public void setMaxTransfers(int param)
      Sets the max transfers.
      Parameters:
      param - the new max transfers
    • getMaxTransfers

      public int getMaxTransfers(int defaultValue)
      Gets the max transfers.
      Parameters:
      defaultValue - the default value
      Returns:
      the max transfers
    • getName

      public String getName()
      Gets the name.
      Returns:
      the name
    • setName

      public void setName(String param)
      Sets the name.
      Parameters:
      param - the new name
    • getHostForReplicationName

      public String getHostForReplicationName()
      Gets the host for replication name.
      Returns:
      the host for replication name
    • setHostForReplicationName

      public void setHostForReplicationName(String param)
      Sets the host for replication name.
      Parameters:
      param - the new host for replication name
    • getPort

      public int getPort()
      Gets the port.
      Returns:
      the port
    • setPort

      public void setPort(int param)
      Sets the port.
      Parameters:
      param - the new port
    • setPort

      public void setPort(String param)
      Sets the port.
      Parameters:
      param - the new port
    • getTransferGroup

      public TransferGroup getTransferGroup()
      Gets the transfer group.
      Returns:
      the transfer group
    • setTransferGroup

      public void setTransferGroup(TransferGroup param)
      Sets the transfer group.
      Parameters:
      param - the new transfer group
    • getHostForReplication

      public Host getHostForReplication()
      Gets the host for replication.
      Returns:
      the host for replication
    • setHostForReplication

      public void setHostForReplication(Host param)
      Sets the host for replication.
      Parameters:
      param - the new host for replication
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Equals.
      Overrides:
      equals in class Object