Package org.hibernate.metamodel.spi
Interface MappingMetamodelImplementor
- All Superinterfaces:
MappingMetamodel,QueryParameterBindingTypeResolver
- All Known Implementing Classes:
MappingMetamodelImpl
public interface MappingMetamodelImplementor
extends MappingMetamodel, QueryParameterBindingTypeResolver
- Author:
- Steve Ebersole
-
Method Summary
Modifier and TypeMethodDescriptiongetCollectionRolesByEntityParticipant(String entityName) Retrieves a set of all the collection roles in which the given entity is a participant, as either an index or an element.Access to the EntityNameResolver instance that Hibernate is configured to use for determining the entity descriptor from an instance of an entityMethods inherited from interface org.hibernate.metamodel.MappingMetamodel
addNamedEntityGraph, defaultGraph, defaultGraph, defaultGraph, defaultGraph, findCollectionDescriptor, findCollectionDescriptor, findEntityDescriptor, findEntityDescriptor, findNamedGraph, findRootGraphsForType, findRootGraphsForType, findRootGraphsForType, forEachCollectionDescriptor, forEachEntityDescriptor, forEachNamedGraph, getCollectionDescriptor, getCollectionDescriptor, getEmbeddableValuedModelPart, getEntityDescriptor, getEntityDescriptor, getEntityDescriptor, getImportedName, getTypeConfiguration, isEntityClass, locateEntityDescriptor, locateEntityPersister, locateEntityPersister, resolveMappingExpressible, resolveQueryParameterType, streamCollectionDescriptors, streamEntityDescriptorsMethods inherited from interface org.hibernate.query.spi.QueryParameterBindingTypeResolver
getMappingMetamodel, getTypeConfiguration, resolveParameterBindType, resolveParameterBindType
-
Method Details
-
getCollectionRolesByEntityParticipant
Retrieves a set of all the collection roles in which the given entity is a participant, as either an index or an element.- Parameters:
entityName- The entity name for which to get the collection roles.- Returns:
- set of all the collection roles in which the given entityName participates.
-
getEntityNameResolvers
Collection<EntityNameResolver> getEntityNameResolvers()Access to the EntityNameResolver instance that Hibernate is configured to use for determining the entity descriptor from an instance of an entity
-