Class CscProduct

java.lang.Object
de.dlr.proseo.api.prip.rest.model.CscProduct
All Implemented Interfaces:
Serializable

public class CscProduct extends Object implements Serializable
See Also:
  • Field Details

    • serialVersionUID

      static final long serialVersionUID
      See Also:
    • id

      protected String id
      Universally unique product identifier
    • name

      protected String name
      Data file name
    • contentType

      protected String contentType
      The MIME type of the product (typically application/octet-stream)
    • contentLength

      protected Long contentLength
      Actual size in bytes of the downloadable file
    • creationDate

      protected String creationDate
      Publication date and time of the data file (time at which the file becomes visible to the user) in UTC
    • evictionDate

      protected String evictionDate
      Date when the data file will be removed from the rolling archive in UTC
    • checksums

      protected List<CscChecksum> checksums
      Represents the known checksums for the product's physical date, providing a unique value for supporting download integrity check. At least MD5 checksum is mandatory. It is noted that checksums are computed for the actual downloaded product file, i.e. the package used for dissemination
    • contentDate

      protected CscTimeRange contentDate
      The sensing range period. Start and end times in UTC
    • productionType

      protected CscProductionType productionType
      The type of production process applied
    • attributes

      protected List<CscAttribute> attributes
      The variable attributes of the product (as requested by the $expand option)
  • Constructor Details

  • Method Details

    • getId

      @NotNull @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 @NotNull @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}$") String getId()
      Returns the id.
      Returns:
      id
    • setId

      public void setId(String id)
      Set the id.
      Parameters:
      id - the new id
    • getName

      @NotNull public @NotNull String getName()
      Returns the name.
      Returns:
      name
    • setName

      public void setName(String name)
      Set the name.
      Parameters:
      name - the new name
    • getContentType

      @NotNull public @NotNull String getContentType()
      Returns the contentType.
      Returns:
      contentType
    • setContentType

      public void setContentType(String contentType)
      Set the contentType.
      Parameters:
      contentType - the new contentType
    • getContentLength

      @NotNull public @NotNull Long getContentLength()
      Returns the contentLength.
      Returns:
      contentLength
    • setContentLength

      public void setContentLength(Long contentLength)
      Set the contentLength.
      Parameters:
      contentLength - the new contentLength
    • getCreationDate

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getCreationDate()
      Returns the creationDate.
      Returns:
      creationDate
    • setCreationDate

      public void setCreationDate(String creationDate)
      Set the creationDate.
      Parameters:
      creationDate - the new creationDate
    • getEvictionDate

      @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") public @NotNull @Pattern(regexp="^\\d\\d\\d\\d-\\d\\d-\\d\\dT\\d\\d:\\d\\d:\\d\\d.\\d{3}Z$") String getEvictionDate()
      Returns the evictionDate.
      Returns:
      evictionDate
    • setEvictionDate

      public void setEvictionDate(String evictionDate)
      Set the evictionDate.
      Parameters:
      evictionDate - the new evictionDate
    • getChecksums

      @NotNull @Valid public @NotNull @Valid List<CscChecksum> getChecksums()
      Returns the checksums.
      Returns:
      checksums
    • setChecksums

      public void setChecksums(List<CscChecksum> checksums)
      Set the checksums.
      Parameters:
      checksums - the new checksums
    • getContentDate

      @NotNull @Valid public @NotNull @Valid CscTimeRange getContentDate()
      Returns the contentDate.
      Returns:
      contentDate
    • setContentDate

      public void setContentDate(CscTimeRange contentDate)
      Set the contentDate.
      Parameters:
      contentDate - the new contentDate
    • getProductionType

      @NotNull @Valid public @NotNull @Valid CscProductionType getProductionType()
      Returns the productionType.
      Returns:
      productionType
    • setProductionType

      public void setProductionType(CscProductionType productionType)
      Set the productionType.
      Parameters:
      productionType - the new productionType
    • getAttributes

      @Valid public @Valid List<CscAttribute> getAttributes()
      Returns the attributes.
      Returns:
      attributes
    • setAttributes

      public void setAttributes(List<CscAttribute> attributes)
      Set the attributes.
      Parameters:
      attributes - the new attributes
    • hashCode

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

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

      public String toString()
      Overrides:
      toString in class Object