Package org.hibernate.transform
Class AliasToBeanConstructorResultTransformer<T>
java.lang.Object
org.hibernate.transform.AliasToBeanConstructorResultTransformer<T>
- All Implemented Interfaces:
Serializable
,ResultListTransformer<T>
,TupleTransformer<T>
,TypedTupleTransformer<T>
,ResultTransformer<T>
@Deprecated
public class AliasToBeanConstructorResultTransformer<T>
extends Object
implements ResultTransformer<T>, TypedTupleTransformer<T>
Deprecated.
Wraps the tuples in a constructor call.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAliasToBeanConstructorResultTransformer
(Constructor<T> constructor) Deprecated.Instantiates a AliasToBeanConstructorResultTransformer. -
Method Summary
Modifier and TypeMethodDescriptionboolean
Deprecated.2 AliasToBeanConstructorResultTransformer are considered equal if they have the same defined constructor.Deprecated.The type resulting from this transformationint
hashCode()
Deprecated.Define our hashCode by our defined constructor's hasCode.transformTuple
(Object[] tuple, String[] aliases) Deprecated.Wrap the incoming tuples in a call to our configured constructor.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
-
Constructor Details
-
AliasToBeanConstructorResultTransformer
Deprecated.Instantiates a AliasToBeanConstructorResultTransformer.- Parameters:
constructor
- The constructor in which to wrap the tuples.
-
-
Method Details
-
getTransformedType
Deprecated.Description copied from interface:TypedTupleTransformer
The type resulting from this transformation- Specified by:
getTransformedType
in interfaceTypedTupleTransformer<T>
-
transformTuple
Deprecated.Wrap the incoming tuples in a call to our configured constructor.- Specified by:
transformTuple
in interfaceTupleTransformer<T>
- Parameters:
tuple
- The result elementsaliases
- The result aliases ("parallel" array to tuple)- Returns:
- The transformed row.
-
hashCode
public int hashCode()Deprecated.Define our hashCode by our defined constructor's hasCode. -
equals
Deprecated.2 AliasToBeanConstructorResultTransformer are considered equal if they have the same defined constructor.
-
ResultTransformer
is deprecated