public interface IdentifierGeneratorFactory
IdentifierGenerator
instances.Modifier and Type | Method and Description |
---|---|
IdentifierGenerator |
createIdentifierGenerator(String strategy,
Type type,
Properties config)
Given a strategy, retrieve the appropriate identifier generator instance.
|
Dialect |
getDialect()
Get the dialect.
|
Class |
getIdentifierGeneratorClass(String strategy)
Retrieve the class that will be used as the
IdentifierGenerator for the given strategy. |
void |
setDialect(Dialect dialect)
Deprecated.
The intention is that Dialect should be required to be specified up-front and it would then get
ctor injected.
|
Dialect getDialect()
@Deprecated void setDialect(Dialect dialect)
dialect
- The dialectIdentifierGenerator createIdentifierGenerator(String strategy, Type type, Properties config)
strategy
- The generation strategy.type
- The mapping type for the identifier values.config
- Any configuraion properties given in the generator mapping.Class getIdentifierGeneratorClass(String strategy)
IdentifierGenerator
for the given strategy.strategy
- The strategyCopyright © 2016 JBoss by Red Hat. All rights reserved.