Package org.jooq.impl
Class AbstractConverter<T,U>
- java.lang.Object
-
- org.jooq.impl.AbstractConverter<T,U>
-
- All Implemented Interfaces:
java.io.Serializable,Converter<T,U>
- Direct Known Subclasses:
DateToLocalDateConverter,DelegatingConverter,EnumConverter,JPAConverter,TimestampToLocalDateTimeConverter,TimeToLocalTimeConverter
public abstract class AbstractConverter<T,U> extends java.lang.Object implements Converter<T,U>
- Author:
- Lukas Eder
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AbstractConverter(java.lang.Class<T> fromType, java.lang.Class<U> toType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Class<T>fromType()The database typejava.lang.StringtoString()java.lang.Class<U>toType()The user type
-
-
-
Method Detail
-
fromType
public final java.lang.Class<T> fromType()
Description copied from interface:ConverterThe database type
-
toType
public final java.lang.Class<U> toType()
Description copied from interface:ConverterThe user type
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-