Class TransferGroup

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

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

    • TRG_ACTIVE

      protected boolean TRG_ACTIVE
      The trg active.
    • TRG_COMMENT

      protected String TRG_COMMENT
      The trg comment.
    • TRG_NAME

      protected String TRG_NAME
      The trg name.
    • TRG_CLUSTER_NAME

      protected String TRG_CLUSTER_NAME
      The trg cluster name.
    • TRG_CLUSTER_WEIGHT

      protected Integer TRG_CLUSTER_WEIGHT
      The trg cluster weight.
    • TRG_REPLICATE

      protected boolean TRG_REPLICATE
      The trg replicate.
    • TRG_FILTER

      protected boolean TRG_FILTER
      The trg filter.
    • TRG_BACKUP

      protected boolean TRG_BACKUP
      The trg backup.
    • TRG_MIN_REPLICATION_COUNT

      protected int TRG_MIN_REPLICATION_COUNT
      The trg min replication count.
    • TRG_MIN_FILTERING_COUNT

      protected int TRG_MIN_FILTERING_COUNT
      The trg min filtering count.
    • TRG_VOLUME_COUNT

      protected int TRG_VOLUME_COUNT
      The trg volume count.
    • HOS_NAME_FOR_BACKUP

      protected Integer HOS_NAME_FOR_BACKUP
      The hos name for backup.
    • hostForBackup

      protected Host hostForBackup
      The host for backup.
  • Constructor Details

    • TransferGroup

      public TransferGroup()
      Instantiates a new transfer group.
    • TransferGroup

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

    • getMinReplicationCount

      public int getMinReplicationCount()
      Gets the min replication count.
      Returns:
      the min replication count
    • setMinReplicationCount

      public void setMinReplicationCount(int param)
      Sets the min replication count.
      Parameters:
      param - the new min replication count
    • getMinFilteringCount

      public int getMinFilteringCount()
      Gets the min filtering count.
      Returns:
      the min filtering count
    • setMinFilteringCount

      public void setMinFilteringCount(int param)
      Sets the min filtering count.
      Parameters:
      param - the new min filtering count
    • getVolumeCount

      public int getVolumeCount()
      Gets the volume count.
      Returns:
      the volume count
    • setVolumeCount

      public void setVolumeCount(int param)
      Sets the volume count.
      Parameters:
      param - the new volume count
    • 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
    • getBackup

      public boolean getBackup()
      Gets the backup.
      Returns:
      the backup
    • setBackup

      public void setBackup(boolean param)
      Sets the backup.
      Parameters:
      param - the new backup
    • setBackup

      public void setBackup(String param)
      Sets the backup.
      Parameters:
      param - the new backup
    • getFilter

      public boolean getFilter()
      Gets the filter.
      Returns:
      the filter
    • setFilter

      public void setFilter(boolean param)
      Sets the filter.
      Parameters:
      param - the new filter
    • setFilter

      public void setFilter(String param)
      Sets the filter.
      Parameters:
      param - the new filter
    • getComment

      public String getComment()
      Gets the comment.
      Returns:
      the comment
    • setComment

      public void setComment(String param)
      Sets the comment.
      Parameters:
      param - the new comment
    • getName

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

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

      public String getClusterName()
      Gets the cluster name.
      Returns:
      the cluster name
    • setClusterName

      public void setClusterName(String param)
      Sets the cluster name.
      Parameters:
      param - the new cluster name
    • getHostForBackupName

      public String getHostForBackupName()
      Gets the host for backup name.
      Returns:
      the host for backup name
    • setHostForBackupName

      public void setHostForBackupName(String param)
      Sets the host for backup name.
      Parameters:
      param - the new host for backup name
    • getClusterWeight

      public Integer getClusterWeight()
      Gets the cluster weight.
      Returns:
      the cluster weight
    • setClusterWeight

      public void setClusterWeight(Integer param)
      Sets the cluster weight.
      Parameters:
      param - the new cluster weight
    • getHostForBackup

      public Host getHostForBackup()
      Gets the host for backup.
      Returns:
      the host for backup
    • setHostForBackup

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

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

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