Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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 Summary
`ResultShapePacker(Class<?>[] types, String[] aliases, Class resultClass, ResultShape<?> shape)`

Method Summary
`Object` | `pack(Object o)` Pack the given object into an instance of the query's result class.
`Object` | `pack(Object[] values)` Pack the given array into an instance of the query's result class.

Methods inherited from class org.apache.openjpa.kernel.ResultPacker
`isInterface`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ResultShapePacker

    public ResultShapePacker(Class<?>[] types,
                             String[] aliases,
                             Class resultClass,
                             ResultShape<?> shape)

Method Detail

### pack

    public Object pack(Object o)

  Description copied from class: `ResultPacker`
  Pack the given object into an instance of the query's result class.

  Overrides:
    `pack` in class `ResultPacker`

### pack

    public Object pack(Object[] values)

  Description copied from class: `ResultPacker`
  Pack the given array into an instance of the query's result class.

  Overrides:
    `pack` in class `ResultPacker`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.