com.mysema.query.types.operation
Class OBoolean
java.lang.Object
com.mysema.query.types.expr.Expr<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.operation.OBoolean
- All Implemented Interfaces:
- Operation<Boolean,Boolean>, Serializable
public class OBoolean
- extends EBoolean
- implements Operation<Boolean,Boolean>
OBoolean represents boolean operations
- Author:
- tiwe
- See Also:
- Serialized Form
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.Expr |
count, countAll, countDistinct, eq, eq, getType, hashCode, in, in, in, ne, ne, notIn, notIn, notIn, toString, when, when |
Methods inherited from interface com.mysema.query.types.operation.Operation |
getType |
create
public static EBoolean create(Operator<Boolean> op,
Expr<?>... args)
accept
public void accept(Visitor v)
- Specified by:
accept
in class Expr<Boolean>
asExpr
public EBoolean asExpr()
- Specified by:
asExpr
in interface Operation<Boolean,Boolean>
- Returns:
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,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,Boolean>
- Returns:
getOperator
public Operator<Boolean> getOperator()
- Description copied from interface:
Operation
- Get the operator symbol for this operation
- Specified by:
getOperator
in interface Operation<Boolean,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
Copyright © 2007-2010 Mysema Ltd. All Rights Reserved.