Class TransferHistoryBean
java.lang.Object
ecmwf.web.dao.ModelBeanBase
ecmwf.ecpds.master.plugin.http.dao.transfer.TransferHistoryBean
- All Implemented Interfaces:
CollectionSizeBean
,TransferHistory
,ecmwf.web.model.ModelBean
The Class TransferHistoryBean.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
Instantiates a new transfer history bean.protected
TransferHistoryBean
(ecmwf.web.model.users.User user, TransferHistory i) Instantiates a new transfer history bean. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Equals.boolean
Equals.Gets the bean interface name.int
Gets the collection size.Gets the comment.Gets the data transfer.long
Gets the data transfer id.getDate()
Gets the date.boolean
getError()
Gets the error.Gets the formatted comment.Gets the formatted sent.Gets the formatted status.getHost()
Gets the host.Gets the host name.Gets the host nick name.getId()
Gets the id.long
getSent()
Gets the sent.Gets the status.ecmwf.web.model.users.User
getUser()
Gets the user.int
hashCode()
Hash code.void
setUser
(ecmwf.web.model.users.User user) Sets the user.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
-
TransferHistoryBean
Instantiates a new transfer history bean.- Parameters:
user
- the useri
- the i
-
TransferHistoryBean
Instantiates a new transfer history bean.- Parameters:
i
- the i
-
-
Method Details
-
setUser
public void setUser(ecmwf.web.model.users.User user) Sets the user. Sets the user.- Specified by:
setUser
in interfaceTransferHistory
- Parameters:
user
- the new user
-
getUser
public ecmwf.web.model.users.User getUser()Gets the user. Gets the user.- Specified by:
getUser
in interfaceTransferHistory
- Returns:
- the user
-
getCollectionSize
public int getCollectionSize()Gets the collection size. Gets the collection size.- Specified by:
getCollectionSize
in interfaceCollectionSizeBean
- Returns:
- the collection size
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceName
in interfaceecmwf.web.model.ModelBean
- Specified by:
getBeanInterfaceName
in classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id.- Specified by:
getId
in interfaceecmwf.web.model.ModelBean
- Overrides:
getId
in classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getComment
in interfaceTransferHistory
- Returns:
- the comment
-
getFormattedComment
Gets the formatted comment. Gets the formatted comment.- Specified by:
getFormattedComment
in interfaceTransferHistory
- Returns:
- the formatted comment
-
getDataTransfer
Gets the data transfer. Gets the data transfer.- Specified by:
getDataTransfer
in interfaceTransferHistory
- Returns:
- the data transfer
-
getDataTransferId
public long getDataTransferId()Gets the data transfer id. Gets the data transfer id.- Specified by:
getDataTransferId
in interfaceTransferHistory
- Returns:
- the data transfer id
-
getDate
Gets the date. Gets the date.- Specified by:
getDate
in interfaceTransferHistory
- Returns:
- the date
-
getSent
public long getSent()Gets the sent. Gets the sent.- Specified by:
getSent
in interfaceTransferHistory
- Returns:
- the sent
-
getFormattedSent
Gets the formatted sent. Gets the formatted sent.- Specified by:
getFormattedSent
in interfaceTransferHistory
- Returns:
- the formatted sent
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatus
in interfaceTransferHistory
- Returns:
- the status
-
getFormattedStatus
Gets the formatted status. Gets the formatted status.- Specified by:
getFormattedStatus
in interfaceTransferHistory
- Returns:
- the formatted status
-
getError
public boolean getError()Gets the error. Gets the error.- Specified by:
getError
in interfaceTransferHistory
- Returns:
- the error
-
getHost
Gets the host. Gets the host.- Specified by:
getHost
in interfaceTransferHistory
- Returns:
- the host
- Throws:
TransferException
- the transfer exception
-
getHostNickName
Gets the host nick name. Gets the host nick name.- Specified by:
getHostNickName
in interfaceTransferHistory
- Returns:
- the host nick name
-
getHostName
Gets the host name. Gets the host name.- Specified by:
getHostName
in interfaceTransferHistory
- Returns:
- the host name
-
equals
-
equals
Equals.- Parameters:
u
- the u- Returns:
- true, if successful
-
hashCode
-
toString
-