com.mysema.query.sql.types
Class EnumAsObjectType<T extends Enum<T>>
java.lang.Object
com.mysema.query.sql.types.AbstractType<T>
com.mysema.query.sql.types.EnumAsObjectType<T>
- Type Parameters:
T
-
- All Implemented Interfaces:
- Type<T>
public class EnumAsObjectType<T extends Enum<T>>
- extends AbstractType<T>
- Author:
- tiwe
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EnumAsObjectType
public EnumAsObjectType(Class<T> type)
EnumAsObjectType
public EnumAsObjectType(int jdbcType,
Class<T> type)
getReturnedClass
public Class<T> getReturnedClass()
getValue
public T getValue(ResultSet rs,
int startIndex)
throws SQLException
- Throws:
SQLException
setValue
public void setValue(PreparedStatement st,
int startIndex,
T value)
throws SQLException
- Throws:
SQLException
Copyright © 2007-2012 Mysema Ltd. All Rights Reserved.