Class FcSwitchCaseProps

java.lang.Object
de.xima.fc.workflow.model.nodes.FcSwitchCaseProps
All Implemented Interfaces:
Serializable

@FcSwitchCaseCustomExpression @NotEmptyIf(field="customExpression", dependants="combinationType", target=FcSwitchCaseProps.class) public final class FcSwitchCaseProps extends Object implements Serializable
The properties model for workflow nodes of type EWorkflowNodeType.FC_SWITCH_CASE.
Author:
XIMA MEDIA GmbH
See Also:
  • Constructor Details

    • FcSwitchCaseProps

      public FcSwitchCaseProps()
  • Method Details

    • getCaseValues

      public List<FcSwitchCaseProps.SingleCaseValue> getCaseValues()
      Returns:
      A list of individual case values that are combined via the selected getCombinationType().
    • getCombinationType

      public EMultipleConditionCombinationType getCombinationType()
      Returns:
      How the individual conditions are combined.
    • 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.
    • isShowCustomExpression

      public boolean isShowCustomExpression()
      Returns:
      Whether the custom expression should be shown in the UI.
    • setCaseValues

      public void setCaseValues(List<FcSwitchCaseProps.SingleCaseValue> caseValues)
      Parameters:
      caseValues - A list of individual case values that are combined via the selected getCombinationType().
    • setCombinationType

      public void setCombinationType(EMultipleConditionCombinationType combinationType)
      Parameters:
      combinationType - How the individual conditions are combined.
    • 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.