Package org.hibernate.transform
Class AliasToBeanResultTransformer<T>
- java.lang.Object
-
- org.hibernate.transform.AliasToBeanResultTransformer<T>
-
- All Implemented Interfaces:
Serializable,ResultListTransformer<T>,TupleTransformer<T>,TypedTupleTransformer<T>,ResultTransformer<T>
@Deprecated public class AliasToBeanResultTransformer<T> extends Object implements ResultTransformer<T>, TypedTupleTransformer<T>
Deprecated.sinceResultTransformeris deprecatedResult transformer that allows to transform a result to a user specified class which will be populated via setter methods or fields matching the alias names.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AliasToBeanResultTransformer(Class<T> resultClass)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleanequals(Object o)Deprecated.Class<T>getTransformedType()Deprecated.The type resulting from this transformationinthashCode()Deprecated.TtransformTuple(Object[] tuple, String[] aliases)Deprecated.Tuples are the elements making up each "row" of the query result.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.hibernate.transform.ResultTransformer
transformList
-
-
-
-
Method Detail
-
getTransformedType
public Class<T> getTransformedType()
Deprecated.Description copied from interface:TypedTupleTransformerThe type resulting from this transformation- Specified by:
getTransformedTypein interfaceTypedTupleTransformer<T>
-
transformTuple
public T transformTuple(Object[] tuple, String[] aliases)
Deprecated.Description copied from interface:TupleTransformerTuples are the elements making up each "row" of the query result. The contract here is to transform these elements into the final row shape.- Specified by:
transformTuplein interfaceTupleTransformer<T>- Parameters:
tuple- The result elementsaliases- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
-