|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.cayenne.project.Project
org.apache.cayenne.project.DataMapProject
public class DataMapProject
Cayenne project that consists of a single DataMap.
| Field Summary | |
|---|---|
protected DataMap |
map
|
| Fields inherited from class org.apache.cayenne.project.Project |
|---|
CURRENT_PROJECT_VERSION, files, modified, projectDir, upgradeMessages, upgradeStatus |
| Constructor Summary | |
|---|---|
DataMapProject(File projectFile)
Constructor for MapProject. |
|
| Method Summary | |
|---|---|
void |
checkForUpgrades()
Does nothing. |
List |
getChildren()
Returns a list that contains project DataMap as a single object. |
ConfigStatus |
getLoadStatus()
Always returns empty status. |
protected void |
postInitialize(File projectFile)
Initializes internal map object and then calls super. |
ProjectFile |
projectFileForObject(Object obj)
Returns appropriate ProjectFile or null if object does not require a file of its own. |
void |
upgrade()
|
| Methods inherited from class org.apache.cayenne.project.Project |
|---|
buildFileList, createProject, deleteFile, findFile, getMainFile, getProjectDirectory, getUpgradeMessages, getUpgradeStatus, getValidator, hasRenamedFiles, initialize, isLocationUndefined, isModified, prepareSave, processDelete, processSave, resolveFile, resolveSymbolicName, save, setModified, setProjectDirectory, treeNodes |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected DataMap map
| Constructor Detail |
|---|
public DataMapProject(File projectFile)
projectFile - | Method Detail |
|---|
public void upgrade()
throws ProjectException
upgrade in class ProjectProjectExceptionpublic void checkForUpgrades()
checkForUpgrades in class Projectprotected void postInitialize(File projectFile)
map object and then calls super.
postInitialize in class Projectpublic List getChildren()
getChildren in class Projectpublic ProjectFile projectFileForObject(Object obj)
projectFileForObject in class Projectpublic ConfigStatus getLoadStatus()
getLoadStatus in class Project
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||