Class JooqCodeEnumConverter

  • 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 JooqCodeEnumConverter<E extends CodeEnum>
    extends CodeEnumConverter<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>, CodeEnum> JooqCodeEnumConverter<T> of(Class<T> et)
      E from(String databaseObject)
      String to(E userObject)
      Class<String> fromType()
      Class<E> toType()
      • Methods inherited from class pro.fessional.wings.faceless.converter.CodeEnumConverter

        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