com.mysema.query.types.query
Class SubQueryMixin<T>

java.lang.Object
  extended by com.mysema.query.types.query.SubQueryMixin<T>
All Implemented Interfaces:
SubQuery<T>

public class SubQueryMixin<T>
extends Object
implements SubQuery<T>

Mixin implementation of the SubQuery interface

Author:
tiwe

Constructor Summary
SubQueryMixin(SubQuery<T> self, QueryMetadata metadata)
           
 
Method Summary
 Expr<T> asExpr()
          Cast to Expr
 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 java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubQueryMixin

public SubQueryMixin(SubQuery<T> self,
                     QueryMetadata metadata)
Method Detail

equals

public boolean equals(Object o)
Overrides:
equals in class Object

exists

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

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

getMetadata

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

notExists

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

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

asExpr

public Expr<T> asExpr()
Description copied from interface: SubQuery
Cast to Expr

Specified by:
asExpr in interface SubQuery<T>
Returns:


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