com.mysema.query.types.expr
Class EBooleanConst

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
                  extended by com.mysema.query.types.expr.EBooleanConst
All Implemented Interfaces:
Constant<Boolean>, Serializable

public class EBooleanConst
extends EBoolean
implements Constant<Boolean>

EBooleanConst provides constants for Boolean.TRUE and Boolean.FALSE

Author:
tiwe
See Also:
Serialized Form

Field Summary
static EBoolean FALSE
           
static EBoolean TRUE
           
 
Method Summary
 void accept(Visitor v)
           
static EBoolean create(Boolean b)
           
 EBoolean eq(Boolean b)
          Get a this == right expression
 boolean equals(Object o)
           
 Boolean getConstant()
           
 int hashCode()
           
 EBoolean ne(Boolean b)
          Get a this <> right expression
 EBoolean not()
          Get a negation of this boolean expression
 
Methods inherited from class com.mysema.query.types.expr.EBoolean
and, or
 
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
count, countAll, countDistinct, eq, getType, in, in, in, ne, notIn, notIn, notIn, toString, when, when
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

FALSE

public static final EBoolean FALSE

TRUE

public static final EBoolean TRUE
Method Detail

create

public static final EBoolean create(Boolean b)

eq

public EBoolean eq(Boolean b)
Description copied from class: Expr
Get a this == right expression

Overrides:
eq in class Expr<Boolean>
Parameters:
b - rhs of the comparison
Returns:

equals

public boolean equals(Object o)
Overrides:
equals in class Object

getConstant

public Boolean getConstant()
Specified by:
getConstant in interface Constant<Boolean>
Returns:

hashCode

public int hashCode()
Overrides:
hashCode in class Expr<Boolean>

ne

public EBoolean ne(Boolean b)
Description copied from class: Expr
Get a this <> right expression

Overrides:
ne in class Expr<Boolean>
Parameters:
b - rhs of the comparison
Returns:

not

public EBoolean not()
Description copied from class: EBoolean
Get a negation of this boolean expression

Overrides:
not in class EBoolean
Returns:
!this

accept

public void accept(Visitor v)
Specified by:
accept in class Expr<Boolean>


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