public class BooleanExpressionImpl<T> extends ComparableExpressionImpl<Boolean> implements BooleanExpression
Constructor and Description |
---|
BooleanExpressionImpl(Class<Boolean> cls,
String name,
ExpressionType type) |
BooleanExpressionImpl(org.datanucleus.query.expression.Expression queryExpr) |
BooleanExpressionImpl(PersistableExpression parent,
String name) |
Modifier and Type | Method and Description |
---|---|
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.
|
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
cast, count, countDistinct, eq, eq, getQueryExpression, instanceOf, isParameter, isVariable, ne, ne
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
asc, desc, gt, gt, gteq, gteq, lt, lt, lteq, lteq, max, min
cast, count, countDistinct, eq, eq, instanceOf, ne, ne
public BooleanExpressionImpl(PersistableExpression parent, String name)
public BooleanExpressionImpl(org.datanucleus.query.expression.Expression queryExpr)
public BooleanExpressionImpl(Class<Boolean> cls, String name, ExpressionType type)
public BooleanExpression and(BooleanExpression expr)
BooleanExpression
and
in interface BooleanExpression
expr
- The other expressionpublic BooleanExpression not()
BooleanExpression
not
in interface BooleanExpression
public BooleanExpression or(BooleanExpression expr)
BooleanExpression
or
in interface BooleanExpression
expr
- The other expressionCopyright © 2017. All rights reserved.