|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.ejb.metamodel.MetamodelImpl
public class MetamodelImpl
Hibernate implementation of the JPA Metamodel
contract.
Method Summary | ||
---|---|---|
static MetamodelImpl |
buildMetamodel(Iterator<PersistentClass> persistentClasses,
SessionFactoryImplementor sessionFactory)
Build the metamodel using the information from the collection of Hibernate PersistentClass models as well as the Hibernate SessionFactory . |
|
|
embeddable(Class<X> cls)
|
|
|
entity(Class<X> cls)
|
|
Set<javax.persistence.metamodel.EmbeddableType<?>> |
getEmbeddables()
|
|
Set<javax.persistence.metamodel.EntityType<?>> |
getEntities()
|
|
Set<javax.persistence.metamodel.ManagedType<?>> |
getManagedTypes()
|
|
|
managedType(Class<X> cls)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static MetamodelImpl buildMetamodel(Iterator<PersistentClass> persistentClasses, SessionFactoryImplementor sessionFactory)
PersistentClass
models as well as the Hibernate SessionFactory
.
persistentClasses
- Iterator over the Hibernate (config-time) metamodelsessionFactory
- The Hibernate session factry.
public <X> javax.persistence.metamodel.EntityType<X> entity(Class<X> cls)
entity
in interface javax.persistence.metamodel.Metamodel
public <X> javax.persistence.metamodel.ManagedType<X> managedType(Class<X> cls)
managedType
in interface javax.persistence.metamodel.Metamodel
public <X> javax.persistence.metamodel.EmbeddableType<X> embeddable(Class<X> cls)
embeddable
in interface javax.persistence.metamodel.Metamodel
public Set<javax.persistence.metamodel.ManagedType<?>> getManagedTypes()
getManagedTypes
in interface javax.persistence.metamodel.Metamodel
public Set<javax.persistence.metamodel.EntityType<?>> getEntities()
getEntities
in interface javax.persistence.metamodel.Metamodel
public Set<javax.persistence.metamodel.EmbeddableType<?>> getEmbeddables()
getEmbeddables
in interface javax.persistence.metamodel.Metamodel
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |