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

Type Parameters:
D -
All Superinterfaces:
Expression<D>, Serializable
All Known Implementing Classes:
ArrayConstructorExpression, ConstructorExpression, QBean, QBeans, QTuple

public interface FactoryExpression<D>
extends Expression<D>

FactoryExpression represents factory expressions such as JavaBean or Constructor projections

Author:
tiwe

Method Summary
 List<Expression<?>> getArgs()
          Get the constructor invocation arguments
 Class<? extends D> getType()
          Get the type of this path
 D newInstance(Object... args)
          Create a projection with the given arguments
 
Methods inherited from interface com.mysema.query.types.Expression
accept
 

Method Detail

getType

Class<? extends D> getType()
Get the type of this path

Specified by:
getType in interface Expression<D>
Returns:

getArgs

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

Returns:

newInstance

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

Parameters:
args -
Returns:


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