Annotation AutoI18nString

  • All Implemented Interfaces:
    java.lang.annotation.Annotation

    @Retention(value = RetentionPolicy.RUNTIME)@Target(value = ElementType.FIELD) 
    public @interface AutoI18nString
    
                        
    Auto I18n Convert for I18nString and CharSequence
    `I18nString` - auto convert, use @JsonI18nString to disable.
    `CharSequence` - If contains i18nCode, use @JsonI18nString to enable.
    
    Since:

    2019-09-19

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract boolean value() enable 1i8n serials
      • Methods inherited from class java.lang.annotation.Annotation

        annotationType, equals, hashCode, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • value

         abstract boolean value()

        enable 1i8n serials

        Returns:

        true if enable