org.datanucleus.query.typesafe
Interface BooleanExpression

All Superinterfaces:
ComparableExpression<java.lang.Boolean>, Expression<java.lang.Boolean>
All Known Implementing Classes:
BooleanExpressionImpl

public interface BooleanExpression
extends ComparableExpression<java.lang.Boolean>

Representation of a boolean expression.


Method Summary
 BooleanExpression and(BooleanExpression expr)
          Method to return the AND of this expression and the other expression.
 BooleanExpression not()
          Method to negate this expression.
 BooleanExpression or(BooleanExpression expr)
          Method to return the OR of this expression and the other expression.
 
Methods inherited from interface org.datanucleus.query.typesafe.ComparableExpression
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
 
Methods inherited from interface org.datanucleus.query.typesafe.Expression
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
 

Method Detail

and

BooleanExpression and(BooleanExpression expr)
Method to return the AND of this expression and the other expression.

Parameters:
expr - The other expression
Returns:
The resultant (boolean) expression

or

BooleanExpression or(BooleanExpression expr)
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


Copyright © 2011. All Rights Reserved.