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

java.lang.Object
  extended by com.mysema.query.types.ExpressionBase<T>
      extended by com.mysema.query.types.SubQueryExpressionImpl<T>
All Implemented Interfaces:
Expression<T>, SubQueryExpression<T>, Serializable

public class SubQueryExpressionImpl<T>
extends ExpressionBase<T>
implements SubQueryExpression<T>

SubQueryExpressionImpl is the default implementation of the SubQueryExpression interface

Author:
tiwe
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.ExpressionBase
type
 
Constructor Summary
SubQueryExpressionImpl(Class<? extends T> type, QueryMetadata metadata)
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 boolean equals(Object o)
           
 QueryMetadata getMetadata()
          Get the query metadata for the subquery
 int hashCode()
           
 
Methods inherited from class com.mysema.query.types.ExpressionBase
getType, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Expression
getType
 

Constructor Detail

SubQueryExpressionImpl

public SubQueryExpressionImpl(Class<? extends T> type,
                              QueryMetadata metadata)
Method Detail

equals

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

getMetadata

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

accept

public <R,C> R accept(Visitor<R,C> v,
                      C context)
Description copied from interface: Expression
Accept the visitor with the given context

Specified by:
accept in interface Expression<T>
Type Parameters:
R - return type
C - context type
Parameters:
v - visitor
context - context of visit
Returns:


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