Package javax.jdo.query
Interface BooleanExpression
- All Superinterfaces:
ComparableExpression<Boolean>
,Expression<Boolean>
Representation of a boolean expression.
-
Method Summary
Modifier and TypeMethodDescriptionand
(BooleanExpression expr) Method to return the AND of this expression and the other expression.neg()
Method to return an expression that is the current expression negated.not()
Method to negate this expression.or
(BooleanExpression expr) Method to return the OR of this expression and the other expression.Methods inherited from interface javax.jdo.query.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
Methods inherited from interface javax.jdo.query.Expression
as, cast, count, countDistinct, eq, eq, instanceOf, ne, ne
-
Method Details
-
and
Method to return the AND of this expression and the other expression.- Parameters:
expr
- The other expression- Returns:
- The resultant (boolean) expression
-
or
Method to return the OR of this expression and the other expression.- Parameters:
expr
- The other expression- Returns:
- The resultant (boolean) expression
-
not
BooleanExpression not()Method to negate this expression.- Returns:
- The negated expression
-
neg
BooleanExpression neg()Method to return an expression that is the current expression negated.- Returns:
- The negated expression
-