|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mysema.query.types.ExpressionBase<D>
com.mysema.query.types.expr.SimpleExpression<D>
com.mysema.query.types.expr.ComparableExpressionBase<D>
com.mysema.query.types.expr.ComparableExpression<Boolean>
com.mysema.query.types.expr.BooleanExpression
com.mysema.query.BooleanBuilder
public final class BooleanBuilder
BooleanBuilder is a cascading builder for BooleanExpression
expressions.
Field Summary |
---|
Fields inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
primitive |
Fields inherited from class com.mysema.query.types.ExpressionBase |
---|
type |
Constructor Summary | |
---|---|
BooleanBuilder()
|
|
BooleanBuilder(BooleanExpression initial)
|
Method Summary | ||
---|---|---|
|
accept(Visitor<R,C> v,
C context)
Accept the visitor with the given context |
|
BooleanBuilder |
and(Predicate right)
Get an intersection of this and the given expression |
|
BooleanBuilder |
andAnyOf(Predicate... args)
Create the intersection of this and the union of the given args |
|
BooleanBuilder |
andNot(Predicate right)
|
|
BooleanBuilder |
clone()
|
|
boolean |
equals(Object o)
|
|
Expression<?> |
getArg(int index)
Get the argument with the given index |
|
List<Expression<?>> |
getArgs()
Get the arguments of this operation |
|
Operator<? super Boolean> |
getOperator()
Get the operator symbol for this operation |
|
Predicate |
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(Predicate right)
Get a union of this and the given expression |
|
BooleanBuilder |
orAllOf(Predicate... args)
Create the union of this and the intersection of the given args |
|
BooleanBuilder |
orNot(Predicate right)
|
Methods inherited from class com.mysema.query.types.expr.BooleanExpression |
---|
allOf, anyOf, as, as |
Methods inherited from class com.mysema.query.types.expr.ComparableExpression |
---|
between, between, goe, goe, gt, gt, loe, loe, lt, lt, notBetween, notBetween |
Methods inherited from class com.mysema.query.types.expr.ComparableExpressionBase |
---|
asc, castToNum, desc, stringValue |
Methods inherited from class com.mysema.query.types.expr.SimpleExpression |
---|
count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when |
Methods inherited from class com.mysema.query.types.ExpressionBase |
---|
getType, toString |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface com.mysema.query.types.Expression |
---|
getType |
Constructor Detail |
---|
public BooleanBuilder()
public BooleanBuilder(BooleanExpression initial)
Method Detail |
---|
public <R,C> R accept(Visitor<R,C> v, C context)
Expression
accept
in interface Expression<Boolean>
public BooleanBuilder and(@Nullable Predicate right)
BooleanExpression
and
in class BooleanExpression
right
- right hand side of the union
public BooleanBuilder andAnyOf(Predicate... args)
(this && (arg1 || arg2 ... || argN))
args
-
public BooleanBuilder andNot(Predicate right)
public BooleanBuilder clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
public boolean equals(Object o)
equals
in class SimpleExpression<Boolean>
public Expression<?> getArg(int index)
Operation
getArg
in interface Operation<Boolean>
public List<Expression<?>> getArgs()
Operation
getArgs
in interface Operation<Boolean>
public Operator<? super Boolean> getOperator()
Operation
getOperator
in interface Operation<Boolean>
@Nullable public Predicate getValue()
public int hashCode()
hashCode
in class SimpleExpression<Boolean>
public boolean hasValue()
public BooleanBuilder not()
BooleanExpression
not
in interface Predicate
not
in class BooleanExpression
public BooleanBuilder or(@Nullable Predicate right)
BooleanExpression
or
in class BooleanExpression
right
- right hand side of the union
public BooleanBuilder orAllOf(Predicate... args)
(this || (arg1 && arg2 ... && argN))
args
-
public BooleanBuilder orNot(Predicate right)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |