public class DataMapDefaults extends RenamedPreferences
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SUPERCLASS_PACKAGE_SUFFIX |
static String |
GENERATE_PAIRS_PROPERTY |
static String |
OUTPUT_PATH_PROPERTY |
static String |
SUBCLASS_TEMPLATE_PROPERTY |
static String |
SUPERCLASS_PACKAGE_PROPERTY |
static String |
SUPERCLASS_TEMPLATE_PROPERTY |
CAYENNE_PREFERENCES_PATH, EDITOR, LAST_PROJ_FILES| Constructor and Description |
|---|
DataMapDefaults(Preferences pref) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
getBooleanProperty(String property) |
boolean |
getGeneratePairs() |
String |
getOutputPath() |
String |
getProperty(String property) |
String |
getSubclassTemplate() |
String |
getSuperclassPackage() |
String |
getSuperclassTemplate() |
void |
prePersist()
An initialization callback.
|
void |
setBooleanProperty(String property,
boolean value) |
void |
setGeneratePairs(Boolean bool) |
void |
setOutputPath(String outputPath) |
void |
setProperty(String property,
String value) |
void |
setSubclassTemplate(String subclassTemplate) |
void |
setSuperclassPackage(String superclassPackage) |
void |
setSuperclassPackage(String prefix,
String suffix)
Sets superclass package, building it by "normalizing" and concatenating prefix and
suffix.
|
void |
setSuperclassTemplate(String superclassTemplate) |
void |
updateSuperclassPackage(DataMap dataMap,
boolean isClient)
Returns a superclass package tailored for a given DataMap.
|
clearPreferences, copyPreferences, copyPreferences, copyPreferences, removeNewPreferences, removeOldPreferencesfilePathToPrefereceNodePath, getCayennePreference, getCurrentPreference, getNode, getRootPreference, saveObjectPreference, setCurrentNodeForPreference, setCurrentPreference, setObjectpublic static final String GENERATE_PAIRS_PROPERTY
public static final String OUTPUT_PATH_PROPERTY
public static final String SUBCLASS_TEMPLATE_PROPERTY
public static final String SUPERCLASS_PACKAGE_PROPERTY
public static final String SUPERCLASS_TEMPLATE_PROPERTY
public static final String DEFAULT_SUPERCLASS_PACKAGE_SUFFIX
public DataMapDefaults(Preferences pref)
public void updateSuperclassPackage(DataMap dataMap, boolean isClient)
public void prePersist()
public void setSuperclassPackage(String prefix, String suffix)
public boolean getGeneratePairs()
public void setGeneratePairs(Boolean bool)
public String getOutputPath()
public void setOutputPath(String outputPath)
public String getSubclassTemplate()
public void setSubclassTemplate(String subclassTemplate)
public String getSuperclassPackage()
public void setSuperclassPackage(String superclassPackage)
public String getSuperclassTemplate()
public void setSuperclassTemplate(String superclassTemplate)
public void setBooleanProperty(String property, boolean value)
public boolean getBooleanProperty(String property)
Copyright © 2001–2015 Apache Cayenne. All rights reserved.