Klasse DownloadHistory

java.lang.Object
de.dlr.proseo.model.DownloadHistory

@Embeddable public class DownloadHistory extends Object
History of product downloads; while originially bound to a ProductFile, the entry persists even after deletion of the ProductFile to give a full history of the Product downloads
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • DownloadHistory

      public DownloadHistory()
  • Methodendetails

    • getProductFile

      public ProductFile getProductFile()
      Gets the product file, which was downloaded
      Gibt zurück:
      the download product file
    • setProductFile

      public void setProductFile(ProductFile productFile)
      Sets the product file, which was downloaded
      Parameter:
      productFile - the download product file to set
    • getUsername

      public String getUsername()
      Gets the user initiating the download
      Gibt zurück:
      the username
    • setUsername

      public void setUsername(String username)
      Sets the user initiating the download
      Parameter:
      username - the username to set
    • getProductFileName

      public String getProductFileName()
      Gets the file name of the download product
      Gibt zurück:
      the product file name
    • setProductFileName

      public void setProductFileName(String productFileName)
      Sets the file name of the download product
      Parameter:
      productFileName - the product file name to set
    • getProductFileSize

      public Long getProductFileSize()
      Gets the download product file size in bytes
      Gibt zurück:
      the product file size
    • setProductFileSize

      public void setProductFileSize(Long productFileSize)
      Sets the download product file size in bytes
      Parameter:
      productFileSize - the product file size to set
    • getDateTime

      public Instant getDateTime()
      Gets the timestamp of the download
      Gibt zurück:
      the download timestamp
    • setDateTime

      public void setDateTime(Instant dateTime)
      Sets the timestamp of the download
      Parameter:
      dateTime - the timestamp to set
    • hashCode

      public int hashCode()
      Setzt außer Kraft:
      hashCode in Klasse Object
    • equals

      public boolean equals(Object obj)
      Setzt außer Kraft:
      equals in Klasse Object
    • toString

      public String toString()
      Setzt außer Kraft:
      toString in Klasse Object