Annotation Interface NumberString


@Retention(RUNTIME) @Target(FIELD) @Inherited public @interface NumberString
Author:
Vince Bickers, Gerrit Meier
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    Class<? extends Number>
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
    Toggle lenient conversion mode by setting this flag to true (defaults to false).
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
  • Field Details

  • Element Details

    • lenient

      boolean lenient
      Toggle lenient conversion mode by setting this flag to true (defaults to false). Has to be supported by the corresponding converter.
      Returns:
      flag that represents the desired conversion mode.
      Default:
      false