org.hibernate.mapping
Class Component.ValueGenerationPlan
java.lang.Object
   org.hibernate.mapping.Component.ValueGenerationPlan
org.hibernate.mapping.Component.ValueGenerationPlan
- All Implemented Interfaces: 
- CompositeNestedGeneratedValueGenerator.GenerationPlan
- Enclosing class:
- Component
- public static class Component.ValueGenerationPlan 
- extends Object- implements CompositeNestedGeneratedValueGenerator.GenerationPlan
 
 
| Methods inherited from class java.lang.Object | 
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
Component.ValueGenerationPlan
public Component.ValueGenerationPlan(String propertyName,
                                     IdentifierGenerator subGenerator,
                                     Setter injector)
execute
public void execute(SessionImplementor session,
                    Object incomingObject,
                    Object injectionContext)
- Execute the value generation.
 
- 
- Specified by:
- executein interface- CompositeNestedGeneratedValueGenerator.GenerationPlan
 
- 
- Parameters:
- session- The current session
- incomingObject- The entity for which we are generating id
- injectionContext- The context into which the generated value can be injected
 
registerPersistentGenerators
public void registerPersistentGenerators(Map generatorMap)
- Description copied from interface: CompositeNestedGeneratedValueGenerator.GenerationPlan
- Register any sub generators which implement PersistentIdentifierGeneratorby theirgeneratorKey.
 
- 
- Specified by:
- registerPersistentGeneratorsin interface- CompositeNestedGeneratedValueGenerator.GenerationPlan
 
- 
- Parameters:
- generatorMap- The map of generators.
 
Copyright © 2001-2010 Red Hat, Inc.  All Rights Reserved.