java.lang.Object
org.jooq.impl.AbstractConverter<T,U>
 
org.jooq.impl.AbstractContextConverter<T,U>
 
org.jooq.impl.AutoConverter<T,U> 
- All Implemented Interfaces:
- Serializable,- ContextConverter<T,,- U> - Converter<T,- U> 
A base class for automatic conversion using
 
Configuration.converterProvider().- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionfrom(T t, ConverterContext ctx) Read and convert a database object to a user object.to(U u, ConverterContext ctx) Convert and write a user object to a database object.toString()Methods inherited from class org.jooq.impl.AbstractConverterfromType, toTypeMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.jooq.ConverterfromSupported, fromType, toSupported, toType
- 
Constructor Details- 
AutoConverter
 
- 
- 
Method Details- 
fromDescription copied from interface:ContextConverterRead and convert a database object to a user object.Implementations that don't support this conversion are expected to override Converter.fromSupported()to indicate lack of support.- Parameters:
- t- The database object.
- ctx- The context of this conversion.
- Returns:
- The user object.
 
- 
toDescription copied from interface:ContextConverterConvert and write a user object to a database object.Implementations that don't support this conversion are expected to override Converter.toSupported()to indicate lack of support.- Parameters:
- u- The user object.
- ctx- The context of this conversion.
- Returns:
- The database object.
 
- 
toString- Overrides:
- toStringin class- AbstractContextConverter<T,- U> 
 
 
-