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

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      static <T extends Enum<T>, ConstantEnum> JooqConsEnumConverter<T> of(Class<T> et)
      E from(Integer databaseObject)
      Integer to(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, inverse, of, ofNullable, to, toNullable
      • 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