Class TransferGroupBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.datafile.TransferGroupBean
- All Implemented Interfaces:
OjbImplementedBean,TransferGroup,ecmwf.web.model.ModelBean
public class TransferGroupBean
extends ecmwf.web.dao.ModelBeanBase
implements TransferGroup, OjbImplementedBean
The Class TransferGroupBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTransferGroupBean(TransferGroup transferGroup) Instantiates a new transfer group bean. -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds the transfer server.voidDelete transfer server.booleanEquals.booleanEquals.booleanGets the active.protected Collection<TransferServer> Gets the added transfer servers.booleanGets the backup.Gets the bean interface name.Gets the cluster name.intGets the cluster weight.Gets the comment.protected Collection<TransferServer> Gets the deleted transfer servers.booleanGets the filter.Gets the host for backup.Gets the host for backup name.getId()Gets the id.intGets the min filtering count.intGets the min replication count.getName()Gets the name.Gets the ojb implementation.booleanGets the replicate.Gets the transfer servers.intGets the volume count.inthashCode()Hash code.voidsetActive(boolean param) Sets the active.voidsetBackup(boolean param) Sets the backup.voidsetClusterName(String param) Sets the cluster name.voidsetClusterWeight(int param) Sets the cluster weight.voidsetComment(String param) Sets the comment.voidsetFilter(boolean param) Sets the filter.voidsetHostForBackupName(String name) 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.voidsetVolumeCount(int param) Sets the volume count.toString()To string.Methods inherited from class ecmwf.web.dao.ModelBeanBase
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setIdMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ecmwf.web.model.ModelBean
delete, delete, getAttributeValue, getIntId, insert, insert, isNew, save, save, setId
-
Constructor Details
-
TransferGroupBean
Instantiates a new transfer group bean.- Parameters:
transferGroup- the transfer group
-
-
Method Details
-
getHostForBackup
Gets the host for backup. Gets the host for backup.- Specified by:
getHostForBackupin interfaceTransferGroup- Returns:
- the host for backup
-
getHostForBackupName
Gets the host for backup name. Gets the host for backup name.- Specified by:
getHostForBackupNamein interfaceTransferGroup- Returns:
- the host for backup name
-
setHostForBackupName
Sets the host for backup name. Sets the host for backup name.- Specified by:
setHostForBackupNamein interfaceTransferGroup- Parameters:
name- the new host for backup name
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementationin interfaceOjbImplementedBean- Returns:
- the ojb implementation
-
getId
Gets the id.- Specified by:
getIdin interfaceecmwf.web.model.ModelBean- Overrides:
getIdin classecmwf.web.dao.ModelBeanBase
-
getMinFilteringCount
public int getMinFilteringCount()Gets the min filtering count. Gets the min filtering count.- Specified by:
getMinFilteringCountin interfaceTransferGroup- Returns:
- the min filtering count
-
getMinReplicationCount
public int getMinReplicationCount()Gets the min replication count. Gets the min replication count.- Specified by:
getMinReplicationCountin interfaceTransferGroup- Returns:
- the min replication count
-
getClusterWeight
public int getClusterWeight()Gets the cluster weight. Gets the cluster weight.- Specified by:
getClusterWeightin interfaceTransferGroup- Returns:
- the cluster weight
-
getVolumeCount
public int getVolumeCount()Gets the volume count. Gets the volume count.- Specified by:
getVolumeCountin interfaceTransferGroup- Returns:
- the volume count
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActivein interfaceTransferGroup- Returns:
- the active
-
getBackup
public boolean getBackup()Gets the backup. Gets the backup.- Specified by:
getBackupin interfaceTransferGroup- Returns:
- the backup
-
getReplicate
public boolean getReplicate()Gets the replicate. Gets the replicate.- Specified by:
getReplicatein interfaceTransferGroup- Returns:
- the replicate
-
getFilter
public boolean getFilter()Gets the filter. Gets the filter.- Specified by:
getFilterin interfaceTransferGroup- Returns:
- the filter
-
getComment
Gets the comment. Gets the comment.- Specified by:
getCommentin interfaceTransferGroup- Returns:
- the comment
-
getName
Gets the name. Gets the name.- Specified by:
getNamein interfaceTransferGroup- Returns:
- the name
-
getClusterName
Gets the cluster name. Gets the cluster name.- Specified by:
getClusterNamein interfaceTransferGroup- Returns:
- the cluster name
-
getTransferServers
Gets the transfer servers. Gets the transfer servers.- Specified by:
getTransferServersin interfaceTransferGroup- Returns:
- the transfer servers
- Throws:
DataFileException- the data file exception
-
addTransferServer
Adds the transfer server. Adds the transfer server.- Specified by:
addTransferServerin interfaceTransferGroup- Parameters:
h- the s
-
deleteTransferServer
Delete transfer server. Delete transfer server.- Specified by:
deleteTransferServerin interfaceTransferGroup- Parameters:
h- the s
-
setMinFilteringCount
public void setMinFilteringCount(int param) Sets the min filtering count. Sets the min filtering count.- Specified by:
setMinFilteringCountin interfaceTransferGroup- Parameters:
param- the new min filtering count
-
setVolumeCount
public void setVolumeCount(int param) Sets the volume count. Sets the volume count.- Specified by:
setVolumeCountin interfaceTransferGroup- Parameters:
param- the new volume count
-
setMinReplicationCount
public void setMinReplicationCount(int param) Sets the min replication count. Sets the min replication count.- Specified by:
setMinReplicationCountin interfaceTransferGroup- Parameters:
param- the new min replication count
-
setClusterWeight
public void setClusterWeight(int param) Sets the cluster weight. Sets the cluster weight.- Specified by:
setClusterWeightin interfaceTransferGroup- Parameters:
param- the new cluster weight
-
setActive
public void setActive(boolean param) Sets the active. Sets the active.- Specified by:
setActivein interfaceTransferGroup- Parameters:
param- the new active
-
setReplicate
public void setReplicate(boolean param) Sets the replicate. Sets the replicate.- Specified by:
setReplicatein interfaceTransferGroup- Parameters:
param- the new replicate
-
setFilter
public void setFilter(boolean param) Sets the filter. Sets the filter.- Specified by:
setFilterin interfaceTransferGroup- Parameters:
param- the new filter
-
setBackup
public void setBackup(boolean param) Sets the backup. Sets the backup.- Specified by:
setBackupin interfaceTransferGroup- Parameters:
param- the new backup
-
setComment
Sets the comment. Sets the comment.- Specified by:
setCommentin interfaceTransferGroup- Parameters:
param- the new comment
-
setName
Sets the name. Sets the name.- Specified by:
setNamein interfaceTransferGroup- Parameters:
param- the new name
-
setClusterName
Sets the cluster name. Sets the cluster name.- Specified by:
setClusterNamein interfaceTransferGroup- Parameters:
param- the new cluster name
-
getAddedTransferServers
Gets the added transfer servers.- Returns:
- the added transfer servers
-
getDeletedTransferServers
Gets the deleted transfer servers.- Returns:
- the deleted transfer servers
-
equals
-
equals
Equals.- Parameters:
d- the d- Returns:
- true, if successful
-
hashCode
-
toString
-