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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BeforeExecutionGenerator
getGenerator()
Retrieve the generator for this generation planSetter
getInjector()
Returns theinjector
for the generated property.int
getPropertyIndex()
Returns the index of the generated property.void
initialize(SqlStringGenerationContext context)
Initializes this instance, in particular pre-generates SQL as necessary.-
Methods inherited from interface org.hibernate.boot.model.relational.ExportableProducer
registerExportables
-
-
-
-
Method Detail
-
initialize
void initialize(SqlStringGenerationContext context)
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()
-
getPropertyIndex
int getPropertyIndex()
Returns the index of the generated property. Used when theCompositeType
is not mutable.- See Also:
getInjector()
-
-