Class OrderTemplateBase

java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.OrderTemplateBase
Direct Known Subclasses:
OrderTemplate, Workflow

@MappedSuperclass public abstract class OrderTemplateBase extends PersistentObject
Abstract base class for classes serving as template for the generation of processing orders. This base class defines common attributes for its subclasses.
Since:
prosEO 2.1.0
Author:
Dr. Thomas Bassler
  • Constructor Details

    • OrderTemplateBase

      public OrderTemplateBase()
  • Method Details

    • getMission

      public Mission getMission()
      Gets the mission this template base belongs to
      Returns:
      the mission
    • setMission

      public void setMission(Mission mission)
      Sets the mission this template base belongs to
      Parameters:
      mission - the mission to set
    • getName

      public String getName()
      Gets the template name
      Returns:
      the name
    • setName

      public void setName(String name)
      Sets the template name
      Parameters:
      name - the name to set
    • getEnabled

      public Boolean getEnabled()
      Gets the status of the "enabled" flag
      Returns:
      the enabled flag
    • isEnabled

      public Boolean isEnabled()
      Indicates, whether the workflow is available for use
      Returns:
      the enabled flag
    • setEnabled

      public void setEnabled(Boolean enabled)
      Sets the status of the "enabled" flag
      Parameters:
      enabled - the status of the enabled flag to set
    • getPriority

      public Integer getPriority()
      Gets the priority value for scheduling
      Returns:
      the priority
    • setPriority

      public void setPriority(Integer priority)
      Sets the priority value for scheduling
      Parameters:
      priority - the priority to set
    • getOutputFileClass

      public String getOutputFileClass()
      Gets the output file class
      Returns:
      the output file class
    • setOutputFileClass

      public void setOutputFileClass(String outputFileClass)
      Sets the output file class
      Parameters:
      outputFileClass - the output file class to set
    • getProcessingMode

      public String getProcessingMode()
      Gets the processing mode
      Returns:
      the processing mode
    • setProcessingMode

      public void setProcessingMode(String processingMode)
      Sets the processing mode
      Parameters:
      processingMode - the processing mode to set
    • getSlicingType

      public OrderSlicingType getSlicingType()
      Gets the order slicing type
      Returns:
      the slicing type
    • setSlicingType

      public void setSlicingType(OrderSlicingType slicingType)
      Sets the order slicing type
      Parameters:
      slicingType - the slicing type to set
    • getSliceDuration

      public Duration getSliceDuration()
      Gets the slice duration for sliced orders
      Returns:
      the slice duration
    • setSliceDuration

      public void setSliceDuration(Duration sliceDuration)
      Sets the slice duration for sliced orders
      Parameters:
      sliceDuration - the slice duration to set
    • getSliceOverlap

      public Duration getSliceOverlap()
      Gets the overlap between adjacent slices
      Returns:
      the slice overlap
    • setSliceOverlap

      public void setSliceOverlap(Duration sliceOverlap)
      Sets the overlap between adjacent slices
      Parameters:
      sliceOverlap - the slice overlap to set
    • getInputFilters

      public Map<ProductClass,InputFilter> getInputFilters()
      Gets the input filters
      Returns:
      the input filters
    • setInputFilters

      public void setInputFilters(Map<ProductClass,InputFilter> inputFilters)
      Sets the input filters
      Parameters:
      inputFilters - the input filters to set
    • getClassOutputParameters

      public Map<ProductClass,ClassOutputParameter> getClassOutputParameters()
      Gets the class-specific output parameters
      Returns:
      the class-specific output parameters
    • setClassOutputParameters

      public void setClassOutputParameters(Map<ProductClass,ClassOutputParameter> classOutputParameters)
      Sets the class-specific output parameters
      Parameters:
      classOutputParameters - the class-specific output parameters to set
    • getOutputParameters

      public Map<String,Parameter> getOutputParameters()
      Gets the output parameters
      Returns:
      the outputParameters
    • setOutputParameters

      public void setOutputParameters(Map<String,Parameter> outputParameters)
      Sets the output parameters
      Parameters:
      outputParameters - the output parameters to set
    • hashCode

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

      public boolean equals(Object obj)
      Description copied from class: PersistentObject
      Test equality of persistent objects based on their unique ID.
      Overrides:
      equals in class PersistentObject
      Parameters:
      obj - the object to compare this object to
      Returns:
      true, if obj is a persistent object and has the same ID, false otherwise
      See Also:
    • toString

      public String toString()
      Overrides:
      toString in class Object