Annotation Type StaticMetamodel



  • @Target(TYPE)
    @Retention(RUNTIME)
    public @interface StaticMetamodel
    The StaticMetamodel annotation specifies that the class is a metamodel class that represents the entity, mapped superclass, or embeddable class designated by the value element.
    Since:
    Java Persistence 2.0
    • Required Element Summary

      Required Elements 
      Modifier and Type Required Element Description
      java.lang.Class<?> value
      Class being modelled by the annotated class.
    • Element Detail

      • value

        java.lang.Class<?> value
        Class being modelled by the annotated class.