public static class Component.StandardGenerationContextLocator extends Object implements CompositeNestedGeneratedValueGenerator.GenerationContextLocator
| Constructor and Description | 
|---|
Component.StandardGenerationContextLocator(String entityName)  | 
| Modifier and Type | Method and Description | 
|---|---|
Serializable | 
locateGenerationContext(SessionImplementor session,
                       Object incomingObject)
Given the incoming object, determine the context for injecting back its generated
 id sub-values. 
 | 
public Component.StandardGenerationContextLocator(String entityName)
public Serializable locateGenerationContext(SessionImplementor session, Object incomingObject)
CompositeNestedGeneratedValueGenerator.GenerationContextLocatorlocateGenerationContext in interface CompositeNestedGeneratedValueGenerator.GenerationContextLocatorsession - The current sessionincomingObject - The entity for which we are generating idCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.