Package org.hibernate.mapping
Class Component.ValueGenerationPlan
java.lang.Object
org.hibernate.mapping.Component.ValueGenerationPlan
- All Implemented Interfaces:
CompositeNestedGeneratedValueGenerator.GenerationPlan
- Enclosing class:
Component
public static class Component.ValueGenerationPlan
extends Object
implements CompositeNestedGeneratedValueGenerator.GenerationPlan
-
Constructor Summary
ConstructorsConstructorDescriptionValueGenerationPlan(String propertyName, IdentifierGenerator subGenerator, Setter injector) -
Method Summary
Modifier and TypeMethodDescriptionvoidexecute(SessionImplementor session, Object incomingObject, Object injectionContext) Execute the value generation.voidregisterPersistentGenerators(Map generatorMap) Register any sub generators which implementPersistentIdentifierGeneratorby theirgeneratorKey.
-
Constructor Details
-
ValueGenerationPlan
-
-
Method Details
-
execute
Execute the value generation.- Specified by:
executein interfaceCompositeNestedGeneratedValueGenerator.GenerationPlan- Parameters:
session- The current sessionincomingObject- The entity for which we are generating idinjectionContext- The context into which the generated value can be injected
-
registerPersistentGenerators
Description copied from interface:CompositeNestedGeneratedValueGenerator.GenerationPlanRegister any sub generators which implementPersistentIdentifierGeneratorby theirgeneratorKey.- Specified by:
registerPersistentGeneratorsin interfaceCompositeNestedGeneratedValueGenerator.GenerationPlan- Parameters:
generatorMap- The map of generators.
-