javax.persistence.metamodel
Interface Metamodel


public interface Metamodel

Reflection model for the JPA data.

Since:
JPA 2.0

Method Summary
<X> EmbeddableType<X>
embeddable(java.lang.Class<X> cl)
           
<X> EntityType<X>
entity(java.lang.Class<X> cl)
           
 java.util.Set<EmbeddableType<?>> getEmbeddables()
           
 java.util.Set<EntityType<?>> getEntities()
           
 java.util.Set<ManagedType<?>> getManagedTypes()
           
<X> ManagedType<X>
managedType(java.lang.Class<X> cl)
           
 

Method Detail

entity

<X> EntityType<X> entity(java.lang.Class<X> cl)

managedType

<X> ManagedType<X> managedType(java.lang.Class<X> cl)

embeddable

<X> EmbeddableType<X> embeddable(java.lang.Class<X> cl)

getManagedTypes

java.util.Set<ManagedType<?>> getManagedTypes()

getEntities

java.util.Set<EntityType<?>> getEntities()

getEmbeddables

java.util.Set<EmbeddableType<?>> getEmbeddables()