Annotation Type NameValue


  • @Target(ANNOTATION_TYPE)
    @Retention(RUNTIME)
    public @interface NameValue
    Name, value pair.
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.String name
      The name.
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      java.lang.Class<?> clazz
      The value as a class.
      java.lang.String value
      The value as string, will be parsed.
      java.lang.String[] values
      The values as strings, will be individually parsed.
    • Element Detail

      • name

        java.lang.String name
        The name.
      • value

        java.lang.String value
        The value as string, will be parsed.
        Default:
        ""
      • values

        java.lang.String[] values
        The values as strings, will be individually parsed.
        Default:
        {}
      • clazz

        java.lang.Class<?> clazz
        The value as a class.
        Default:
        java.lang.Object.class