Package de.dlr.proseo.model
Class OrderTemplateBase
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.OrderTemplateBase
- Direct Known Subclasses:
OrderTemplate,Workflow
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the class-specific output parametersGets the status of the "enabled" flagGets the input filtersGets the mission this template base belongs togetName()Gets the template nameGets the output file classGets the output parametersGets the priority value for schedulingGets the processing modeGets the slice duration for sliced ordersGets the overlap between adjacent slicesGets the order slicing typeinthashCode()Indicates, whether the workflow is available for usevoidsetClassOutputParameters(Map<ProductClass, ClassOutputParameter> classOutputParameters) Sets the class-specific output parametersvoidsetEnabled(Boolean enabled) Sets the status of the "enabled" flagvoidsetInputFilters(Map<ProductClass, InputFilter> inputFilters) Sets the input filtersvoidsetMission(Mission mission) Sets the mission this template base belongs tovoidSets the template namevoidsetOutputFileClass(String outputFileClass) Sets the output file classvoidsetOutputParameters(Map<String, Parameter> outputParameters) Sets the output parametersvoidsetPriority(Integer priority) Sets the priority value for schedulingvoidsetProcessingMode(String processingMode) Sets the processing modevoidsetSliceDuration(Duration sliceDuration) Sets the slice duration for sliced ordersvoidsetSliceOverlap(Duration sliceOverlap) Sets the overlap between adjacent slicesvoidsetSlicingType(OrderSlicingType slicingType) Sets the order slicing typetoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
OrderTemplateBase
public OrderTemplateBase()
-
-
Method Details
-
getMission
Gets the mission this template base belongs to- Returns:
- the mission
-
setMission
Sets the mission this template base belongs to- Parameters:
mission- the mission to set
-
getName
Gets the template name- Returns:
- the name
-
setName
Sets the template name- Parameters:
name- the name to set
-
getEnabled
Gets the status of the "enabled" flag- Returns:
- the enabled flag
-
isEnabled
Indicates, whether the workflow is available for use- Returns:
- the enabled flag
-
setEnabled
Sets the status of the "enabled" flag- Parameters:
enabled- the status of the enabled flag to set
-
getPriority
Gets the priority value for scheduling- Returns:
- the priority
-
setPriority
Sets the priority value for scheduling- Parameters:
priority- the priority to set
-
getOutputFileClass
Gets the output file class- Returns:
- the output file class
-
setOutputFileClass
Sets the output file class- Parameters:
outputFileClass- the output file class to set
-
getProcessingMode
Gets the processing mode- Returns:
- the processing mode
-
setProcessingMode
Sets the processing mode- Parameters:
processingMode- the processing mode to set
-
getSlicingType
Gets the order slicing type- Returns:
- the slicing type
-
setSlicingType
Sets the order slicing type- Parameters:
slicingType- the slicing type to set
-
getSliceDuration
Gets the slice duration for sliced orders- Returns:
- the slice duration
-
setSliceDuration
Sets the slice duration for sliced orders- Parameters:
sliceDuration- the slice duration to set
-
getSliceOverlap
Gets the overlap between adjacent slices- Returns:
- the slice overlap
-
setSliceOverlap
Sets the overlap between adjacent slices- Parameters:
sliceOverlap- the slice overlap to set
-
getInputFilters
Gets the input filters- Returns:
- the input filters
-
setInputFilters
Sets the input filters- Parameters:
inputFilters- the input filters to set
-
getClassOutputParameters
Gets the class-specific output parameters- Returns:
- the class-specific output parameters
-
setClassOutputParameters
Sets the class-specific output parameters- Parameters:
classOutputParameters- the class-specific output parameters to set
-
getOutputParameters
Gets the output parameters- Returns:
- the outputParameters
-
setOutputParameters
Sets the output parameters- Parameters:
outputParameters- the output parameters to set
-
hashCode
public int hashCode()- Overrides:
hashCodein classPersistentObject
-
equals
Description copied from class:PersistentObjectTest equality of persistent objects based on their unique ID.- Overrides:
equalsin classPersistentObject- 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
-