public static class Component.ValueGenerationPlan extends Object implements CompositeNestedGeneratedValueGenerator.GenerationPlan
| Constructor and Description |
|---|
ValueGenerationPlan(IdentifierGenerator subGenerator,
Setter injector) |
| Modifier and Type | Method and Description |
|---|---|
void |
execute(SharedSessionContractImplementor session,
Object incomingObject,
Object injectionContext)
Execute the value generation.
|
void |
registerExportables(Database database)
Register the contained exportable things to the
Database |
public ValueGenerationPlan(IdentifierGenerator subGenerator, Setter injector)
public void execute(SharedSessionContractImplementor session, Object incomingObject, Object injectionContext)
CompositeNestedGeneratedValueGenerator.GenerationPlanexecute in interface CompositeNestedGeneratedValueGenerator.GenerationPlansession - The current sessionincomingObject - The entity for which we are generating idinjectionContext - The context into which the generated value can be injectedpublic void registerExportables(Database database)
ExportableProducerDatabaseregisterExportables in interface ExportableProducerdatabase - The database instanceCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.