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 type
EWorkflowNodeType.FC_SWITCH_CASE
.- Author:
- XIMA MEDIA GmbH
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
A single case value with an operator an a right-hand side that is tested against the switch value. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCaseValues
(List<FcSwitchCaseProps.SingleCaseValue> caseValues) void
setCombinationType
(EMultipleConditionCombinationType combinationType) void
setCustomExpression
(String customExpression) void
setDescription
(String description)
-
Constructor Details
-
FcSwitchCaseProps
public FcSwitchCaseProps()
-
-
Method Details
-
getCaseValues
- Returns:
- A list of individual case values that are combined via the selected
getCombinationType()
.
-
getCombinationType
- Returns:
- How the individual conditions are combined.
-
getCustomExpression
- Returns:
- A custom boolean infix expression for combining the individual conditions.
-
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
- Parameters:
caseValues
- A list of individual case values that are combined via the selectedgetCombinationType()
.
-
setCombinationType
- Parameters:
combinationType
- How the individual conditions are combined.
-
setCustomExpression
- Parameters:
customExpression
- A custom boolean infix expression for combining the individual conditions.
-
setDescription
- Parameters:
description
- A human-readable description for this node.
-