Annotation Interface Value


@Retention(RUNTIME) @Target(FIELD) public @interface Value
Specifies a custom key for the annotated field. This annotation will be read by AutoSODatable.
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NotNull String
     
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    boolean
     
  • Element Details

    • value

      @NotNull @NotNull String value
      Returns:
      The key that should be used for this field.
    • addIfNull

      boolean addIfNull
      Returns:
      whether this field should be added if its value is null.
      Default:
      true