com.mysema.query.group
Class AbstractGroupExpression<T,R>

java.lang.Object
  extended by com.mysema.query.types.ExpressionBase<T>
      extended by com.mysema.query.types.expr.SimpleExpression<R>
          extended by com.mysema.query.group.AbstractGroupExpression<T,R>
Type Parameters:
T -
R -
All Implemented Interfaces:
GroupExpression<T,R>, Expression<R>, Serializable

public abstract class AbstractGroupExpression<T,R>
extends SimpleExpression<R>
implements GroupExpression<T,R>

A base class for GroupExpressions

Author:
sasa
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.mysema.query.types.expr.SimpleExpression
primitive
 
Constructor Summary
AbstractGroupExpression(Class<? super R> type, Expression<T> expr)
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 boolean equals(Object o)
           
 Expression<T> getExpression()
           
 int hashCode()
           
 
Methods inherited from class com.mysema.query.types.expr.SimpleExpression
as, as, count, countDistinct, eq, eq, in, in, in, isNotNull, isNull, ne, ne, notIn, notIn, notIn, when, when
 
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.group.GroupExpression
createGroupCollector
 
Methods inherited from interface com.mysema.query.types.Expression
getType
 

Constructor Detail

AbstractGroupExpression

public AbstractGroupExpression(Class<? super R> type,
                               Expression<T> expr)
Method Detail

getExpression

public Expression<T> getExpression()
Specified by:
getExpression in interface GroupExpression<T,R>
Returns:
Expression wrapped by this group definition

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<R>
Type Parameters:
R - return type
C - context type
Parameters:
v - visitor
context - context of visit
Returns:

equals

public boolean equals(Object o)
Specified by:
equals in class SimpleExpression<R>

hashCode

public int hashCode()
Overrides:
hashCode in class SimpleExpression<R>


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