Package org.jooq.impl
Class DelegatingConverter<T,U>
- java.lang.Object
-
- org.jooq.impl.AbstractConverter<T,U>
-
- org.jooq.impl.DelegatingConverter<T,U>
-
- All Implemented Interfaces:
java.io.Serializable,Converter<T,U>
public class DelegatingConverter<T,U> extends AbstractConverter<T,U>
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DelegatingConverter(Converter<T,U> delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Ufrom(T t)Convert a database object to a user objectTto(U u)Convert a user object to a database objectjava.lang.StringtoString()-
Methods inherited from class org.jooq.impl.AbstractConverter
fromType, toType
-
-
-
-
Method Detail
-
from
public final U from(T t)
Description copied from interface:ConverterConvert a database object to a user object- Parameters:
t- The database object- Returns:
- The user object
-
to
public final T to(U u)
Description copied from interface:ConverterConvert a user object to a database object- Parameters:
u- The user object- Returns:
- The database object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classAbstractConverter<T,U>
-
-