|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> [ wocompat overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.objectstyle.cayenne.wocompat
Class EOModelProcessor

java.lang.Objectorg.objectstyle.cayenne.wocompat.EOModelProcessor
- public class EOModelProcessor
- extends java.lang.Object
Class that converts EOModels to org.objectstyle.cayenne.map.DataMap objects.
| Nested Class Summary | |
(package private) static class |
EOModelProcessor.EODbAttribute
Special DbAttribute subclass that stores extra info needed to work with EOModels. |
| Constructor Summary | |
EOModelProcessor()
|
|
| Method Summary | |
org.objectstyle.cayenne.map.DataMap |
loadEOModel(java.lang.String path)
Performs EOModel loading. |
protected void |
makeAttributes(EOModelHelper helper,
org.objectstyle.cayenne.map.ObjEntity e)
Create ObjAttributes of the specified entity, as well as DbAttributes of the corresponding DbEntity. |
protected org.objectstyle.cayenne.map.ObjEntity |
makeEntity(EOModelHelper helper,
java.lang.String name)
Creates and returns a new ObjEntity linked to a corresponding DbEntity. |
protected void |
makeFlatRelationships(EOModelHelper helper,
org.objectstyle.cayenne.map.ObjEntity e)
Create Flattened ObjRelationships of the specified entity. |
protected EOModelHelper |
makeHelper(java.lang.String path)
Creates an returns new EOModelHelper to process EOModel. |
protected void |
makeRelationships(EOModelHelper helper,
org.objectstyle.cayenne.map.ObjEntity e)
Create ObjRelationships of the specified entity, as well as DbRelationships of the corresponding DbEntity. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
EOModelProcessor
public EOModelProcessor()
| Method Detail |
loadEOModel
public org.objectstyle.cayenne.map.DataMap loadEOModel(java.lang.String path) throws java.lang.Exception
- Performs EOModel loading.
makeHelper
protected EOModelHelper makeHelper(java.lang.String path) throws java.lang.Exception
- Creates an returns new EOModelHelper to process EOModel.
Exists mostly for the benefit of subclasses.
makeEntity
protected org.objectstyle.cayenne.map.ObjEntity makeEntity(EOModelHelper helper, java.lang.String name)
- Creates and returns a new ObjEntity linked to a corresponding DbEntity.
makeAttributes
protected void makeAttributes(EOModelHelper helper, org.objectstyle.cayenne.map.ObjEntity e)
- Create ObjAttributes of the specified entity, as well as
DbAttributes of the corresponding DbEntity.
makeRelationships
protected void makeRelationships(EOModelHelper helper, org.objectstyle.cayenne.map.ObjEntity e)
- Create ObjRelationships of the specified entity, as well as
DbRelationships of the corresponding DbEntity.
makeFlatRelationships
protected void makeFlatRelationships(EOModelHelper helper, org.objectstyle.cayenne.map.ObjEntity e)
- Create Flattened ObjRelationships of the specified entity.
|
|||||||||
| Home >> All >> org >> objectstyle >> cayenne >> [ wocompat overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC
org.objectstyle.cayenne.wocompat.EOModelProcessor