Package de.dlr.proseo.model
Klasse DownloadHistory
java.lang.Object
de.dlr.proseo.model.DownloadHistory
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
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungboolean
Gets the timestamp of the downloadGets the product file, which was downloadedGets the file name of the download productGets the download product file size in bytesGets the user initiating the downloadint
hashCode()
void
setDateTime
(Instant dateTime) Sets the timestamp of the downloadvoid
setProductFile
(ProductFile productFile) Sets the product file, which was downloadedvoid
setProductFileName
(String productFileName) Sets the file name of the download productvoid
setProductFileSize
(Long productFileSize) Sets the download product file size in bytesvoid
setUsername
(String username) Sets the user initiating the downloadtoString()
-
Konstruktordetails
-
DownloadHistory
public DownloadHistory()
-
-
Methodendetails
-
getProductFile
Gets the product file, which was downloaded- Gibt zurück:
- the download product file
-
setProductFile
Sets the product file, which was downloaded- Parameter:
productFile
- the download product file to set
-
getUsername
Gets the user initiating the download- Gibt zurück:
- the username
-
setUsername
Sets the user initiating the download- Parameter:
username
- the username to set
-
getProductFileName
Gets the file name of the download product- Gibt zurück:
- the product file name
-
setProductFileName
Sets the file name of the download product- Parameter:
productFileName
- the product file name to set
-
getProductFileSize
Gets the download product file size in bytes- Gibt zurück:
- the product file size
-
setProductFileSize
Sets the download product file size in bytes- Parameter:
productFileSize
- the product file size to set
-
getDateTime
Gets the timestamp of the download- Gibt zurück:
- the download timestamp
-
setDateTime
Sets the timestamp of the download- Parameter:
dateTime
- the timestamp to set
-
hashCode
public int hashCode() -
equals
-
toString
-