Class MappingModelCreationProcess
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.MappingModelCreationProcess
-
public class MappingModelCreationProcess extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMappingModelCreationProcess.PostInitCallbackstatic interfaceMappingModelCreationProcess.SubPartMappingProducer<T>Explicitly defined to better control (for now) the args
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeModelCreationContextgetCreationContext()EntityPersistergetEntityPersister(String name)SqmFunctionRegistrygetSqmFunctionRegistry()static voidprocess(EntityPersisterConcurrentMap entityPersisterMap, RuntimeModelCreationContext creationContext)Triggers creation of the mapping model<T extends ModelPart>
TprocessSubPart(String localName, MappingModelCreationProcess.SubPartMappingProducer<T> subPartMappingProducer)voidregisterForeignKey(ModelPart keyOwner, ForeignKeyDescriptor keyDescriptor)voidregisterForeignKeyPostInitCallbacks(String description, MappingModelCreationProcess.PostInitCallback callback)voidregisterInitializationCallback(String description, MappingModelCreationProcess.PostInitCallback callback)voidwithForeignKey(ModelPart keyOwner, Consumer<ForeignKeyDescriptor> consumer)
-
-
-
Method Detail
-
process
public static void process(EntityPersisterConcurrentMap entityPersisterMap, RuntimeModelCreationContext creationContext)
Triggers creation of the mapping model
-
getCreationContext
public RuntimeModelCreationContext getCreationContext()
-
getEntityPersister
public EntityPersister getEntityPersister(String name)
-
getSqmFunctionRegistry
public SqmFunctionRegistry getSqmFunctionRegistry()
-
processSubPart
public <T extends ModelPart> T processSubPart(String localName, MappingModelCreationProcess.SubPartMappingProducer<T> subPartMappingProducer)
-
registerInitializationCallback
public void registerInitializationCallback(String description, MappingModelCreationProcess.PostInitCallback callback)
-
registerForeignKeyPostInitCallbacks
public void registerForeignKeyPostInitCallbacks(String description, MappingModelCreationProcess.PostInitCallback callback)
-
withForeignKey
public void withForeignKey(ModelPart keyOwner, Consumer<ForeignKeyDescriptor> consumer)
-
registerForeignKey
public void registerForeignKey(ModelPart keyOwner, ForeignKeyDescriptor keyDescriptor)
-
-