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 SerializableA 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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SingleCaseValue()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCaseValue()EMatchConditiongetMatchCondition()StringgetVariableName()booleanisShowCaseValue()voidsetCaseValue(String caseValue)voidsetMatchCondition(EMatchCondition matchCondition)voidsetVariableName(String variableName)
-
-
-
Method Detail
-
getCaseValue
public String getCaseValue()
- Returns:
- The case value to test against the switch value. Note that some
getMatchCondition()do not require a case value.
-
getMatchCondition
public EMatchCondition getMatchCondition()
- Returns:
- The operator for comparing the operands.
-
getVariableName
public String 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
public void setCaseValue(String caseValue)
- Parameters:
caseValue- The case value to test against the switch value. Note that somegetMatchCondition()do not require a case value.
-
setMatchCondition
public void setMatchCondition(EMatchCondition matchCondition)
- Parameters:
matchCondition- The operator for comparing the operands.
-
setVariableName
public void setVariableName(String variableName)
- Parameters:
variableName- The name of this condition when used in aFcSwitchCaseProps.getCustomExpression().
-
-