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
ConstructorsModifierConstructorDescriptionprotectedTransferServerBean(TransferServer transferServer) Instantiates a new transfer server bean. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.booleanEquals.booleanGets the active.Gets the bean interface name.booleangetCheck()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.longGets the last update.Gets the last update date.Gets the last update duration.longgetLoad()Gets the load.intGets the max inactivity.intGets the max transfers.getName()Gets the name.Gets the ojb implementation.intgetPort()Gets the port.booleanGets the replicate.getReport(ecmwf.web.model.users.User u) Gets the report.Gets the transfer group.Gets the transfer group name.inthashCode()Hash code.voidsetActive(boolean param) Sets the active.voidsetCheck(boolean param) Sets the check.voidSets the host.voidSets the host for replication name.voidsetLastUpdate(int param) Sets the last update.voidsetMaxInactivity(int param) Sets the max inactivity.voidsetMaxTransfers(int param) Sets the max transfers.voidSets the name.voidsetPort(int param) Sets the port.voidsetReplicate(boolean param) Sets the replicate.voidsetTransferGroupName(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, 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
-
TransferServerBean
Instantiates a new transfer server bean.- Parameters:
transferServer- the transfer server
-
-
Method Details
-
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
-
getActive
public boolean getActive()Gets the active. Gets the active.- Specified by:
getActivein interfaceTransferServer- Returns:
- the active
-
getCheck
public boolean getCheck()Gets the check. Gets the check.- Specified by:
getCheckin interfaceTransferServer- Returns:
- the check
-
getLastUpdate
public long getLastUpdate()Gets the last update. Gets the last update.- Specified by:
getLastUpdatein interfaceTransferServer- Returns:
- the last update
-
getLastUpdateDate
Gets the last update date. Gets the last update date.- Specified by:
getLastUpdateDatein interfaceTransferServer- Returns:
- the last update date
-
getLastUpdateDuration
Gets the last update duration. Gets the last update duration.- Specified by:
getLastUpdateDurationin interfaceTransferServer- Returns:
- the last update duration
-
getMaxInactivity
public int getMaxInactivity()Gets the max inactivity. Gets the max inactivity.- Specified by:
getMaxInactivityin interfaceTransferServer- Returns:
- the max inactivity
-
getMaxTransfers
public int getMaxTransfers()Gets the max transfers. Gets the max transfers.- Specified by:
getMaxTransfersin interfaceTransferServer- Returns:
- the max transfers
-
getName
Gets the name. Gets the name.- Specified by:
getNamein interfaceTransferServer- Returns:
- the name
-
getDataTransfersToday
Gets the data transfers today. Gets the data transfers today.- Specified by:
getDataTransfersTodayin 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:
setActivein interfaceTransferServer- Parameters:
param- the new active
-
setCheck
public void setCheck(boolean param) Sets the check. Sets the check.- Specified by:
setCheckin interfaceTransferServer- Parameters:
param- the new check
-
setLastUpdate
public void setLastUpdate(int param) Sets the last update. Sets the last update.- Specified by:
setLastUpdatein interfaceTransferServer- Parameters:
param- the new last update
-
setMaxInactivity
public void setMaxInactivity(int param) Sets the max inactivity. Sets the max inactivity.- Specified by:
setMaxInactivityin interfaceTransferServer- Parameters:
param- the new max inactivity
-
setMaxTransfers
public void setMaxTransfers(int param) Sets the max transfers. Sets the max transfers.- Specified by:
setMaxTransfersin interfaceTransferServer- Parameters:
param- the new max transfers
-
setName
Sets the name. Sets the name.- Specified by:
setNamein interfaceTransferServer- Parameters:
param- the new name
-
getHost
Gets the host. Gets the host.- Specified by:
getHostin interfaceTransferServer- Returns:
- the host
-
getPort
public int getPort()Gets the port. Gets the port.- Specified by:
getPortin interfaceTransferServer- Returns:
- the port
-
setHost
Sets the host. Sets the host.- Specified by:
setHostin interfaceTransferServer- Parameters:
param- the new host
-
setPort
public void setPort(int param) Sets the port. Sets the port.- Specified by:
setPortin interfaceTransferServer- Parameters:
param- the new port
-
getLoad
public long getLoad()Gets the load. Gets the load.- Specified by:
getLoadin interfaceTransferServer- Returns:
- the load
-
getTransferGroupName
Gets the transfer group name. Gets the transfer group name.- Specified by:
getTransferGroupNamein interfaceTransferServer- Returns:
- the transfer group name
-
setTransferGroupName
Sets the transfer group name. Sets the transfer group name.- Specified by:
setTransferGroupNamein interfaceTransferServer- Parameters:
name- the new transfer group name
-
getTransferGroup
Gets the transfer group. Gets the transfer group.- Specified by:
getTransferGroupin interfaceTransferServer- Returns:
- the transfer group
-
getHostForReplication
Gets the host for replication. Gets the host for replication.- Specified by:
getHostForReplicationin interfaceTransferServer- Returns:
- the host for replication
-
getHostForReplicationName
Gets the host for replication name. Gets the host for replication name.- Specified by:
getHostForReplicationNamein interfaceTransferServer- Returns:
- the host for replication name
-
setHostForReplicationName
Sets the host for replication name. Sets the host for replication name.- Specified by:
setHostForReplicationNamein interfaceTransferServer- Parameters:
name- the new host for replication name
-
setReplicate
public void setReplicate(boolean param) Sets the replicate. Sets the replicate.- Specified by:
setReplicatein interfaceTransferServer- Parameters:
param- the new replicate
-
getReplicate
public boolean getReplicate()Gets the replicate. Gets the replicate.- Specified by:
getReplicatein interfaceTransferServer- Returns:
- the replicate
-
getReport
Gets the report. Gets the report.- Specified by:
getReportin 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
-