com.mysema.query.types.expr
Class EBoolean

java.lang.Object
  extended by com.mysema.query.types.expr.Expr<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, CBoolean, EBooleanConst, OBoolean, PBoolean

public abstract class EBoolean
extends EComparable<Boolean>

EBoolean represents boolean expressions

Author:
tiwe
See Also:
Boolean, Serialized Form

Constructor Summary
EBoolean()
           
 
Method Summary
 EBoolean and(EBoolean right)
          Get an intersection of this and the given expression
 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, 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
accept, 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

EBoolean

public EBoolean()
Method Detail

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.