Class 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 Serializable
    A 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 Detail

      • SingleCaseValue

        public SingleCaseValue()
    • 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.
      • 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 some getMatchCondition() do not require a case value.
      • setMatchCondition

        public void setMatchCondition​(EMatchCondition matchCondition)
        Parameters:
        matchCondition - The operator for comparing the operands.