java.lang.Object
org.jooq.impl.AbstractConverter<T,U>
 
org.jooq.impl.EnumConverter<T,U> 
- All Implemented Interfaces:
- Serializable,- Converter<T,- U> 
A base class for enum conversion.
- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryMethods 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.ConverterandThen, forArrays, fromSupported, inverse, toSupported
- 
Constructor Details- 
EnumConverter
- 
EnumConverter
 
- 
- 
Method Details- 
fromDescription copied from interface:ConverterRead 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.
- Returns:
- The user object.
 
- 
toSubclasses may override this method to provide a custom reverse mapping implementationConvert 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.
- Returns:
- The database object.
 
- 
toString
 
-