Class CodeEnumConverter

  • All Implemented Interfaces:
    org.springframework.core.convert.converter.Converter , pro.fessional.mirana.cast.BiConvertor , pro.fessional.wings.faceless.converter.WingsConverter

    
    public class CodeEnumConverter<E extends CodeEnum>
     implements WingsConverter<S, T>
                        

    CodeEnum to wings jooq

    Since:

    2021-01-14

    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
      Class<String> sourceType()
      Class<E> targetType()
      E toTarget(String s)
      String toSource(E t)
      static <E extends Enum<E>, CodeEnum> CodeEnumConverter<E> of(Class<E> toType)
      static <E extends CodeEnum> CodeEnumConverter<E> of(Class<E> toType, Array<E> values)
      • 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, tryToSource, tryToTarget
      • Methods inherited from class org.springframework.core.convert.converter.Converter

        andThen, convert
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait