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 interface
MappingModelCreationProcess.PostInitCallback
static interface
MappingModelCreationProcess.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 RuntimeModelCreationContext
getCreationContext()
EntityPersister
getEntityPersister(String name)
SqmFunctionRegistry
getSqmFunctionRegistry()
static void
process(EntityPersisterConcurrentMap entityPersisterMap, RuntimeModelCreationContext creationContext)
Triggers creation of the mapping model<T extends ModelPart>
TprocessSubPart(String localName, MappingModelCreationProcess.SubPartMappingProducer<T> subPartMappingProducer)
void
registerForeignKey(ModelPart keyOwner, ForeignKeyDescriptor keyDescriptor)
void
registerForeignKeyPostInitCallbacks(String description, MappingModelCreationProcess.PostInitCallback callback)
void
registerInitializationCallback(String description, MappingModelCreationProcess.PostInitCallback callback)
void
withForeignKey(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)
-
-