Package org.hibernate.metamodel.spi
Interface MappingMetamodelImplementor
- All Superinterfaces:
MappingMetamodel
,Metamodel
,QueryParameterBindingTypeResolver
- All Known Implementing Classes:
MappingMetamodelImpl
public interface MappingMetamodelImplementor
extends MappingMetamodel, QueryParameterBindingTypeResolver
-
Method Summary
Modifier and TypeMethodDescriptiondefault String[]
Get the names of all collections known to this Metamodeldefault String[]
Get the names of all entities known to this MetamodelgetCollectionRolesByEntityParticipant
(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, resolveMappingExpressible, resolveQueryParameterType, streamCollectionDescriptors, streamEntityDescriptors
Methods inherited from interface jakarta.persistence.metamodel.Metamodel
embeddable, entity, entity, getEmbeddables, getEntities, getManagedTypes, managedType
Methods 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 -
getAllEntityNames
Get the names of all entities known to this Metamodel- Returns:
- All the entity names
-
getAllCollectionRoles
Get the names of all collections known to this Metamodel- Returns:
- All the entity names
-