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:
t
- 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:
u
- The user object.- Returns:
- The database object.
-
toString
-