com.mysema.query.types.expr
Class EBooleanConst

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

public final 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
           
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
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()
          Get the constant
 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
allOf, and, anyOf, 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.ESimple
count, countDistinct, eq, in, in, in, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
asExpr, getType, notIn, notIn, notIn, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Constant
asExpr
 

Field Detail

FALSE

public static final EBoolean FALSE

TRUE

public static final EBoolean TRUE
Method Detail

create

public static EBoolean create(Boolean b)

accept

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

eq

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

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

equals

public boolean equals(Object o)
Specified by:
equals in class Expr<Boolean>

getConstant

public Boolean getConstant()
Description copied from interface: Constant
Get the constant

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 ESimple<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


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