com.mysema.query.types.query
Class ObjectSubQuery<A>

java.lang.Object
  extended by com.mysema.query.types.Expr<D>
      extended by com.mysema.query.types.expr.ESimple<A>
          extended by com.mysema.query.types.query.ObjectSubQuery<A>
Type Parameters:
A -
All Implemented Interfaces:
SubQuery<A>, Serializable

public final class ObjectSubQuery<A>
extends ESimple<A>
implements SubQuery<A>

Single result subquery

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.Expr
primitive
 
Constructor Summary
ObjectSubQuery(Class<A> type, 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.ESimple
as, 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

ObjectSubQuery

public ObjectSubQuery(Class<A> type,
                      QueryMetadata md)
Method Detail

accept

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

equals

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

exists

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

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

getMetadata

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

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

hashCode

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

notExists

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

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


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