com.mysema.query.types.expr
Class EBoolean

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<D>
          extended by com.mysema.query.types.expr.EComparableBase<D>
              extended by com.mysema.query.types.expr.EComparable<Boolean>
                  extended by com.mysema.query.types.expr.EBoolean
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
BooleanBuilder, BooleanSubQuery, CBoolean, EBooleanConst, OBoolean, PBoolean, QueryElement

public abstract class EBoolean
extends EComparable<Boolean>

EBoolean represents boolean expressions

Author:
tiwe
See Also:
Boolean, Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
EBoolean()
           
 
Method Summary
static EBoolean allOf(EBoolean... exprs)
           
 EBoolean and(EBoolean right)
          Get an intersection of this and the given expression
static EBoolean anyOf(EBoolean... exprs)
           
 EBoolean as(Path<Boolean> alias)
          Create an alias for the operation
 EBoolean not()
          Get a negation of this boolean expression
 EBoolean or(EBoolean right)
          Get a union of this and the given expression
 
Methods inherited from class com.mysema.query.types.expr.EComparable
between, between, goe, goe, gt, gt, in, 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
accept, equals, getType, hashCode, notIn, notIn, notIn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EBoolean

public EBoolean()
Method Detail

allOf

@Nullable
public static EBoolean allOf(EBoolean... exprs)

anyOf

@Nullable
public static EBoolean anyOf(EBoolean... exprs)

as

public EBoolean as(Path<Boolean> alias)
Description copied from class: ESimple
Create an alias for the operation

Overrides:
as in class EComparable<Boolean>

and

public EBoolean and(@Nullable
                    EBoolean right)
Get an intersection of this and the given expression

Parameters:
right - right hand side of the union
Returns:
this && right

not

public EBoolean not()
Get a negation of this boolean expression

Returns:
!this

or

public EBoolean or(@Nullable
                   EBoolean right)
Get a union of this and the given expression

Parameters:
right - right hand side of the union
Returns:
this || right


Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.