Klasse RestProductFile

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

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

    • serialVersionUID

      static final long serialVersionUID
      Siehe auch:
    • id

      protected Long id
      The persistent id of this object
    • version

      protected Long version
      A version identifier to track updates to the object (especially to detect concurrent update attempts)
    • productId

      protected Long productId
      Id value of the product this product file belongs to
    • processingFacilityName

      protected String processingFacilityName
      The name of the processing facility, in which this product file is stored
    • productFileName

      protected String productFileName
      The name of the product data file
    • auxFileNames

      protected List<String> auxFileNames
      The auxiliary files for this product file
    • filePath

      protected String filePath
      The path to the product files (POSIX file path, S3 bucket etc.)
    • storageType

      protected String storageType
      The string representation of the type of the storage location (e. g. "S3", "POSIX")
    • fileSize

      protected Long fileSize
      The size of the primary product file in bytes
    • checksum

      protected String checksum
      Checksum value for the primary product file (computed by MD5 algorithm)
    • checksumTime

      protected String checksumTime
      Checksum generation time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)
    • zipFileName

      protected String zipFileName
      The file name of the ZIP archive containing all product and auxiliary files intended for distribution
    • zipFileSize

      protected Long zipFileSize
      The file size of the ZIP archive in bytes
    • zipChecksum

      protected String zipChecksum
      The MD5 checksum for the ZIP archive
    • zipChecksumTime

      protected String zipChecksumTime
      ZIP archive checksum generation time in orbit format (YYYY-MM-DDThh:mm:ss.SSSSSS)
  • Konstruktordetails

    • RestProductFile

      public RestProductFile()
      Creates a new RestProductFile.
    • RestProductFile

      public RestProductFile(Long id, Long version, Long productId, String processingFacilityName, String productFileName, List<String> auxFileNames, String filePath, String storageType, Long fileSize, String checksum, String checksumTime, String zipFileName, Long zipFileSize, String zipChecksum, String zipChecksumTime)
      Creates a new RestProductFile.
  • Methodendetails

    • getId

      public Long getId()
      Returns the id.
      Gibt zurück:
      id
    • setId

      public void setId(Long id)
      Set the id.
      Parameter:
      id - the new id
    • getVersion

      public Long getVersion()
      Returns the version.
      Gibt zurück:
      version
    • setVersion

      public void setVersion(Long version)
      Set the version.
      Parameter:
      version - the new version
    • getProductId

      @NotNull public @NotNull Long getProductId()
      Returns the productId.
      Gibt zurück:
      productId
    • setProductId

      public void setProductId(Long productId)
      Set the productId.
      Parameter:
      productId - the new productId
    • getProcessingFacilityName

      @NotNull public @NotNull String getProcessingFacilityName()
      Returns the processingFacilityName.
      Gibt zurück:
      processingFacilityName
    • setProcessingFacilityName

      public void setProcessingFacilityName(String processingFacilityName)
      Set the processingFacilityName.
      Parameter:
      processingFacilityName - the new processingFacilityName
    • 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
    • getAuxFileNames

      @NotNull public @NotNull List<String> getAuxFileNames()
      Returns the auxFileNames.
      Gibt zurück:
      auxFileNames
    • setAuxFileNames

      public void setAuxFileNames(List<String> auxFileNames)
      Set the auxFileNames.
      Parameter:
      auxFileNames - the new auxFileNames
    • getFilePath

      @NotNull public @NotNull String getFilePath()
      Returns the filePath.
      Gibt zurück:
      filePath
    • setFilePath

      public void setFilePath(String filePath)
      Set the filePath.
      Parameter:
      filePath - the new filePath
    • getStorageType

      @NotNull public @NotNull String getStorageType()
      Returns the storageType.
      Gibt zurück:
      storageType
    • setStorageType

      public void setStorageType(String storageType)
      Set the storageType.
      Parameter:
      storageType - the new storageType
    • getFileSize

      @NotNull public @NotNull Long getFileSize()
      Returns the fileSize.
      Gibt zurück:
      fileSize
    • setFileSize

      public void setFileSize(Long fileSize)
      Set the fileSize.
      Parameter:
      fileSize - the new fileSize
    • getChecksum

      @NotNull public @NotNull String getChecksum()
      Returns the checksum.
      Gibt zurück:
      checksum
    • setChecksum

      public void setChecksum(String checksum)
      Set the checksum.
      Parameter:
      checksum - the new checksum
    • getChecksumTime

      @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 getChecksumTime()
      Returns the checksumTime.
      Gibt zurück:
      checksumTime
    • setChecksumTime

      public void setChecksumTime(String checksumTime)
      Set the checksumTime.
      Parameter:
      checksumTime - the new checksumTime
    • getZipFileName

      public String getZipFileName()
      Returns the zipFileName.
      Gibt zurück:
      zipFileName
    • setZipFileName

      public void setZipFileName(String zipFileName)
      Set the zipFileName.
      Parameter:
      zipFileName - the new zipFileName
    • getZipFileSize

      public Long getZipFileSize()
      Returns the zipFileSize.
      Gibt zurück:
      zipFileSize
    • setZipFileSize

      public void setZipFileSize(Long zipFileSize)
      Set the zipFileSize.
      Parameter:
      zipFileSize - the new zipFileSize
    • getZipChecksum

      public String getZipChecksum()
      Returns the zipChecksum.
      Gibt zurück:
      zipChecksum
    • setZipChecksum

      public void setZipChecksum(String zipChecksum)
      Set the zipChecksum.
      Parameter:
      zipChecksum - the new zipChecksum
    • getZipChecksumTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") String getZipChecksumTime()
      Returns the zipChecksumTime.
      Gibt zurück:
      zipChecksumTime
    • setZipChecksumTime

      public void setZipChecksumTime(String zipChecksumTime)
      Set the zipChecksumTime.
      Parameter:
      zipChecksumTime - the new zipChecksumTime
    • 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