|
|||||||||
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(java.io.File projectFile)
Constructor for MapProject. |
Method Summary | |
---|---|
void |
checkForUpgrades()
Does nothing. |
java.util.List |
getChildren()
Returns a list that contains project DataMap as a single object. |
ConfigStatus |
getLoadStatus()
Always returns empty status. |
protected void |
postInitialize(java.io.File projectFile)
Initializes internal map object and then calls super. |
ProjectFile |
projectFileForObject(java.lang.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, isUpgradeNeeded, 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(java.io.File projectFile)
projectFile
- Method Detail |
---|
public void upgrade() throws ProjectException
upgrade
in class Project
ProjectException
public void checkForUpgrades()
checkForUpgrades
in class Project
protected void postInitialize(java.io.File projectFile)
map
object and then calls super.
postInitialize
in class Project
public java.util.List getChildren()
getChildren
in class Project
public ProjectFile projectFileForObject(java.lang.Object obj)
projectFileForObject
in class Project
public ConfigStatus getLoadStatus()
getLoadStatus
in class Project
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |