com.jpattern.orm.persistor.type.ext
Class WrapperTypeArray
java.lang.Object
com.jpattern.orm.persistor.type.ext.WrapperTypeArray
public class WrapperTypeArray
- extends Object
- Author:
- Francesco Cina'
Apr 17, 2012
|
Method Summary |
Object[] |
unWrap(Object[] array)
Take an array of Objects and return and for each Object's class check if a
WrapperType exists. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WrapperTypeArray
public WrapperTypeArray(TypeFactory typeFactory)
unWrap
public Object[] unWrap(Object[] array)
- Take an array of Objects and return and for each Object's class check if a
WrapperType exists. If the wrapper exists the object will be unwrapped otherwise
it will be left as is.
The output is a new array with the same size that contains, in the same position, the
original value or his unwrapped counterpart
- Parameters:
array -
- Returns:
Copyright © 2013. All Rights Reserved.