com.mysema.query.types
Class QTuple

java.lang.Object
  extended by com.mysema.query.types.ExpressionBase<Tuple>
      extended by com.mysema.query.types.QTuple
All Implemented Interfaces:
Expression<Tuple>, FactoryExpression<Tuple>, Serializable

public class QTuple
extends ExpressionBase<Tuple>
implements FactoryExpression<Tuple>

QTuple represents a projection of type Tuple

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
QTuple(Expression<?>... args)
           
QTuple(Expression<?>[]... args)
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 boolean equals(Object obj)
           
 List<Expression<?>> getArgs()
          Get the invocation arguments
 int hashCode()
           
 Tuple newInstance(Object... a)
          Create a projection with the given arguments
 
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

QTuple

public QTuple(Expression<?>... args)

QTuple

public QTuple(Expression<?>[]... args)
Method Detail

newInstance

public Tuple newInstance(Object... a)
Description copied from interface: FactoryExpression
Create a projection with the given arguments

Specified by:
newInstance in interface FactoryExpression<Tuple>
Returns:

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

equals

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getArgs

public List<Expression<?>> getArgs()
Description copied from interface: FactoryExpression
Get the invocation arguments

Specified by:
getArgs in interface FactoryExpression<Tuple>
Returns:


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