public class NameGeneratorPreferences extends Object
| Constructor and Description |
|---|
NameGeneratorPreferences() |
| Modifier and Type | Method and Description |
|---|---|
void |
addToLastUsedStrategies(String strategy)
Adds strategy to history
|
ObjectNameGenerator |
createNamingStrategy(Application application) |
static ObjectNameGenerator |
defaultNameGenerator() |
static NameGeneratorPreferences |
getInstance() |
Vector<String> |
getLastUsedStrategies() |
public static NameGeneratorPreferences getInstance()
public Vector<String> getLastUsedStrategies()
public void addToLastUsedStrategies(String strategy)
public ObjectNameGenerator createNamingStrategy(Application application) throws ClassNotFoundException, IllegalAccessException, InstantiationException
public static ObjectNameGenerator defaultNameGenerator()
Copyright © 2001–2015 Apache Cayenne. All rights reserved.