Package com.hp.ucmdb.api.topology
Interface ConditionExpressionBuilder<T,O>
- All Superinterfaces:
ConditionExpression<T,
O>
Services to build complex expressions.
- Since:
- UCMDB 9.0
-
Method Summary
Modifier and TypeMethodDescriptionand
(ConditionExpression<T, O> subExpression) Defines anAND
condition between this condition and the specified condition expression.or
(ConditionExpression<T, O> subExpression) Defines anOR
condition between this condition and the given condition expression.withOp
(O op, ConditionExpression<T, O> rightExpression) Defines the condition specified by "op" between this condition and the specified condition expression.Methods inherited from interface com.hp.ucmdb.api.topology.ConditionExpression
isLeafExpression, leaf, leaves, left, op, right, visit
-
Method Details
-
and
Defines anAND
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 anOR
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
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.
-