Annotation Interface OptValue


@Retention(RUNTIME) @Target(FIELD) public @interface OptValue
Specifies a custom key for the annotated field. The annotated field's value must be castable to OptionalValue or null.

AutoSODatable will work with this annotation like this:
See Also:
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    @NotNull String
     
  • Element Details

    • value

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