Klasse RestDownloadHistory

java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestDownloadHistory
Alle implementierten Schnittstellen:
Serializable

public class RestDownloadHistory extends Object implements Serializable
Siehe auch:
  • Felddetails

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • username

      protected String username
      The user who initiated the download
    • productFileName

      protected String productFileName
      The file name of the downloaded ProductFile
    • productFileSize

      protected Long productFileSize
      The product file size in bytes
    • dateTime

      protected String dateTime
      The time of the download in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)
  • Konstruktordetails

    • RestDownloadHistory

      public RestDownloadHistory()
      Creates a new RestDownloadHistory.
    • RestDownloadHistory

      public RestDownloadHistory(String username, String productFileName, Long productFileSize, String dateTime)
      Creates a new RestDownloadHistory.
  • Methodendetails

    • getUsername

      @NotNull public @NotNull String getUsername()
      Returns the username.
      Gibt zurück:
      username
    • setUsername

      public void setUsername(String username)
      Set the username.
      Parameter:
      username - the new username
    • getProductFileName

      @NotNull public @NotNull String getProductFileName()
      Returns the productFileName.
      Gibt zurück:
      productFileName
    • setProductFileName

      public void setProductFileName(String productFileName)
      Set the productFileName.
      Parameter:
      productFileName - the new productFileName
    • getProductFileSize

      @NotNull public @NotNull Long getProductFileSize()
      Returns the productFileSize.
      Gibt zurück:
      productFileSize
    • setProductFileSize

      public void setProductFileSize(Long productFileSize)
      Set the productFileSize.
      Parameter:
      productFileSize - the new productFileSize
    • getDateTime

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getDateTime()
      Returns the dateTime.
      Gibt zurück:
      dateTime
    • setDateTime

      public void setDateTime(String dateTime)
      Set the dateTime.
      Parameter:
      dateTime - the new dateTime
    • hashCode

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

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

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