Class TransferGroup
java.lang.Object
ecmwf.common.database.DataBaseObject
ecmwf.common.database.TransferGroup
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IntegerThe hos name for backup.protected HostThe host for backup.protected booleanThe trg active.protected booleanThe trg backup.protected StringThe trg cluster name.protected IntegerThe trg cluster weight.protected StringThe trg comment.protected booleanThe trg filter.protected intThe trg min filtering count.protected intThe trg min replication count.protected StringThe trg name.protected booleanThe trg replicate.protected intThe trg volume count.Fields inherited from class ecmwf.common.database.DataBaseObject
collectionSize, TAG_ACROSS_MULTIPLE_LINES, TAG_END_OF_LINES -
Constructor Summary
ConstructorsConstructorDescriptionInstantiates a new transfer group.TransferGroup(String name) Instantiates a new transfer group. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.booleanGets the active.booleanGets the backup.Gets the cluster name.Gets the cluster weight.Gets the comment.booleanGets the filter.Gets the host for backup.Gets the host for backup name.intGets the min filtering count.intGets the min replication count.getName()Gets the name.booleanGets the replicate.intGets the volume count.inthashCode()Hash code.voidsetActive(boolean param) Sets the active.voidSets the active.voidsetBackup(boolean param) Sets the backup.voidSets the backup.voidsetClusterName(String param) Sets the cluster name.voidsetClusterWeight(Integer param) Sets the cluster weight.voidsetComment(String param) Sets the comment.voidsetFilter(boolean param) Sets the filter.voidSets the filter.voidsetHostForBackup(Host param) Sets the host for backup.voidsetHostForBackupName(String param) Sets the host for backup name.voidsetMinFilteringCount(int param) Sets the min filtering count.voidsetMinReplicationCount(int param) Sets the min replication count.voidSets the name.voidsetReplicate(boolean param) Sets the replicate.voidsetReplicate(String param) Sets the replicate.voidsetVolumeCount(int param) Sets the volume count.Methods inherited from class ecmwf.common.database.DataBaseObject
bigDecimalToTimestamp, clone, compare, compare, getCollectionSize, integerToInt, integerToString, setCollectionSize, strim, stringToInteger, stringToLong, stringToString, timestampToBigDecimal, toString, toString, toString, toString
-
Field Details
-
TRG_ACTIVE
protected boolean TRG_ACTIVEThe trg active. -
TRG_COMMENT
The trg comment. -
TRG_NAME
The trg name. -
TRG_CLUSTER_NAME
The trg cluster name. -
TRG_CLUSTER_WEIGHT
The trg cluster weight. -
TRG_REPLICATE
protected boolean TRG_REPLICATEThe trg replicate. -
TRG_FILTER
protected boolean TRG_FILTERThe trg filter. -
TRG_BACKUP
protected boolean TRG_BACKUPThe trg backup. -
TRG_MIN_REPLICATION_COUNT
protected int TRG_MIN_REPLICATION_COUNTThe trg min replication count. -
TRG_MIN_FILTERING_COUNT
protected int TRG_MIN_FILTERING_COUNTThe trg min filtering count. -
TRG_VOLUME_COUNT
protected int TRG_VOLUME_COUNTThe trg volume count. -
HOS_NAME_FOR_BACKUP
The hos name for backup. -
hostForBackup
The host for backup.
-
-
Constructor Details
-
TransferGroup
public TransferGroup()Instantiates a new transfer group. -
TransferGroup
-
-
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
-
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
-
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
-
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
-
getComment
-
setComment
-
getName
-
setName
-
getClusterName
-
setClusterName
Sets the cluster name.- Parameters:
param- the new cluster name
-
getHostForBackupName
Gets the host for backup name.- Returns:
- the host for backup name
-
setHostForBackupName
Sets the host for backup name.- Parameters:
param- the new host for backup name
-
getClusterWeight
-
setClusterWeight
Sets the cluster weight.- Parameters:
param- the new cluster weight
-
getHostForBackup
-
setHostForBackup
Sets the host for backup.- Parameters:
param- the new host for backup
-
hashCode
-
equals
-