Klasse WorkflowOption

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

@Entity public class WorkflowOption extends PersistentObject
Description of possible options, which can be set as "Dynamic Processing Parameters" in Job Orders created using the owning Workflow
Autor:
Dr. Thomas Bassler
  • Konstruktordetails

    • WorkflowOption

      public WorkflowOption()
  • Methodendetails

    • getWorkflow

      public Workflow getWorkflow()
      Gets the owning workflow
      Gibt zurück:
      the workflow
    • setWorkflow

      public void setWorkflow(Workflow workflow)
      Sets the owning workflow
      Parameter:
      workflow - the workflow to set
    • getName

      public String getName()
      Gets the option name
      Gibt zurück:
      the name
    • setName

      public void setName(String name)
      Sets the option name
      Parameter:
      name - the name to set
    • getDescription

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

      public void setDescription(String description)
      Sets the option description
      Parameter:
      description - the description to set
    • getType

      Gets the option type
      Gibt zurück:
      the type
    • setType

      public void setType(WorkflowOption.WorkflowOptionType type)
      Sets the option type
      Parameter:
      type - the type to set
    • getDefaultValue

      public String getDefaultValue()
      Gets the default value for the option
      Gibt zurück:
      the default value if set, null otherwise
    • setDefaultValue

      public void setDefaultValue(String defaultValue)
      Sets the default value for the option
      Parameter:
      defaultValue - the default value to set
    • getValueRange

      public List<String> getValueRange()
      Gets the available option values
      Gibt zurück:
      the value range (empty list if not specified)
    • setValueRange

      public void setValueRange(List<String> valueRange)
      Sets the available option values
      Parameter:
      valueRange - the value range 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