Class InputProductReference

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

@Embeddable public class InputProductReference extends Object
Identification of the input product to use for On-Demand Production; its intention is to be unambiguous (as per ODPRIP ICD), however this is not guaranteed given the limited number of specification options (uniqueness may be guaranteed when specifying a file name, but it is not, when only specifying a sensing time range). The input product will be retrieved from some LTA, if it is not readily available in prosEO. If only the "ContentDate" is given and multiple products fulfilling the criteria are found in the LTA or in prosEO, the product with the most recent generation time will be used. In the (unlikely) case of several products having the same generation time, the product with the greatest file name (alphanumeric string comparison) will be used. Duplicate file names are not allowed on any LTA or PRIP (and hence not in prosEO). At least either the input file name or the sensing time interval must be specified.
Author:
Dr. Thomas Bassler
  • Constructor Details

    • InputProductReference

      public InputProductReference()
  • Method Details

    • getInputFileName

      public String getInputFileName()
      Gets the input file name
      Returns:
      the input file name
    • setInputFileName

      public void setInputFileName(String inputFileName)
      Sets the input file name
      Parameters:
      inputFileName - the input file name to set
    • getSensingStartTime

      public Instant getSensingStartTime()
      Gets the sensing start time of the input product
      Returns:
      the sensing start time
    • setSensingStartTime

      public void setSensingStartTime(Instant sensingStartTime)
      Sets the sensing start time of the input product
      Parameters:
      sensingStartTime - the sensing start time to set
    • getSensingStopTime

      public Instant getSensingStopTime()
      Gets the sensing stop time of the input product
      Returns:
      the sensing stop time
    • setSensingStopTime

      public void setSensingStopTime(Instant sensingStopTime)
      Sets the sensing stop time of the input product
      Parameters:
      sensingStopTime - the sensing stop time to set
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object