Interface ConditionExpressionBuilder<T,O>

All Superinterfaces:
ConditionExpression<T,O>

public interface ConditionExpressionBuilder<T,O> extends ConditionExpression<T,O>
Services to build complex expressions.
Since:
UCMDB 9.0
  • Method Details

    • and

      ConditionExpression<T,O> and(ConditionExpression<T,O> subExpression)
      Defines an AND condition between this condition and the specified condition expression.

      This condition is the left (first) child of the returned expression.
      The sub-expression is the right (second) child of the returned expression.

      Parameters:
      subExpression - The expression to be ANDed with this condition.
      Returns:
      the result expression of the AND condition.
    • or

      Defines an OR condition between this condition and the given condition expression.

      This condition is the left (first) child of the returned expression.
      The sub-expression is the right (second) child of the returned expression.

      Parameters:
      subExpression - The expression to be ORed with this condition.
      Returns:
      the result expression of the "or" condition.
    • withOp

      ConditionExpression<T,O> withOp(O op, ConditionExpression<T,O> rightExpression)
      Defines the condition specified by "op" between this condition and the specified condition expression.

      This condition is the left (first) child of the returned expression.
      The given expression is the right (second) child of the returned expression.

      Parameters:
      rightExpression - The expression to be joined with this condition.
      op - The operator that defines the test performed between this condition and the rightExpression.
      Returns:
      the result expression of the "op" condition.