- java.lang.Object
-
- org.jooq.impl.IdentityConverter<T>
-
- All Implemented Interfaces:
Serializable,Converter<T,T>
public final class IdentityConverter<T> extends Object implements Converter<T,T>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IdentityConverter(Class<T> type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Tfrom(T t)Convert a database object to a user objectClass<T>fromType()The database typeTto(T t)Convert a user object to a database objectStringtoString()Class<T>toType()The user type
-
-
-
Method Detail
-
from
public final T from(T t)
Description copied from interface:ConverterConvert a database object to a user object
-
to
public final T to(T t)
Description copied from interface:ConverterConvert a user object to a database object
-
fromType
public final Class<T> fromType()
Description copied from interface:ConverterThe database type
-
-