Package de.xima.fc.workflow.model.nodes
Class FcSwitchCaseProps.SingleCaseValue
java.lang.Object
de.xima.fc.workflow.model.nodes.FcSwitchCaseProps.SingleCaseValue
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FcSwitchCaseProps
@NotEmptyIf(field="caseValue",
dependants="matchCondition",
target=SingleCaseValue.class)
public static final class FcSwitchCaseProps.SingleCaseValue
extends Object
implements Serializable
A single case value with an operator an a right-hand side that is tested against the switch value. Each switch
case can have multiple case values combined with logical operators.
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setCaseValue
(String caseValue) void
setMatchCondition
(EMatchCondition matchCondition) void
setVariableName
(String variableName)
-
Constructor Details
-
SingleCaseValue
public SingleCaseValue()
-
-
Method Details
-
getCaseValue
- Returns:
- The case value to test against the switch value. Note that some
getMatchCondition()
do not require a case value.
-
getMatchCondition
- Returns:
- The operator for comparing the operands.
-
getVariableName
- Returns:
- The name of this condition when used in a
FcSwitchCaseProps.getCustomExpression()
.
-
isShowCaseValue
public boolean isShowCaseValue()- Returns:
- Whether the input field for the case value should be shown in the UI.
-
setCaseValue
- Parameters:
caseValue
- The case value to test against the switch value. Note that somegetMatchCondition()
do not require a case value.
-
setMatchCondition
- Parameters:
matchCondition
- The operator for comparing the operands.
-
setVariableName
- Parameters:
variableName
- The name of this condition when used in aFcSwitchCaseProps.getCustomExpression()
.
-