|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.openjpa.jdbc.meta.strats.PrimitiveWrapperArrays
class PrimitiveWrapperArrays
Primitive wrapper array helper methods.
Constructor Summary | |
---|---|
PrimitiveWrapperArrays()
|
Method Summary | |
---|---|
static byte[] |
toByteArray(Object ob)
Convert the given value to a primitive array if needed. |
static char[] |
toCharArray(Object ob)
Convert the given value to a primitive array if needed. |
static Object |
toObjectValue(ValueMapping vm,
byte[] array)
Convert the given primitive array to a wrapper array if needed. |
static Object |
toObjectValue(ValueMapping vm,
char[] array)
Convert the given primitive array to a wrapper array if needed. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
PrimitiveWrapperArrays()
Method Detail |
---|
public static Object toObjectValue(ValueMapping vm, char[] array)
public static char[] toCharArray(Object ob)
public static Object toObjectValue(ValueMapping vm, byte[] array)
public static byte[] toByteArray(Object ob)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |