Annotation Interface 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
    Class being modelled by the annotated class.
  • Element Details

    • value

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