com.mysema.query.jpa.hibernate
Class FactoryExpressionTransformer

java.lang.Object
  extended by com.mysema.query.jpa.hibernate.FactoryExpressionTransformer
All Implemented Interfaces:
Serializable, org.hibernate.transform.ResultTransformer

public final class FactoryExpressionTransformer
extends Object
implements org.hibernate.transform.ResultTransformer

FactoryExpressionTransformer is a ResultTransformer implementation using the EConstructor for transformation

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
FactoryExpressionTransformer(FactoryExpression<?> constructor)
           
 
Method Summary
 List transformList(List collection)
           
 Object transformTuple(Object[] tuple, String[] aliases)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FactoryExpressionTransformer

public FactoryExpressionTransformer(FactoryExpression<?> constructor)
Method Detail

transformList

public List transformList(List collection)
Specified by:
transformList in interface org.hibernate.transform.ResultTransformer

transformTuple

public Object transformTuple(Object[] tuple,
                             String[] aliases)
Specified by:
transformTuple in interface org.hibernate.transform.ResultTransformer


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