Package de.xima.fc.workflow.model.nodes
Class FcSwitchCaseProps
- java.lang.Object
-
- de.xima.fc.workflow.model.nodes.FcSwitchCaseProps
-
- All Implemented Interfaces:
Serializable
@FcSwitchCaseCustomExpression @NotEmptyIf(field="customExpression", dependants="combinationType", target=FcSwitchCaseProps.class) public final class FcSwitchCaseProps extends Object implements Serializable
The properties model for workflow nodes of typeEWorkflowNodeType.FC_SWITCH_CASE
.- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FcSwitchCaseProps.SingleCaseValue
A single case value with an operator an a right-hand side that is tested against the switch value.
-
Constructor Summary
Constructors Constructor Description FcSwitchCaseProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<FcSwitchCaseProps.SingleCaseValue>
getCaseValues()
EMultipleConditionCombinationType
getCombinationType()
String
getCustomExpression()
String
getDescription()
boolean
isShowCustomExpression()
void
setCaseValues(List<FcSwitchCaseProps.SingleCaseValue> caseValues)
void
setCombinationType(EMultipleConditionCombinationType combinationType)
void
setCustomExpression(String customExpression)
void
setDescription(String description)
-
-
-
Method Detail
-
getCaseValues
public List<FcSwitchCaseProps.SingleCaseValue> getCaseValues()
- Returns:
- A list of individual case values that are combined via the selected
getCombinationType()
.
-
getCombinationType
public EMultipleConditionCombinationType getCombinationType()
- Returns:
- How the individual conditions are combined.
-
getCustomExpression
public String getCustomExpression()
- Returns:
- A custom boolean infix expression for combining the individual conditions.
-
getDescription
public String getDescription()
- Returns:
- A human-readable description for this node.
-
isShowCustomExpression
public boolean isShowCustomExpression()
- Returns:
- Whether the custom expression should be shown in the UI.
-
setCaseValues
public void setCaseValues(List<FcSwitchCaseProps.SingleCaseValue> caseValues)
- Parameters:
caseValues
- A list of individual case values that are combined via the selectedgetCombinationType()
.
-
setCombinationType
public void setCombinationType(EMultipleConditionCombinationType combinationType)
- Parameters:
combinationType
- How the individual conditions are combined.
-
setCustomExpression
public void setCustomExpression(String customExpression)
- Parameters:
customExpression
- A custom boolean infix expression for combining the individual conditions.
-
setDescription
public void setDescription(String description)
- Parameters:
description
- A human-readable description for this node.
-
-