Package org.apache.openjpa.kernel
Class ResultShapePacker
- java.lang.Object
- 
- org.apache.openjpa.kernel.ResultPacker
- 
- org.apache.openjpa.kernel.ResultShapePacker
 
 
- 
 public class ResultShapePacker extends ResultPacker Packs result by delegation to a ResultShape.- Author:
- Pinaki Poddar
 
- 
- 
Constructor SummaryConstructors Constructor Description ResultShapePacker(java.lang.Class<?>[] types, java.lang.String[] aliases, java.lang.Class resultClass, ResultShape<?> shape)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectpack(java.lang.Object o)Pack the given object into an instance of the query's result class.java.lang.Objectpack(java.lang.Object[] values)Pack the given array into an instance of the query's result class.
 
- 
- 
- 
Constructor Detail- 
ResultShapePackerpublic ResultShapePacker(java.lang.Class<?>[] types, java.lang.String[] aliases, java.lang.Class resultClass, ResultShape<?> shape)
 
- 
 - 
Method Detail- 
packpublic java.lang.Object pack(java.lang.Object o) Description copied from class:ResultPackerPack the given object into an instance of the query's result class.- Overrides:
- packin class- ResultPacker
 
 - 
packpublic java.lang.Object pack(java.lang.Object[] values) Description copied from class:ResultPackerPack the given array into an instance of the query's result class.- Overrides:
- packin class- ResultPacker
 
 
- 
 
-