Annotation Interface Field


@Documented @Target(FIELD) @Retention(RUNTIME) public @interface Field
Annotation for a property that allows specifying the field name instead of deriving it from the property's name.
Since:
1.1
  • Required Element Summary

    Required Elements
    Modifier and Type
    Required Element
    Description
    The custom name of the field in the Datastore Entity, which can differ from the name of the property it annotates.
  • Element Details

    • name

      String name
      The custom name of the field in the Datastore Entity, which can differ from the name of the property it annotates.
      Returns:
      the name of the field in the Datastore Entity.