|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.hibernate.transform.AliasToBeanConstructorResultTransformer
Wraps the tuples in a constructor call. todo : why Alias* in the name???
| Constructor Summary | |
AliasToBeanConstructorResultTransformer(Constructor constructor)
Instantiates a AliasToBeanConstructorResultTransformer. |
|
| Method Summary | |
boolean |
equals(Object other)
2 AliasToBeanConstructorResultTransformer are considered equal if they have the same defined constructor. |
int |
hashCode()
Define our hashCode by our defined constructor's hasCode. |
List |
transformList(List collection)
|
Object |
transformTuple(Object[] tuple,
String[] aliases)
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 |
| Constructor Detail |
public AliasToBeanConstructorResultTransformer(Constructor constructor)
constructor - The contructor in which to wrap the tuples.| Method Detail |
public Object transformTuple(Object[] tuple,
String[] aliases)
transformTuple in interface ResultTransformerpublic List transformList(List collection)
transformList in interface ResultTransformerpublic int hashCode()
public boolean equals(Object other)
other - The other instance to check for equality.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||