com.mysema.query.hql.hibernate
Class ConstructorTransformer

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

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

ConstructorTransformer is a ResultTransformer implementation using the EConstructor for transformation

Author:
tiwe
See Also:
Serialized Form

Constructor Summary
ConstructorTransformer(EConstructor<?> 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

ConstructorTransformer

public ConstructorTransformer(EConstructor<?> 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-2010 Mysema Ltd. All Rights Reserved.