Package de.xima.fc.workflow.model.nodes
Class FcMultipleConditionProps.SingleCondition
java.lang.Object
de.xima.fc.workflow.model.nodes.FcMultipleConditionProps.SingleCondition
- All Implemented Interfaces:
Serializable
- Enclosing class:
- FcMultipleConditionProps
@NotEmptyIf(field="matchOperandRhs",
dependants="matchCondition",
target=SingleCondition.class)
public static final class FcMultipleConditionProps.SingleCondition
extends Object
implements Serializable
Models a single conditions with an operator and one or two operands. Used by the
FcMultipleConditionProps
. For example, this can be used to test whether a value is greater than another
value.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
void
setMatchCondition
(EMatchCondition matchCondition) void
setMatchOperandLhs
(String matchOperandLhs) void
setMatchOperandRhs
(String matchOperandRhs) void
setVariableName
(String variableName)
-
Constructor Details
-
SingleCondition
public SingleCondition()
-
-
Method Details
-
getMatchCondition
- Returns:
- The operator for comparing the operands.
-
getMatchOperandLhs
- Returns:
- The left hand side with the value to be tested by the
getMatchCondition()
.
-
getMatchOperandRhs
- Returns:
- The right hand side with the value to test against, if required by the
getMatchCondition()
.
-
getVariableName
- Returns:
- The name of this condition when used in a
FcMultipleConditionProps.getCustomExpression()
.
-
isShowMatchOperandRhs
public boolean isShowMatchOperandRhs()- Returns:
- Whether the input field for the right hand side match operand should be shown in the UI.
-
setMatchCondition
- Parameters:
matchCondition
- The operator for comparing the operands.
-
setMatchOperandLhs
- Parameters:
matchOperandLhs
- The left hand side with the value to be tested by thegetMatchCondition()
.
-
setMatchOperandRhs
- Parameters:
matchOperandRhs
- The right hand side with the value to test against, if required by thegetMatchCondition()
.
-
setVariableName
- Parameters:
variableName
- The name of this condition when used in aFcMultipleConditionProps.getCustomExpression()
.
-