Package de.xima.fc.workflow.model.nodes
Class FcMultipleConditionProps
- java.lang.Object
-
- de.xima.fc.workflow.model.nodes.FcMultipleConditionProps
-
- All Implemented Interfaces:
Serializable
@FcMultipleConditionsCustomExpression @NotEmptyIf(field="customExpression", dependants="combinationType", target=FcMultipleConditionProps.class) public final class FcMultipleConditionProps extends Object implements Serializable
The properties model for workflow nodes of typeEWorkflowNodeType.FC_MULTIPLE_CONDITION
.- Since:
- 7.0.0
- Author:
- XIMA MEDIA GmbH
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
FcMultipleConditionProps.SingleCondition
Models a single conditions with an operator and one or two operands.
-
Constructor Summary
Constructors Constructor Description FcMultipleConditionProps()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EMultipleConditionCombinationType
getCombinationType()
List<FcMultipleConditionProps.SingleCondition>
getConditions()
String
getCustomExpression()
String
getDescription()
String
getLabelNo()
String
getLabelYes()
boolean
isShowCustomExpression()
void
setCombinationType(EMultipleConditionCombinationType combinationType)
void
setConditions(List<FcMultipleConditionProps.SingleCondition> conditions)
void
setCustomExpression(String customExpression)
void
setDescription(String description)
void
setLabelNo(String labelNo)
void
setLabelYes(String labelYes)
-
-
-
Method Detail
-
getCombinationType
public EMultipleConditionCombinationType getCombinationType()
- Returns:
- How the individual conditions are combined.
-
getConditions
public List<FcMultipleConditionProps.SingleCondition> getConditions()
- Returns:
- A list of individual conditions that are combined via the selected
getCombinationType()
.
-
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.
-
getLabelNo
public String getLabelNo()
- Returns:
- The label that is shown on the
no
branch. Defaults to the localized version of the wordno
.
-
getLabelYes
public String getLabelYes()
- Returns:
- The label that is shown on the
yes
branch. Defaults to the localized version of the wordyes
.
-
isShowCustomExpression
public boolean isShowCustomExpression()
- Returns:
- Whether the custom expression should be shown in the UI.
-
setCombinationType
public void setCombinationType(EMultipleConditionCombinationType combinationType)
- Parameters:
combinationType
- How the individual conditions are combined.
-
setConditions
public void setConditions(List<FcMultipleConditionProps.SingleCondition> conditions)
- Parameters:
conditions
- A list of individual conditions that are combined via the selectedgetCombinationType()
.
-
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.
-
setLabelNo
public void setLabelNo(String labelNo)
- Parameters:
labelNo
- The label that is shown on theno
branch. Defaults to the localized version of the wordno
.
-
setLabelYes
public void setLabelYes(String labelYes)
- Parameters:
labelYes
- The label that is shown on theyes
branch. Defaults to the localized version of the wordyes
.
-
-