|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.mapping.Component.ValueGenerationPlan
public static class Component.ValueGenerationPlan
Constructor Summary | |
---|---|
Component.ValueGenerationPlan(java.lang.String propertyName,
IdentifierGenerator subGenerator,
Setter injector)
|
Method Summary | |
---|---|
void |
execute(SessionImplementor session,
java.lang.Object incomingObject,
java.lang.Object injectionContext)
Execute the value generation. |
void |
registerPersistentGenerators(java.util.Map generatorMap)
Register any sub generators which implement PersistentIdentifierGenerator by their
generatorKey . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Component.ValueGenerationPlan(java.lang.String propertyName, IdentifierGenerator subGenerator, Setter injector)
Method Detail |
---|
public void execute(SessionImplementor session, java.lang.Object incomingObject, java.lang.Object injectionContext)
execute
in interface CompositeNestedGeneratedValueGenerator.GenerationPlan
session
- The current sessionincomingObject
- The entity for which we are generating idinjectionContext
- The context into which the generated value can be injectedpublic void registerPersistentGenerators(java.util.Map generatorMap)
CompositeNestedGeneratedValueGenerator.GenerationPlan
PersistentIdentifierGenerator
by their
generatorKey
.
registerPersistentGenerators
in interface CompositeNestedGeneratedValueGenerator.GenerationPlan
generatorMap
- The map of generators.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |