public static class ListAsSQLArrayUserType.ENUM<E extends java.lang.Enum<E>> extends ListAsSQLArrayUserType<E>
ListAsSQLArrayUserType.ArrayFactory, ListAsSQLArrayUserType.BOOLEAN, ListAsSQLArrayUserType.DATE, ListAsSQLArrayUserType.DOUBLE, ListAsSQLArrayUserType.ENUM<E extends java.lang.Enum<E>>, ListAsSQLArrayUserType.FLOAT, ListAsSQLArrayUserType.INTEGER, ListAsSQLArrayUserType.STRING, ListAsSQLArrayUserType.STRING2
factory
Modifier | Constructor and Description |
---|---|
protected |
ENUM(E[] theEnumValues) |
Modifier and Type | Method and Description |
---|---|
protected java.sql.Array |
getDataAsArray(java.sql.Connection conn,
java.lang.Object value) |
protected java.util.List<E> |
getDataFromArray(java.lang.Object array) |
assemble, deepCopy, disassemble, equals, hashCode, isMutable, nullSafeGet, nullSafeSet, replace, returnedClass, setParameterValues, sqlTypes
protected ENUM(E[] theEnumValues)
theEnumValues
- The values of enum (by invoking .values()).protected java.sql.Array getDataAsArray(java.sql.Connection conn, java.lang.Object value) throws java.sql.SQLException
getDataAsArray
in class ListAsSQLArrayUserType<E extends java.lang.Enum<E>>
java.sql.SQLException
protected java.util.List<E> getDataFromArray(java.lang.Object array)
getDataFromArray
in class ListAsSQLArrayUserType<E extends java.lang.Enum<E>>