- 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 T
from(T t)
Convert a database object to a user objectClass<T>
fromType()
The database typeT
to(T t)
Convert a user object to a database objectString
toString()
Class<T>
toType()
The user type
-
-
-
Method Detail
-
from
public final T from(T t)
Description copied from interface:Converter
Convert a database object to a user object
-
to
public final T to(T t)
Description copied from interface:Converter
Convert a user object to a database object
-
fromType
public final Class<T> fromType()
Description copied from interface:Converter
The database type
-
-