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 Details
-
EnumConverter
-
EnumConverter
-
-
Method Details
-
from
Description copied from interface:Converter
Read and convert a database object to a user object.- Parameters:
databaseObject
- The database object.- Returns:
- The user object.
-
to
Subclasses may override this method to provide a custom reverse mapping implementationConvert and write a user object to a database object.
- Parameters:
userObject
- The user object.- Returns:
- The database object.
-
toString
-