|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<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 final class BooleanBuilder
BooleanBuilder is a cascading builder for EBoolean
expressions.
Field Summary |
---|
Fields inherited from class com.mysema.query.types.Expr |
---|
primitive |
Constructor Summary | |
---|---|
BooleanBuilder()
|
Method Summary | |
---|---|
void |
accept(Visitor v)
|
static EBoolean |
allOf(EBoolean... exprs)
|
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)
|
static EBoolean |
anyOf(EBoolean... exprs)
|
BooleanBuilder |
clone()
|
boolean |
equals(Object o)
|
EBoolean |
getValue()
|
int |
hashCode()
|
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.ESimple |
---|
count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
asExpr, getType, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BooleanBuilder()
Method Detail |
---|
@Nullable public static EBoolean allOf(EBoolean... exprs)
@Nullable public static EBoolean anyOf(EBoolean... exprs)
public void accept(Visitor v)
accept
in class Expr<Boolean>
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 clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object o)
equals
in class Expr<Boolean>
@Nullable public EBoolean getValue()
public int hashCode()
hashCode
in class Expr<Boolean>
public boolean hasValue()
public BooleanBuilder not()
EBoolean
not
in class EBoolean
public BooleanBuilder or(@Nullable EBoolean right)
EBoolean
or
in class EBoolean
right
- right hand side of the union
public BooleanBuilder orAllOf(EBoolean... args)
(this || (arg1 && arg2 ... && argN))
args
-
public BooleanBuilder orNot(EBoolean right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |