Package org.hibernate.id
Interface CompositeNestedGeneratedValueGenerator.GenerationPlan
- All Superinterfaces:
ExportableProducer
- All Known Implementing Classes:
Component.ValueGenerationPlan
- Enclosing class:
CompositeNestedGeneratedValueGenerator
public static interface CompositeNestedGeneratedValueGenerator.GenerationPlan
extends ExportableProducer
Contract for performing the actual sub-value generation, usually injecting it into the
determined context
-
Method Summary
Modifier and TypeMethodDescriptionRetrieve the generator for this generation planReturns theinjectorfor the generated property.intReturns the index of the generated property.voidinitialize(SqlStringGenerationContext context) Initializes this instance, in particular pre-generates SQL as necessary.Methods inherited from interface org.hibernate.boot.model.relational.ExportableProducer
registerExportables
-
Method Details
-
initialize
Initializes this instance, in particular pre-generates SQL as necessary.This method is called after
ExportableProducer.registerExportables(Database), before first use.- Parameters:
context- A context to help generate SQL strings
-
getGenerator
BeforeExecutionGenerator getGenerator()Retrieve the generator for this generation plan -
getInjector
Setter getInjector()- See Also:
-
getPropertyIndex
int getPropertyIndex()Returns the index of the generated property. Used when theCompositeTypeis not mutable.- See Also:
-