Interface IfThenElseExpression<T>

    • Method Detail

      • ifThen

        IfThenElseExpression<T> ifThen​(BooleanExpression ifExpr,
                                       T value)
        Method to add an "IF (...) ..." clause. If called multiple times, will add extra "IF (...) ..." or "ELSE IF (...) ..."
        Parameters:
        ifExpr - The if expression
        value - The return value
        Returns:
        This expression
      • ifThen

        IfThenElseExpression<T> ifThen​(BooleanExpression ifExpr,
                                       Expression<T> valueExpr)
        Method to add an "IF (...) ..." clause. If called multiple times, will add extra "IF (...) ..." or "ELSE IF (...) ..."
        Parameters:
        ifExpr - The if expression
        valueExpr - The return value expression
        Returns:
        This expression
      • elseEnd

        IfThenElseExpression<T> elseEnd​(T value)
        Method to add the "ELSE ..." clause. If called multiple times will replace the previous else clause
        Parameters:
        value - The return value
        Returns:
        This expression
      • elseEnd

        IfThenElseExpression<T> elseEnd​(Expression<T> valueExpr)
        Method to add the "ELSE ..." clause. If called multiple times will replace the previous else clause
        Parameters:
        valueExpr - The return value expression
        Returns:
        This expression