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

public class TransferHistoryBean extends ecmwf.web.dao.ModelBeanBase implements TransferHistory
The Class TransferHistoryBean.
  • Constructor Details

    • TransferHistoryBean

      protected TransferHistoryBean(ecmwf.web.model.users.User user, TransferHistory i)
      Instantiates a new transfer history bean.
      Parameters:
      user - the user
      i - the i
    • TransferHistoryBean

      protected TransferHistoryBean(TransferHistory i)
      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 interface TransferHistory
      Parameters:
      user - the new user
    • getUser

      public ecmwf.web.model.users.User getUser()
      Gets the user. Gets the user.
      Specified by:
      getUser in interface TransferHistory
      Returns:
      the user
    • getCollectionSize

      public int getCollectionSize()
      Gets the collection size. Gets the collection size.
      Specified by:
      getCollectionSize in interface CollectionSizeBean
      Returns:
      the collection size
    • getBeanInterfaceName

      public String getBeanInterfaceName()
      Gets the bean interface name.
      Specified by:
      getBeanInterfaceName in interface ecmwf.web.model.ModelBean
      Specified by:
      getBeanInterfaceName in class ecmwf.web.dao.ModelBeanBase
    • getId

      public String getId()
      Gets the id.
      Specified by:
      getId in interface ecmwf.web.model.ModelBean
      Overrides:
      getId in class ecmwf.web.dao.ModelBeanBase
    • getComment

      public String getComment()
      Gets the comment. Gets the comment.
      Specified by:
      getComment in interface TransferHistory
      Returns:
      the comment
    • getFormattedComment

      public String getFormattedComment()
      Gets the formatted comment. Gets the formatted comment.
      Specified by:
      getFormattedComment in interface TransferHistory
      Returns:
      the formatted comment
    • getDataTransfer

      public DataTransfer getDataTransfer()
      Gets the data transfer. Gets the data transfer.
      Specified by:
      getDataTransfer in interface TransferHistory
      Returns:
      the data transfer
    • getDataTransferId

      public long getDataTransferId()
      Gets the data transfer id. Gets the data transfer id.
      Specified by:
      getDataTransferId in interface TransferHistory
      Returns:
      the data transfer id
    • getDate

      public Date getDate()
      Gets the date. Gets the date.
      Specified by:
      getDate in interface TransferHistory
      Returns:
      the date
    • getSent

      public long getSent()
      Gets the sent. Gets the sent.
      Specified by:
      getSent in interface TransferHistory
      Returns:
      the sent
    • getFormattedSent

      public String getFormattedSent()
      Gets the formatted sent. Gets the formatted sent.
      Specified by:
      getFormattedSent in interface TransferHistory
      Returns:
      the formatted sent
    • getStatus

      public String getStatus()
      Gets the status. Gets the status.
      Specified by:
      getStatus in interface TransferHistory
      Returns:
      the status
    • getFormattedStatus

      public String getFormattedStatus()
      Gets the formatted status. Gets the formatted status.
      Specified by:
      getFormattedStatus in interface TransferHistory
      Returns:
      the formatted status
    • getError

      public boolean getError()
      Gets the error. Gets the error.
      Specified by:
      getError in interface TransferHistory
      Returns:
      the error
    • getHost

      public Host getHost() throws TransferException
      Gets the host. Gets the host.
      Specified by:
      getHost in interface TransferHistory
      Returns:
      the host
      Throws:
      TransferException - the transfer exception
    • getHostNickName

      public String getHostNickName()
      Gets the host nick name. Gets the host nick name.
      Specified by:
      getHostNickName in interface TransferHistory
      Returns:
      the host nick name
    • getHostName

      public String getHostName()
      Gets the host name. Gets the host name.
      Specified by:
      getHostName in interface TransferHistory
      Returns:
      the host name
    • equals

      public boolean equals(Object o)
      Equals.
      Overrides:
      equals in class Object
    • equals

      public boolean equals(TransferHistoryBean u)
      Equals.
      Parameters:
      u - the u
      Returns:
      true, if successful
    • hashCode

      public int hashCode()
      Hash code.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      To string.
      Overrides:
      toString in class Object