com.mysema.query.types.expr
Class EBooleanConst
java.lang.Object
com.mysema.query.types.Expr<D>
com.mysema.query.types.expr.ESimple<D>
com.mysema.query.types.expr.EComparableBase<D>
com.mysema.query.types.expr.EComparable<Boolean>
com.mysema.query.types.expr.EBoolean
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
Fields inherited from class com.mysema.query.types.Expr |
primitive |
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 interface com.mysema.query.types.Constant |
asExpr |
FALSE
public static final EBoolean FALSE
TRUE
public static final EBoolean TRUE
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.