javax.persistence.metamodel
Annotation Type StaticMetamodel


@Target(value=TYPE)
@Retention(value=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
 java.lang.Class<?> value
          Class being modeled by the annotated class.
 

Element Detail

value

public abstract java.lang.Class<?> value
Class being modeled by the annotated class.



Submit a bug or feature

Copyright © 2009, 2010, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 4-June-2010 04:34