Package org.hibernate.metamodel
Interface RuntimeMetamodels
-
- All Known Subinterfaces:
RuntimeMetamodelsImplementor
@Incubating public interface RuntimeMetamodels
Entry point providing access to the runtime metamodels:- the domain model, our implementation of the JPA-defined model of the Java types, and
- our relational mapping model of how these types are made persistent.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Deprecated Methods Modifier and Type Method Description EmbeddableValuedModelPartgetEmbedded(String role)Deprecated.UsegetEmbedded(NavigableRole)insteadEmbeddableValuedModelPartgetEmbedded(NavigableRole role)default EntityMappingTypegetEntityMappingType(Class entityType)default EntityMappingTypegetEntityMappingType(String entityName)default StringgetImportedName(String name)JpaMetamodelgetJpaMetamodel()Access to the JPA / domain metamodel.MappingMetamodelgetMappingMetamodel()Access to the relational mapping model.default PluralAttributeMappinggetPluralAttributeMapping(String role)
-
-
-
Method Detail
-
getJpaMetamodel
JpaMetamodel getJpaMetamodel()
Access to the JPA / domain metamodel.
-
getMappingMetamodel
MappingMetamodel getMappingMetamodel()
Access to the relational mapping model.
-
getEntityMappingType
default EntityMappingType getEntityMappingType(String entityName)
-
getEntityMappingType
default EntityMappingType getEntityMappingType(Class entityType)
-
getPluralAttributeMapping
default PluralAttributeMapping getPluralAttributeMapping(String role)
-
getEmbedded
@Deprecated EmbeddableValuedModelPart getEmbedded(String role)
Deprecated.UsegetEmbedded(NavigableRole)instead
-
getEmbedded
EmbeddableValuedModelPart getEmbedded(NavigableRole role)
-
-