Annotation Interface Entity


@Documented @Target(TYPE) @Retention(RUNTIME) public @interface Entity
Annotation for a class that indicates it is an entity stored in a Datastore Entity.
Since:
1.1
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    The Kind name of the Entity in Datastore, which can differ from the name of the class which it annotates.
  • Element Details

    • name

      String name
      The Kind name of the Entity in Datastore, which can differ from the name of the class which it annotates.
      Returns:
      The Kind name of the Entity
      Default:
      ""