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 classFcMultipleConditionProps.SingleConditionModels 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 EMultipleConditionCombinationTypegetCombinationType()List<FcMultipleConditionProps.SingleCondition>getConditions()StringgetCustomExpression()StringgetDescription()StringgetLabelNo()StringgetLabelYes()booleanisShowCustomExpression()voidsetCombinationType(EMultipleConditionCombinationType combinationType)voidsetConditions(List<FcMultipleConditionProps.SingleCondition> conditions)voidsetCustomExpression(String customExpression)voidsetDescription(String description)voidsetLabelNo(String labelNo)voidsetLabelYes(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
nobranch. Defaults to the localized version of the wordno.
-
getLabelYes
public String getLabelYes()
- Returns:
- The label that is shown on the
yesbranch. 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 thenobranch. Defaults to the localized version of the wordno.
-
setLabelYes
public void setLabelYes(String labelYes)
- Parameters:
labelYes- The label that is shown on theyesbranch. Defaults to the localized version of the wordyes.
-
-