com.mysema.query.sql
Class QBeans

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

public class QBeans
extends ExpressionBase<Beans>
implements FactoryExpression<Beans>

Expression used to project a list of beans

Author:
luis
See Also:
Serialized Form

Constructor Summary
QBeans(RelationalPath<?>... beanPaths)
           
 
Method Summary
<R,C> R
accept(Visitor<R,C> v, C context)
          Accept the visitor with the given context
 List<Expression<?>> getArgs()
          Get the invocation arguments
 Beans newInstance(Object... args)
          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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.mysema.query.types.Expression
getType
 

Constructor Detail

QBeans

public QBeans(RelationalPath<?>... beanPaths)
Method Detail

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

getArgs

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

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

newInstance

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

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


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