org.datanucleus.jdo.query
Class BooleanExpressionImpl<T>
java.lang.Object
org.datanucleus.jdo.query.ExpressionImpl<T>
org.datanucleus.jdo.query.ComparableExpressionImpl<java.lang.Boolean>
org.datanucleus.jdo.query.BooleanExpressionImpl<T>
- All Implemented Interfaces:
- BooleanExpression, ComparableExpression<java.lang.Boolean>, Expression<java.lang.Boolean>
public class BooleanExpressionImpl<T>
- extends ComparableExpressionImpl<java.lang.Boolean>
- implements BooleanExpression
Implementation of a BooleanExpression
| Methods inherited from class org.datanucleus.jdo.query.ComparableExpressionImpl |
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min |
| Methods inherited from class org.datanucleus.jdo.query.ExpressionImpl |
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.datanucleus.query.typesafe.ComparableExpression |
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min |
BooleanExpressionImpl
public BooleanExpressionImpl(PersistableExpression parent,
java.lang.String name)
BooleanExpressionImpl
public BooleanExpressionImpl(Expression queryExpr)
BooleanExpressionImpl
public BooleanExpressionImpl(java.lang.Class<java.lang.Boolean> cls,
java.lang.String name,
ExpressionType type)
and
public BooleanExpression and(BooleanExpression expr)
- Description copied from interface:
BooleanExpression
- Method to return the AND of this expression and the other expression.
- Specified by:
and in interface BooleanExpression
- Parameters:
expr - The other expression
- Returns:
- The resultant (boolean) expression
not
public BooleanExpression not()
- Description copied from interface:
BooleanExpression
- Method to negate this expression.
- Specified by:
not in interface BooleanExpression
- Returns:
- The negated expression
or
public BooleanExpression or(BooleanExpression expr)
- Description copied from interface:
BooleanExpression
- Method to return the OR of this expression and the other expression.
- Specified by:
or in interface BooleanExpression
- Parameters:
expr - The other expression
- Returns:
- The resultant (boolean) expression
Copyright © 2011. All Rights Reserved.