Class JooqConsEnumConverter
-
- All Implemented Interfaces:
-
java.io.Serializable,org.jooq.Converter,org.springframework.core.convert.converter.Converter,pro.fessional.mirana.cast.BiConvertor,pro.fessional.wings.faceless.converter.WingsConverter
public class JooqConsEnumConverter<E extends Enum<E>, ConstantEnum> extends ConsEnumConverter<E> implements Converter<T, U>- Since:
2021-01-18
trydofor
-
-
Constructor Summary
Constructors Constructor Description JooqConsEnumConverter(Class<E> toType)
-
Method Summary
Modifier and Type Method Description static <T extends Enum<T>, ConstantEnum> JooqConsEnumConverter<T>of(Class<T> et)Efrom(Integer databaseObject)Integerto(E userObject)Class<Integer>fromType()Class<E>toType()-
Methods inherited from class pro.fessional.wings.faceless.converter.ConsEnumConverter
of, sourceType, targetType, toSource, toTarget -
Methods inherited from class org.jooq.Converter
andThen, forArrays, from, fromNullable, fromSupported, inverse, of, ofNullable, to, toNullable, toSupported -
Methods inherited from class pro.fessional.wings.faceless.converter.WingsConverter
convert -
Methods inherited from class pro.fessional.mirana.cast.BiConvertor
canToSource, canToTarget, compose, of, reverseBiConvertor, sourceType, targetType, toSource, toTarget, tryToSource, tryToTarget -
Methods inherited from class org.springframework.core.convert.converter.Converter
andThen -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-