Klasse ProductClass

java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.ProductClass

@Entity public class ProductClass extends PersistentObject
A class of products pertaining to a specific Mission, e. g. the L2_O3 products of Sentinel-5P. A ProductClass can describe final (deliverable) products as well as intermediate products. For a ProductClass its dependency on base products can be described using SelectionRules. Alternatively a ProductClass may be composed of other product classes (e. g. the S5P NPP products consist of three separate single-band NPP sub-products).
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • ProductClass

      public ProductClass()
  • Methodendetails

    • getMission

      public Mission getMission()
      Gets the mission this product class belongs to
      Gibt zurück:
      the mission
    • setMission

      public void setMission(Mission mission)
      Sets the mission this product class belongs to
      Parameter:
      mission - the mission to set
    • getProductType

      public String getProductType()
      Gets the prosEO-internal product type (product class identifier)
      Gibt zurück:
      the product type
    • setProductType

      public void setProductType(String productType)
      Sets the prosEO-internal product type (product class identifier)
      Parameter:
      productType - the product type to set
    • getDescription

      public String getDescription()
      Gets the product class description
      Gibt zurück:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the product class description
      Parameter:
      description - the description to set
    • getProcessingLevel

      public ProcessingLevel getProcessingLevel()
      Gets the processing level
      Gibt zurück:
      the processing level
    • setProcessingLevel

      public void setProcessingLevel(ProcessingLevel processingLevel)
      Sets the processing level
      Parameter:
      processingLevel - the processing level to set
    • getVisibility

      public ProductVisibility getVisibility()
      Gets the product visibility to external users
      Gibt zurück:
      the visibility
    • setVisibility

      public void setVisibility(ProductVisibility visibility)
      Gets the product visibility to external users
      Parameter:
      visibility - the visibility to set
    • getDefaultSlicingType

      public OrderSlicingType getDefaultSlicingType()
      Gets the default slicing type to apply in orders
      Gibt zurück:
      the default slicing type
    • setDefaultSlicingType

      public void setDefaultSlicingType(OrderSlicingType defaultSlicingType)
      Sets the default slicing type to apply in orders
      Parameter:
      defaultSlicingType - the default slicing type to set
    • getDefaultSliceDuration

      public Duration getDefaultSliceDuration()
      Gets the default slice duration (if the default slicing type is TIME_SLICE)
      Gibt zurück:
      the default slice duration
    • setDefaultSliceDuration

      public void setDefaultSliceDuration(Duration defaultSliceDuration)
      Sets the default slice duration (if the default slicing type is TIME_SLICE)
      Parameter:
      defaultSliceDuration - the default slice duration to set
    • getProductFileTemplate

      public String getProductFileTemplate()
      Gets the template for product file naming for this product class (if no template is set, returns the template of the associated mission)
      Gibt zurück:
      the productFileTemplate
    • setProductFileTemplate

      public void setProductFileTemplate(String productFileTemplate)
      Sets the template for product file naming for this product class (will override template from Mission)
      Parameter:
      productFileTemplate - the productFileTemplate to set
    • getRequiredSelectionRules

      public Set<SimpleSelectionRule> getRequiredSelectionRules()
      Gets the set of required selection rules
      Gibt zurück:
      the requiredSelectionRules
    • setRequiredSelectionRules

      public void setRequiredSelectionRules(Set<SimpleSelectionRule> requiredSelectionRules)
      Gets the set of required selection rules
      Parameter:
      requiredSelectionRules - the requiredSelectionRules to set
    • getSupportedSelectionRules

      public Set<SimpleSelectionRule> getSupportedSelectionRules()
      Gets the set of supported selection rules
      Gibt zurück:
      the supportedSelectionRules
    • setSupportedSelectionRules

      public void setSupportedSelectionRules(Set<SimpleSelectionRule> supportedSelectionRules)
      Sets the set of supported selection rules
      Parameter:
      supportedSelectionRules - the supportedSelectionRules to set
    • getComponentClasses

      public Set<ProductClass> getComponentClasses()
      Gets the product classes of component products
      Gibt zurück:
      the componentClasses
    • setComponentClasses

      public void setComponentClasses(Set<ProductClass> componentClasses)
      Sets the product classes for component products
      Parameter:
      componentClasses - the componentClasses to set
    • getEnclosingClass

      public ProductClass getEnclosingClass()
      Gets the product classes of an enclosing product
      Gibt zurück:
      the enclosingClass
    • setEnclosingClass

      public void setEnclosingClass(ProductClass enclosingClass)
      Sets the product classes for an enclosing product
      Parameter:
      enclosingClass - the enclosingClass to set
    • getProcessorClass

      public ProcessorClass getProcessorClass()
      Gets the processor class capable of generating products of this class
      Gibt zurück:
      the processorClass
    • setProcessorClass

      public void setProcessorClass(ProcessorClass processorClass)
      Gets the processor class capable of generating products of this class
      Parameter:
      processorClass - the processorClass to set
    • hashCode

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

      public boolean equals(Object obj)
      Beschreibung aus Klasse kopiert: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Setzt außer Kraft:
      equals in Klasse PersistentObject
      Parameter:
      obj - the object to compare this object to
      Gibt zurück:
      true, if obj is a persistent object and has the same ID, false otherwise
      Siehe auch:
    • toString

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