com.mysema.query.types.expr
Class OBoolean

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.OBoolean
All Implemented Interfaces:
Operation<Boolean>, Serializable

public class OBoolean
extends EBoolean
implements Operation<Boolean>

OBoolean represents boolean operations

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Method Summary
 void accept(Visitor v)
           
static EBoolean create(Operator<? super Boolean> op, Expr<?>... args)
           
 boolean equals(Object o)
           
 Expr<?> getArg(int index)
          Get the argument with the given index
 List<Expr<?>> getArgs()
          Get the arguments of this operation
 Operator<? super Boolean> getOperator()
          Get the operator symbol for this operation
 int hashCode()
           
 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, eq, in, in, in, ne, 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.Operation
asExpr, getType
 

Method Detail

create

public static EBoolean create(Operator<? super Boolean> op,
                              Expr<?>... args)

accept

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

getArg

public Expr<?> getArg(int index)
Description copied from interface: Operation
Get the argument with the given index

Specified by:
getArg in interface Operation<Boolean>
Returns:

getArgs

public List<Expr<?>> getArgs()
Description copied from interface: Operation
Get the arguments of this operation

Specified by:
getArgs in interface Operation<Boolean>
Returns:

getOperator

public Operator<? super Boolean> getOperator()
Description copied from interface: Operation
Get the operator symbol for this operation

Specified by:
getOperator in interface Operation<Boolean>
Returns:

not

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

Overrides:
not in class EBoolean
Returns:
!this

equals

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

hashCode

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


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