Annotation Type Entity


  • @Retention(RUNTIME)
    @Target(TYPE)
    @Inherited
    public @interface Entity

    This annotation must be placed on your entity POJOs. If you have a polymorphic hierarchy, the root should have @Entity and the subclasses should have @Subclass.

    Author:
    Jeff Schnitzer
    • Optional Element Summary

      Optional Elements 
      Modifier and Type Optional Element Description
      String name
      Controls the actual kind name used in the datastore.
    • Element Detail

      • name

        String name
        Controls the actual kind name used in the datastore.
        Default:
        ""