com.mysema.query.types
Interface FactoryExpression<T>

Type Parameters:
T - type of projection
All Superinterfaces:
Expression<T>, Serializable
All Known Implementing Classes:
ArrayConstructorExpression, ConstructorExpression, FactoryExpressionUtils.FactoryExpressionAdapter, MappingProjection, QBean, QBeans, QTuple

public interface FactoryExpression<T>
extends Expression<T>

FactoryExpression represents factory expressions such as JavaBean or Constructor projections

Author:
tiwe

Method Summary
 List<Expression<?>> getArgs()
          Get the invocation arguments
 T newInstance(Object... args)
          Create a projection with the given arguments
 
Methods inherited from interface com.mysema.query.types.Expression
accept, getType
 

Method Detail

getArgs

List<Expression<?>> getArgs()
Get the invocation arguments

Returns:

newInstance

@Nullable
T newInstance(Object... args)
Create a projection with the given arguments

Parameters:
args -
Returns:


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