|
||||||||||
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()
|
|
BooleanBuilder(EBoolean initial)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
|
|
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 |
|
BooleanBuilder |
andNot(EBoolean right)
|
|
BooleanBuilder |
clone()
|
|
boolean |
equals(Object o)
|
|
Expr<?> |
getArg(int index)
Get the argument with the given index |
|
List<Expr<?>> |
getArgs()
Get the arguments of this operation |
|
Operator<? super Boolean> |
getOperator()
Get the operator symbol for this operation |
|
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 |
|
BooleanBuilder |
orNot(EBoolean right)
|
Methods inherited from class com.mysema.query.types.expr.EBoolean |
---|
allOf, anyOf, as, as |
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 |
---|
asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when |
Methods inherited from class com.mysema.query.types.Expr |
---|
getType, notIn, notIn, notIn, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Operation |
---|
asExpr, getType |
Constructor Detail |
---|
public BooleanBuilder()
public BooleanBuilder(EBoolean initial)
Method Detail |
---|
public <R,C> R accept(Visitor<R,C> v, C context)
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>
public Expr<?> getArg(int index)
Operation
getArg
in interface Operation<Boolean>
public List<Expr<?>> getArgs()
Operation
getArgs
in interface Operation<Boolean>
public Operator<? super Boolean> getOperator()
Operation
getOperator
in interface Operation<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 |