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
ConstructorsModifierConstructorDescriptionprotectedInstantiates a new transfer history bean.protectedTransferHistoryBean(ecmwf.web.model.users.User user, TransferHistory i) Instantiates a new transfer history bean. -
Method Summary
Modifier and TypeMethodDescriptionbooleanEquals.booleanEquals.Gets the bean interface name.intGets the collection size.Gets the comment.Gets the data transfer.longGets the data transfer id.getDate()Gets the date.booleangetError()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.longgetSent()Gets the sent.Gets the status.ecmwf.web.model.users.UsergetUser()Gets the user.inthashCode()Hash code.voidsetUser(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, 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
-
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:
setUserin interfaceTransferHistory- Parameters:
user- the new user
-
getUser
public ecmwf.web.model.users.User getUser()Gets the user. Gets the user.- Specified by:
getUserin interfaceTransferHistory- Returns:
- the user
-
getCollectionSize
public int getCollectionSize()Gets the collection size. Gets the collection size.- Specified by:
getCollectionSizein interfaceCollectionSizeBean- Returns:
- the collection size
-
getBeanInterfaceName
Gets the bean interface name.- Specified by:
getBeanInterfaceNamein interfaceecmwf.web.model.ModelBean- Specified by:
getBeanInterfaceNamein classecmwf.web.dao.ModelBeanBase
-
getId
Gets the id.- Specified by:
getIdin interfaceecmwf.web.model.ModelBean- Overrides:
getIdin classecmwf.web.dao.ModelBeanBase
-
getComment
Gets the comment. Gets the comment.- Specified by:
getCommentin interfaceTransferHistory- Returns:
- the comment
-
getFormattedComment
Gets the formatted comment. Gets the formatted comment.- Specified by:
getFormattedCommentin interfaceTransferHistory- Returns:
- the formatted comment
-
getDataTransfer
Gets the data transfer. Gets the data transfer.- Specified by:
getDataTransferin interfaceTransferHistory- Returns:
- the data transfer
-
getDataTransferId
public long getDataTransferId()Gets the data transfer id. Gets the data transfer id.- Specified by:
getDataTransferIdin interfaceTransferHistory- Returns:
- the data transfer id
-
getDate
Gets the date. Gets the date.- Specified by:
getDatein interfaceTransferHistory- Returns:
- the date
-
getSent
public long getSent()Gets the sent. Gets the sent.- Specified by:
getSentin interfaceTransferHistory- Returns:
- the sent
-
getFormattedSent
Gets the formatted sent. Gets the formatted sent.- Specified by:
getFormattedSentin interfaceTransferHistory- Returns:
- the formatted sent
-
getStatus
Gets the status. Gets the status.- Specified by:
getStatusin interfaceTransferHistory- Returns:
- the status
-
getFormattedStatus
Gets the formatted status. Gets the formatted status.- Specified by:
getFormattedStatusin interfaceTransferHistory- Returns:
- the formatted status
-
getError
public boolean getError()Gets the error. Gets the error.- Specified by:
getErrorin interfaceTransferHistory- Returns:
- the error
-
getHost
Gets the host. Gets the host.- Specified by:
getHostin interfaceTransferHistory- Returns:
- the host
- Throws:
TransferException- the transfer exception
-
getHostNickName
Gets the host nick name. Gets the host nick name.- Specified by:
getHostNickNamein interfaceTransferHistory- Returns:
- the host nick name
-
getHostName
Gets the host name. Gets the host name.- Specified by:
getHostNamein interfaceTransferHistory- Returns:
- the host name
-
equals
-
equals
Equals.- Parameters:
u- the u- Returns:
- true, if successful
-
hashCode
-
toString
-