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 modelled by the annotated class.
 

Element Detail

value

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



Submit a bug or feature

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

Generated on 10-February-2011 12:41