Top Methods
org.hibernate.metamodel.spi

public Interface MappingMetamodelImplementor

extends MappingMetamodel, QueryParameterBindingTypeResolver
Known Direct Implementers
org.hibernate.metamodel.model.domain.internal.MappingMetamodelImpl
Imports
java.util.Collection, .Set, org.hibernate.EntityNameResolver, org.hibernate.metamodel.MappingMetamodel, org.hibernate.query.spi.QueryParameterBindingTypeResolver

Author
Steve Ebersole

Method Summary

Modifier and TypeMethod and Description
public Set<String>

Returns:

set of all the collection roles in which the given entityName participates.
getCollectionRolesByEntityParticipant
(String
The entity name for which to get the collection roles.
entityName
)

Retrieves a set of all the collection roles in which the given entity is a participant, as either an index or an element.

public 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

Inherited from org.hibernate.metamodel.MappingMetamodel:
addNamedEntityGraphdefaultGraphdefaultGraphdefaultGraphdefaultGraphfindCollectionDescriptorfindCollectionDescriptorfindEntityDescriptorfindEntityDescriptorfindNamedGraphfindRootGraphsForTypefindRootGraphsForTypefindRootGraphsForTypeforEachCollectionDescriptorforEachEntityDescriptorforEachNamedGraphgetCollectionDescriptorgetCollectionDescriptorgetEmbeddableValuedModelPartgetEntityDescriptorgetEntityDescriptorgetEntityDescriptorgetImportedNamegetTypeConfigurationisEntityClasslocateEntityDescriptorlocateEntityPersisterlocateEntityPersisterresolveMappingExpressibleresolveQueryParameterTypestreamCollectionDescriptorsstreamEntityDescriptors
Inherited from org.hibernate.query.spi.QueryParameterBindingTypeResolver:
getMappingMetamodelgetTypeConfigurationresolveParameterBindTyperesolveParameterBindType

Method Detail

getCollectionRolesByEntityParticipantback to summary
public Set<String> getCollectionRolesByEntityParticipant(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.

Parameters
entityName:String

The entity name for which to get the collection roles.

Returns:Set<String>

set of all the collection roles in which the given entityName participates.

getEntityNameResolversback to summary
public 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