|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.types.expr.Expr<D>
com.mysema.query.types.expr.EComparableBase<D>
com.mysema.query.types.expr.EComparable<Boolean>
com.mysema.query.types.expr.EBoolean
com.mysema.query.BooleanBuilder
public class BooleanBuilder
BooleanBuilder is a cascading builder for Boolean expressions.
Constructor Summary | |
---|---|
BooleanBuilder()
|
Method Summary | |
---|---|
void |
accept(Visitor v)
|
BooleanBuilder |
and(EBoolean right)
Get an intersection of this and the given expression |
BooleanBuilder |
andAnyOf(EBoolean... args)
Create the intersection of this and the union of the given args (this && (arg1 || arg2 ... || argN)) |
BooleanBuilder |
andNot(EBoolean right)
|
EBoolean |
getValue()
|
boolean |
hasValue()
Returns true if the value is set, and false, if not |
BooleanBuilder |
not()
Get a negation of this boolean expression |
BooleanBuilder |
or(EBoolean right)
Get a union of this and the given expression |
BooleanBuilder |
orAllOf(EBoolean... args)
Create the union of this and the intersection of the given args (this || (arg1 && arg2 ... && argN)) |
BooleanBuilder |
orNot(EBoolean right)
|
Methods inherited from class com.mysema.query.types.expr.EComparable |
---|
between, between, goe, goe, gt, gt, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.EComparableBase |
---|
asc, castToNum, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.Expr |
---|
count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanBuilder()
Method Detail |
---|
public BooleanBuilder and(@Nullable EBoolean right)
EBoolean
and
in class EBoolean
right
- right hand side of the union
public BooleanBuilder andAnyOf(EBoolean... args)
(this && (arg1 || arg2 ... || argN))
args
-
public BooleanBuilder andNot(EBoolean right)
public BooleanBuilder or(@Nullable EBoolean right)
EBoolean
or
in class EBoolean
right
- right hand side of the union
public BooleanBuilder orNot(EBoolean right)
public BooleanBuilder orAllOf(EBoolean... args)
(this || (arg1 && arg2 ... && argN))
args
-
public BooleanBuilder not()
EBoolean
not
in class EBoolean
public boolean hasValue()
public EBoolean getValue()
public void accept(Visitor v)
accept
in class Expr<Boolean>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |