|
Project Wonder 2.0 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.webobjects.eoaccess.EOModelGroup er.extensions.ERXModelGroup
The reason that this model group is needed is because the regular EOModelGroup will fail to load a model if it has an entity name conflict. While normally this could be considered a 'good thing' in the case of EOPrototypes multiple EOModels might all need there own prototype entities (in fact EOM requires it). This model group subclass will only print warning messages when duplicate entity names are found.
Nested Class Summary |
Nested classes inherited from class com.webobjects.eoaccess.EOModelGroup |
EOModelGroup.ClassDelegate, EOModelGroup.Delegate |
Field Summary | |
static ERXLogger |
log
logging support |
Constructor Summary | |
ERXModelGroup()
Default public constructor |
Method Summary | |
void |
addModel(EOModel eomodel)
This implementation will load models that have entity name conflicts, removing the offending entity. |
void |
checkInheritanceRelationships()
Corrects a strange EOF inheritance issue where if a model gets loaded and an entity that has children located in a different model that hasn't been loaded yet will not be setup correctly. |
static EOModelGroup |
modelGroupForLoadedBundles()
The only reason this method is needed is so our model group subclass is used. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static ERXLogger log
Constructor Detail |
public ERXModelGroup()
Method Detail |
public static EOModelGroup modelGroupForLoadedBundles()
public void addModel(EOModel eomodel)
eomodel
- model to be addedpublic void checkInheritanceRelationships()
|
Last updated: Do, Dez 9, 2004 12:46 PM CET | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |