Package de.dlr.proseo.model
Class WorkflowOption
java.lang.Object
de.dlr.proseo.model.PersistentObject
de.dlr.proseo.model.WorkflowOption
Description of possible options, which can be set as "Dynamic Processing Parameters" in Job Orders
created using the owning Workflow
- Author:
- Dr. Thomas Bassler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumAllowed types for workflow options -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanTest equality of persistent objects based on their unique ID.Gets the default value for the optionGets the option descriptiongetName()Gets the option namegetType()Gets the option typeGets the available option valuesGets the owning workflowinthashCode()voidsetDefaultValue(String defaultValue) Sets the default value for the optionvoidsetDescription(String description) Sets the option descriptionvoidSets the option namevoidSets the option typevoidsetValueRange(List<String> valueRange) Sets the available option valuesvoidsetWorkflow(Workflow workflow) Sets the owning workflowtoString()Methods inherited from class de.dlr.proseo.model.PersistentObject
getId, getVersion, incrementVersion, setId
-
Constructor Details
-
WorkflowOption
public WorkflowOption()
-
-
Method Details
-
getWorkflow
Gets the owning workflow- Returns:
- the workflow
-
setWorkflow
Sets the owning workflow- Parameters:
workflow- the workflow to set
-
getName
Gets the option name- Returns:
- the name
-
setName
Sets the option name- Parameters:
name- the name to set
-
getDescription
Gets the option description- Returns:
- the description
-
setDescription
Sets the option description- Parameters:
description- the description to set
-
getType
Gets the option type- Returns:
- the type
-
setType
Sets the option type- Parameters:
type- the type to set
-
getDefaultValue
Gets the default value for the option- Returns:
- the default value if set, null otherwise
-
setDefaultValue
Sets the default value for the option- Parameters:
defaultValue- the default value to set
-
getValueRange
Gets the available option values- Returns:
- the value range (empty list if not specified)
-
setValueRange
Sets the available option values- Parameters:
valueRange- the value range 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
-