Annotation Type Field


@Documented
@Retention(RUNTIME)
@Target(FIELD)
public @interface Field
Annotation to define custom metadata for document fields.
Author:
Peter Milne, Jean Mercier
  • Optional Element Summary

    Optional Elements
    Modifier and Type Optional Element Description
    String value
    The key to be used to store the field inside the document.
  • Element Details

    • value

      String value
      The key to be used to store the field inside the document.
      Default:
      ""