Package de.dlr.proseo.procmgr.rest.model
Class RestWorkflowOption
java.lang.Object
de.dlr.proseo.procmgr.rest.model.RestWorkflowOption
- All Implemented Interfaces:
Serializable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected StringThe default value of the option (from the value range, if applicable)protected StringTextual description of the workflow optionprotected LongThe persistent id of this objectprotected StringThe mission code (e. g.protected StringShort name of the optionprotected StringData type of the option, one of { string, number, datenumber }(package private) static final longList of all possible values of the optionprotected LongA version identifier to track updates to the object (especially to detect concurrent update attempts)protected StringUnique short name of the owning workflow -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns the defaultValue.Returns the description.getId()Returns the id.@NotNull StringReturns the missionCode.@NotNull StringgetName()Returns the name.@NotNull StringReturns the optionType.Returns the valueRange.Returns the version.@NotNull StringReturns the workflowName.inthashCode()voidsetDefaultValue(String defaultValue) Set the defaultValue.voidsetDescription(String description) Set the description.voidSet the id.voidsetMissionCode(String missionCode) Set the missionCode.voidSet the name.voidsetOptionType(String optionType) Set the optionType.voidsetValueRange(List<String> valueRange) Set the valueRange.voidsetVersion(Long version) Set the version.voidsetWorkflowName(String workflowName) Set the workflowName.toString()
-
Field Details
-
serialVersionUID
static final long serialVersionUID- See Also:
-
id
The persistent id of this object -
version
A version identifier to track updates to the object (especially to detect concurrent update attempts) -
missionCode
The mission code (e. g. S5P) -
workflowName
Unique short name of the owning workflow -
description
Textual description of the workflow option -
name
Short name of the option -
optionType
Data type of the option, one of { string, number, datenumber } -
defaultValue
The default value of the option (from the value range, if applicable) -
valueRange
List of all possible values of the option
-
-
Constructor Details
-
RestWorkflowOption
public RestWorkflowOption()Creates a new RestWorkflowOption. -
RestWorkflowOption
public RestWorkflowOption(Long id, Long version, String missionCode, String workflowName, String description, String name, String optionType, String defaultValue, List<String> valueRange) Creates a new RestWorkflowOption.
-
-
Method Details
-
getId
Returns the id.- Returns:
- id
-
setId
Set the id.- Parameters:
id- the new id
-
getVersion
Returns the version.- Returns:
- version
-
setVersion
Set the version.- Parameters:
version- the new version
-
getMissionCode
Returns the missionCode.- Returns:
- missionCode
-
setMissionCode
Set the missionCode.- Parameters:
missionCode- the new missionCode
-
getWorkflowName
Returns the workflowName.- Returns:
- workflowName
-
setWorkflowName
Set the workflowName.- Parameters:
workflowName- the new workflowName
-
getDescription
Returns the description.- Returns:
- description
-
setDescription
Set the description.- Parameters:
description- the new description
-
getName
Returns the name.- Returns:
- name
-
setName
Set the name.- Parameters:
name- the new name
-
getOptionType
Returns the optionType.- Returns:
- optionType
-
setOptionType
Set the optionType.- Parameters:
optionType- the new optionType
-
getDefaultValue
Returns the defaultValue.- Returns:
- defaultValue
-
setDefaultValue
Set the defaultValue.- Parameters:
defaultValue- the new defaultValue
-
getValueRange
Returns the valueRange.- Returns:
- valueRange
-
setValueRange
Set the valueRange.- Parameters:
valueRange- the new valueRange
-
hashCode
public int hashCode() -
equals
-
toString
-