com.mysema.query.types.query
Class BooleanSubQuery

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.query.BooleanSubQuery
All Implemented Interfaces:
SubQuery<Boolean>, Serializable

public final class BooleanSubQuery
extends EBoolean
implements SubQuery<Boolean>

Single result subquery

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
BooleanSubQuery(QueryMetadata md)
           
 
Method Summary
 void accept(Visitor v)
           
 boolean equals(Object o)
           
 EBoolean exists()
          Get an exists(this) expression for the subquery
 QueryMetadata getMetadata()
          Get the query metadata for the subquery
 int hashCode()
           
 EBoolean notExists()
          Get a not exists(this) expression for the subquery
 
Methods inherited from class com.mysema.query.types.expr.EBoolean
allOf, and, anyOf, as, not, or
 
Methods inherited from class com.mysema.query.types.expr.EComparable
between, between, goe, goe, gt, gt, in, 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
asExpr, count, countDistinct, eq, eq, in, in, in, ne, ne, when, when
 
Methods inherited from class com.mysema.query.types.Expr
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.SubQuery
asExpr
 

Constructor Detail

BooleanSubQuery

public BooleanSubQuery(QueryMetadata md)
Method Detail

accept

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

equals

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

exists

public EBoolean exists()
Description copied from interface: SubQuery
Get an exists(this) expression for the subquery

Specified by:
exists in interface SubQuery<Boolean>
Returns:

getMetadata

public QueryMetadata getMetadata()
Description copied from interface: SubQuery
Get the query metadata for the subquery

Specified by:
getMetadata in interface SubQuery<Boolean>
Returns:

hashCode

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

notExists

public EBoolean notExists()
Description copied from interface: SubQuery
Get a not exists(this) expression for the subquery

Specified by:
notExists in interface SubQuery<Boolean>
Returns:


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