Class IngestorProduct

java.lang.Object
de.dlr.proseo.interfaces.rest.model.RestProduct
de.dlr.proseo.interfaces.rest.model.IngestorProduct
All Implemented Interfaces:
Serializable

public class IngestorProduct extends RestProduct implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • sourceStorageType

      protected String sourceStorageType
      The type of the storage to ingest the data from
    • mountPoint

      protected String mountPoint
      The S3/POSIX/ALLUXIO mount point of the storage system to ingest from
    • filePath

      protected String filePath
      The S3/POSIX/ALLUXIO path to the product files (relative to mountPoint)
    • productFileName

      protected String productFileName
      File name of the main product file
    • auxFileNames

      protected List<String> auxFileNames
      Names of auxiliary files being part of the product
    • 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)
  • Constructor Details

  • Method Details

    • getId

      public Long getId()
      Returns the id.
      Overrides:
      getId in class RestProduct
      Returns:
      id
    • getVersion

      public Long getVersion()
      Returns the version.
      Overrides:
      getVersion in class RestProduct
      Returns:
      version
    • getUuid

      @Pattern(regexp="^[0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{4}-[0-9A-Fa-f]{12}$") public String getUuid()
      Returns the uuid.
      Overrides:
      getUuid in class RestProduct
      Returns:
      uuid
    • getMissionCode

      @NotNull public String getMissionCode()
      Returns the missionCode.
      Overrides:
      getMissionCode in class RestProduct
      Returns:
      missionCode
    • getProductClass

      @NotNull public String getProductClass()
      Returns the productClass.
      Overrides:
      getProductClass in class RestProduct
      Returns:
      productClass
    • getProcessingLevel

      public String getProcessingLevel()
      Returns the processingLevel.
      Overrides:
      getProcessingLevel in class RestProduct
      Returns:
      processingLevel
    • getFileClass

      public String getFileClass()
      Returns the fileClass.
      Overrides:
      getFileClass in class RestProduct
      Returns:
      fileClass
    • getMode

      public String getMode()
      Returns the mode.
      Overrides:
      getMode in class RestProduct
      Returns:
      mode
    • getProductQuality

      public String getProductQuality()
      Returns the productQuality.
      Overrides:
      getProductQuality in class RestProduct
      Returns:
      productQuality
    • getRequestedStartTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getRequestedStartTime()
      Returns the requestedStartTime.
      Overrides:
      getRequestedStartTime in class RestProduct
      Returns:
      requestedStartTime
    • getRequestedStopTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getRequestedStopTime()
      Returns the requestedStopTime.
      Overrides:
      getRequestedStopTime in class RestProduct
      Returns:
      requestedStopTime
    • getSensingStartTime

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getSensingStartTime()
      Returns the sensingStartTime.
      Overrides:
      getSensingStartTime in class RestProduct
      Returns:
      sensingStartTime
    • getSensingStopTime

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getSensingStopTime()
      Returns the sensingStopTime.
      Overrides:
      getSensingStopTime in class RestProduct
      Returns:
      sensingStopTime
    • getRawDataAvailabilityTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getRawDataAvailabilityTime()
      Returns the rawDataAvailabilityTime.
      Overrides:
      getRawDataAvailabilityTime in class RestProduct
      Returns:
      rawDataAvailabilityTime
    • getGenerationTime

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getGenerationTime()
      Returns the generationTime.
      Overrides:
      getGenerationTime in class RestProduct
      Returns:
      generationTime
    • getPublicationTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getPublicationTime()
      Returns the publicationTime.
      Overrides:
      getPublicationTime in class RestProduct
      Returns:
      publicationTime
    • getEvictionTime

      @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{6}$") public String getEvictionTime()
      Returns the evictionTime.
      Overrides:
      getEvictionTime in class RestProduct
      Returns:
      evictionTime
    • getDownloadHistory

      public List<RestDownloadHistory> getDownloadHistory()
      Returns the downloadHistory.
      Overrides:
      getDownloadHistory in class RestProduct
      Returns:
      downloadHistory
    • getProductionType

      public String getProductionType()
      Returns the productionType.
      Overrides:
      getProductionType in class RestProduct
      Returns:
      productionType
    • getComponentProductIds

      public List<Long> getComponentProductIds()
      Returns the componentProductIds.
      Overrides:
      getComponentProductIds in class RestProduct
      Returns:
      componentProductIds
    • getEnclosingProductId

      public Long getEnclosingProductId()
      Returns the enclosingProductId.
      Overrides:
      getEnclosingProductId in class RestProduct
      Returns:
      enclosingProductId
    • getOrbit

      public Orbit getOrbit()
      Returns the orbit.
      Overrides:
      getOrbit in class RestProduct
      Returns:
      orbit
    • getProductFile

      public List<RestProductFile> getProductFile()
      Returns the productFile.
      Overrides:
      getProductFile in class RestProduct
      Returns:
      productFile
    • getConfiguredProcessor

      public RestConfiguredProcessor getConfiguredProcessor()
      Returns the configuredProcessor.
      Overrides:
      getConfiguredProcessor in class RestProduct
      Returns:
      configuredProcessor
    • getParameters

      @NotNull public List<RestParameter> getParameters()
      Returns the parameters.
      Overrides:
      getParameters in class RestProduct
      Returns:
      parameters
    • getSourceStorageType

      @NotNull @Pattern(regexp="^(S3|ALLUXIO|POSIX|OTHER)$") public String getSourceStorageType()
      Returns the sourceStorageType.
      Returns:
      sourceStorageType
    • setSourceStorageType

      public void setSourceStorageType(String sourceStorageType)
      Set the sourceStorageType.
      Parameters:
      sourceStorageType - the new sourceStorageType
    • getMountPoint

      @NotNull public String getMountPoint()
      Returns the mountPoint.
      Returns:
      mountPoint
    • setMountPoint

      public void setMountPoint(String mountPoint)
      Set the mountPoint.
      Parameters:
      mountPoint - the new mountPoint
    • getFilePath

      @NotNull public String getFilePath()
      Returns the filePath.
      Returns:
      filePath
    • setFilePath

      public void setFilePath(String filePath)
      Set the filePath.
      Parameters:
      filePath - the new filePath
    • getProductFileName

      @NotNull public String getProductFileName()
      Returns the productFileName.
      Returns:
      productFileName
    • setProductFileName

      public void setProductFileName(String productFileName)
      Set the productFileName.
      Parameters:
      productFileName - the new productFileName
    • getAuxFileNames

      public List<String> getAuxFileNames()
      Returns the auxFileNames.
      Returns:
      auxFileNames
    • setAuxFileNames

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

      @NotNull public Long getFileSize()
      Returns the fileSize.
      Returns:
      fileSize
    • setFileSize

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

      @NotNull public String getChecksum()
      Returns the checksum.
      Returns:
      checksum
    • setChecksum

      public void setChecksum(String checksum)
      Set the checksum.
      Parameters:
      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 String getChecksumTime()
      Returns the checksumTime.
      Returns:
      checksumTime
    • setChecksumTime

      public void setChecksumTime(String checksumTime)
      Set the checksumTime.
      Parameters:
      checksumTime - the new checksumTime
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class RestProduct
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class RestProduct
    • toString

      public String toString()
      Overrides:
      toString in class RestProduct