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
ConstructorsModifierConstructorDescriptionprotected
TransferGroupBean
(TransferGroup transferGroup) Instantiates a new transfer group bean. -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds the transfer server.void
Delete transfer server.boolean
Equals.boolean
Equals.boolean
Gets the active.protected Collection
<TransferServer> Gets the added transfer servers.boolean
Gets the backup.Gets the bean interface name.Gets the cluster name.int
Gets the cluster weight.Gets the comment.protected Collection
<TransferServer> Gets the deleted transfer servers.boolean
Gets the filter.Gets the host for backup.Gets the host for backup name.getId()
Gets the id.int
Gets the min filtering count.int
Gets the min replication count.getName()
Gets the name.Gets the ojb implementation.boolean
Gets the replicate.Gets the transfer servers.int
Gets the volume count.int
hashCode()
Hash code.void
setActive
(boolean param) Sets the active.void
setBackup
(boolean param) Sets the backup.void
setClusterName
(String param) Sets the cluster name.void
setClusterWeight
(int param) Sets the cluster weight.void
setComment
(String param) Sets the comment.void
setFilter
(boolean param) Sets the filter.void
setHostForBackupName
(String name) Sets the host for backup name.void
setMinFilteringCount
(int param) Sets the min filtering count.void
setMinReplicationCount
(int param) Sets the min replication count.void
Sets the name.void
setReplicate
(boolean param) Sets the replicate.void
setVolumeCount
(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, setId
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods 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:
getHostForBackup
in interfaceTransferGroup
- Returns:
- the host for backup
-
getHostForBackupName
Gets the host for backup name. Gets the host for backup name.- Specified by:
getHostForBackupName
in interfaceTransferGroup
- Returns:
- the host for backup name
-
setHostForBackupName
Sets the host for backup name. Sets the host for backup name.- Specified by:
setHostForBackupName
in interfaceTransferGroup
- Parameters:
name
- the new host for backup name
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getOjbImplementation
Gets the ojb implementation. Gets the ojb implementation.- Specified by:
getOjbImplementation
in interfaceOjbImplementedBean
- Returns:
- the ojb implementation
-
getId
Gets the id.- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getMinFilteringCount
public int getMinFilteringCount()Gets the min filtering count. Gets the min filtering count.- Specified by:
getMinFilteringCount
in interfaceTransferGroup
- Returns:
- the min filtering count
-
getMinReplicationCount
public int getMinReplicationCount()Gets the min replication count. Gets the min replication count.- Specified by:
getMinReplicationCount
in interfaceTransferGroup
- Returns:
- the min replication count
-
getClusterWeight
public int getClusterWeight()Gets the cluster weight. Gets the cluster weight.- Specified by:
getClusterWeight
in interfaceTransferGroup
- Returns:
- the cluster weight
-
getVolumeCount
public int getVolumeCount()Gets the volume count. Gets the volume count.- Specified by:
getVolumeCount
in interfaceTransferGroup
- Returns:
- the volume count
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActive
in interfaceTransferGroup
- Returns:
- the active
-
getBackup
public boolean getBackup()Gets the backup. Gets the backup.- Specified by:
getBackup
in interfaceTransferGroup
- Returns:
- the backup
-
getReplicate
public boolean getReplicate()Gets the replicate. Gets the replicate.- Specified by:
getReplicate
in interfaceTransferGroup
- Returns:
- the replicate
-
getFilter
public boolean getFilter()Gets the filter. Gets the filter.- Specified by:
getFilter
in interfaceTransferGroup
- Returns:
- the filter
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceTransferGroup
- Returns:
- the comment
-
getName
Gets the name. Gets the name.- Specified by:
getName
in interfaceTransferGroup
- Returns:
- the name
-
getClusterName
Gets the cluster name. Gets the cluster name.- Specified by:
getClusterName
in interfaceTransferGroup
- Returns:
- the cluster name
-
getTransferServers
Gets the transfer servers. Gets the transfer servers.- Specified by:
getTransferServers
in interfaceTransferGroup
- Returns:
- the transfer servers
- Throws:
DataFileException
- the data file exception
-
addTransferServer
Adds the transfer server. Adds the transfer server.- Specified by:
addTransferServer
in interfaceTransferGroup
- Parameters:
h
- the s
-
deleteTransferServer
Delete transfer server. Delete transfer server.- Specified by:
deleteTransferServer
in interfaceTransferGroup
- Parameters:
h
- the s
-
setMinFilteringCount
public void setMinFilteringCount(int param) Sets the min filtering count. Sets the min filtering count.- Specified by:
setMinFilteringCount
in interfaceTransferGroup
- Parameters:
param
- the new min filtering count
-
setVolumeCount
public void setVolumeCount(int param) Sets the volume count. Sets the volume count.- Specified by:
setVolumeCount
in 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:
setMinReplicationCount
in interfaceTransferGroup
- Parameters:
param
- the new min replication count
-
setClusterWeight
public void setClusterWeight(int param) Sets the cluster weight. Sets the cluster weight.- Specified by:
setClusterWeight
in interfaceTransferGroup
- Parameters:
param
- the new cluster weight
-
setActive
public void setActive(boolean param) Sets the active. Sets the active.- Specified by:
setActive
in interfaceTransferGroup
- Parameters:
param
- the new active
-
setReplicate
public void setReplicate(boolean param) Sets the replicate. Sets the replicate.- Specified by:
setReplicate
in interfaceTransferGroup
- Parameters:
param
- the new replicate
-
setFilter
public void setFilter(boolean param) Sets the filter. Sets the filter.- Specified by:
setFilter
in interfaceTransferGroup
- Parameters:
param
- the new filter
-
setBackup
public void setBackup(boolean param) Sets the backup. Sets the backup.- Specified by:
setBackup
in interfaceTransferGroup
- Parameters:
param
- the new backup
-
setComment
Sets the comment. Sets the comment.- Specified by:
setComment
in interfaceTransferGroup
- Parameters:
param
- the new comment
-
setName
Sets the name. Sets the name.- Specified by:
setName
in interfaceTransferGroup
- Parameters:
param
- the new name
-
setClusterName
Sets the cluster name. Sets the cluster name.- Specified by:
setClusterName
in 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
-