public interface IdGeneratorStrategyInterpreter
| Modifier and Type | Interface and Description | 
|---|---|
static interface  | 
IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
determineGeneratorName(GenerationType generationType,
                      IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext context)
Determine the name of the generator which should be used based on the
 GenerationType, returning  
null to indicate that this interpreter
 did not have a match and that any additional resolutions should be performed. | 
void | 
interpretSequenceGenerator(SequenceGenerator sequenceGeneratorAnnotation,
                          IdentifierGeneratorDefinition.Builder definitionBuilder)
Extract the IdentifierGeneratorDefinition related to the given SequenceGenerator annotation 
 | 
void | 
interpretTableGenerator(TableGenerator tableGeneratorAnnotation,
                       IdentifierGeneratorDefinition.Builder definitionBuilder)
Extract the IdentifierGeneratorDefinition related to the given TableGenerator annotation 
 | 
String determineGeneratorName(GenerationType generationType, IdGeneratorStrategyInterpreter.GeneratorNameDeterminationContext context)
null to indicate that this interpreter
 did not have a match and that any additional resolutions should be performed.generationType - The GeneratedValue.strategy() valuecontext - The context for resolution (method parameter object)IdentifierGenerator name (FQN, short name, etc)void interpretTableGenerator(TableGenerator tableGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)
tableGeneratorAnnotation - The annotationdefinitionBuilder - The IdentifierGeneratorDefinition builder to which to apply
 any interpreted/extracted configurationvoid interpretSequenceGenerator(SequenceGenerator sequenceGeneratorAnnotation, IdentifierGeneratorDefinition.Builder definitionBuilder)
sequenceGeneratorAnnotation - The annotationdefinitionBuilder - The IdentifierGeneratorDefinition builder to which to apply
 any interpreted/extracted configurationCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.