Class TransferServerBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.datafile.TransferServerBean
- All Implemented Interfaces:
OjbImplementedBean
,TransferServer
,ecmwf.web.model.ModelBean
public class TransferServerBean
extends ecmwf.web.dao.ModelBeanBase
implements TransferServer, OjbImplementedBean
The Class TransferServerBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TransferServerBean
(TransferServer transferServer) Instantiates a new transfer server bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
Equals.boolean
Gets the active.Gets the bean interface name.boolean
getCheck()
Gets the check.Gets the data transfers today.getHost()
Gets the host.Gets the host for replication.Gets the host for replication name.getId()
Gets the id.long
Gets the last update.Gets the last update date.Gets the last update duration.long
getLoad()
Gets the load.int
Gets the max inactivity.int
Gets the max transfers.getName()
Gets the name.Gets the ojb implementation.int
getPort()
Gets the port.boolean
Gets the replicate.getReport
(ecmwf.web.model.users.User u) Gets the report.Gets the transfer group.Gets the transfer group name.int
hashCode()
Hash code.void
setActive
(boolean param) Sets the active.void
setCheck
(boolean param) Sets the check.void
Sets the host.void
Sets the host for replication name.void
setLastUpdate
(int param) Sets the last update.void
setMaxInactivity
(int param) Sets the max inactivity.void
setMaxTransfers
(int param) Sets the max transfers.void
Sets the name.void
setPort
(int param) Sets the port.void
setReplicate
(boolean param) Sets the replicate.void
setTransferGroupName
(String name) Sets the transfer group name.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
-
TransferServerBean
Instantiates a new transfer server bean.- Parameters:
transferServer
- the transfer server
-
-
Method Details
-
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
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActive
in interfaceTransferServer
- Returns:
- the active
-
getCheck
public boolean getCheck()Gets the check. Gets the check.- Specified by:
getCheck
in interfaceTransferServer
- Returns:
- the check
-
getLastUpdate
public long getLastUpdate()Gets the last update. Gets the last update.- Specified by:
getLastUpdate
in interfaceTransferServer
- Returns:
- the last update
-
getLastUpdateDate
Gets the last update date. Gets the last update date.- Specified by:
getLastUpdateDate
in interfaceTransferServer
- Returns:
- the last update date
-
getLastUpdateDuration
Gets the last update duration. Gets the last update duration.- Specified by:
getLastUpdateDuration
in interfaceTransferServer
- Returns:
- the last update duration
-
getMaxInactivity
public int getMaxInactivity()Gets the max inactivity. Gets the max inactivity.- Specified by:
getMaxInactivity
in interfaceTransferServer
- Returns:
- the max inactivity
-
getMaxTransfers
public int getMaxTransfers()Gets the max transfers. Gets the max transfers.- Specified by:
getMaxTransfers
in interfaceTransferServer
- Returns:
- the max transfers
-
getName
Gets the name. Gets the name.- Specified by:
getName
in interfaceTransferServer
- Returns:
- the name
-
getDataTransfersToday
Gets the data transfers today. Gets the data transfers today.- Specified by:
getDataTransfersToday
in interfaceTransferServer
- Returns:
- the data transfers today
- Throws:
DataFileException
- the data file exception
-
setActive
public void setActive(boolean param) Sets the active. Sets the active.- Specified by:
setActive
in interfaceTransferServer
- Parameters:
param
- the new active
-
setCheck
public void setCheck(boolean param) Sets the check. Sets the check.- Specified by:
setCheck
in interfaceTransferServer
- Parameters:
param
- the new check
-
setLastUpdate
public void setLastUpdate(int param) Sets the last update. Sets the last update.- Specified by:
setLastUpdate
in interfaceTransferServer
- Parameters:
param
- the new last update
-
setMaxInactivity
public void setMaxInactivity(int param) Sets the max inactivity. Sets the max inactivity.- Specified by:
setMaxInactivity
in interfaceTransferServer
- Parameters:
param
- the new max inactivity
-
setMaxTransfers
public void setMaxTransfers(int param) Sets the max transfers. Sets the max transfers.- Specified by:
setMaxTransfers
in interfaceTransferServer
- Parameters:
param
- the new max transfers
-
setName
Sets the name. Sets the name.- Specified by:
setName
in interfaceTransferServer
- Parameters:
param
- the new name
-
getHost
Gets the host. Gets the host.- Specified by:
getHost
in interfaceTransferServer
- Returns:
- the host
-
getPort
public int getPort()Gets the port. Gets the port.- Specified by:
getPort
in interfaceTransferServer
- Returns:
- the port
-
setHost
Sets the host. Sets the host.- Specified by:
setHost
in interfaceTransferServer
- Parameters:
param
- the new host
-
setPort
public void setPort(int param) Sets the port. Sets the port.- Specified by:
setPort
in interfaceTransferServer
- Parameters:
param
- the new port
-
getLoad
public long getLoad()Gets the load. Gets the load.- Specified by:
getLoad
in interfaceTransferServer
- Returns:
- the load
-
getTransferGroupName
Gets the transfer group name. Gets the transfer group name.- Specified by:
getTransferGroupName
in interfaceTransferServer
- Returns:
- the transfer group name
-
setTransferGroupName
Sets the transfer group name. Sets the transfer group name.- Specified by:
setTransferGroupName
in interfaceTransferServer
- Parameters:
name
- the new transfer group name
-
getTransferGroup
Gets the transfer group. Gets the transfer group.- Specified by:
getTransferGroup
in interfaceTransferServer
- Returns:
- the transfer group
-
getHostForReplication
Gets the host for replication. Gets the host for replication.- Specified by:
getHostForReplication
in interfaceTransferServer
- Returns:
- the host for replication
-
getHostForReplicationName
Gets the host for replication name. Gets the host for replication name.- Specified by:
getHostForReplicationName
in interfaceTransferServer
- Returns:
- the host for replication name
-
setHostForReplicationName
Sets the host for replication name. Sets the host for replication name.- Specified by:
setHostForReplicationName
in interfaceTransferServer
- Parameters:
name
- the new host for replication name
-
setReplicate
public void setReplicate(boolean param) Sets the replicate. Sets the replicate.- Specified by:
setReplicate
in interfaceTransferServer
- Parameters:
param
- the new replicate
-
getReplicate
public boolean getReplicate()Gets the replicate. Gets the replicate.- Specified by:
getReplicate
in interfaceTransferServer
- Returns:
- the replicate
-
getReport
Gets the report. Gets the report.- Specified by:
getReport
in interfaceTransferServer
- Parameters:
u
- the u- Returns:
- the report
- Throws:
DataFileException
- the data file exception
-
equals
-
equals
Equals.- Parameters:
d
- the d- Returns:
- true, if successful
-
hashCode
-
toString
-