Project Wonder 5.0

er.extensions.eof
Class ERXModelGroup.Model

java.lang.Object
  extended by com.webobjects.eoaccess.EOModel
      extended by com.webobjects.eoaccess.ERXModel
          extended by er.extensions.eof.ERXModelGroup.Model
All Implemented Interfaces:
com.webobjects.foundation.NSDisposable
Enclosing class:
ERXModelGroup

public static class ERXModelGroup.Model
extends com.webobjects.eoaccess.ERXModel

Extends models by model-specific prototypes. You would use them by having an entity named EOModelPrototypes, EOJDBCModelPrototypes or EOJDBC<PluginName>ModelPrototypes in your model. These are loaded after the normal models, so you can override things here. Of course EOModeler knows nothing of them, so you may need to copy all attributes over to a EOPrototypes entity that is present only once in your model group.
This class is used by the runtime when the property er.extensions.ERXModelGroup.patchModelsOnLoad=true.

Note: er.extensions.ERXModelGroup.patchModelsOnLoad=true makes the following property er.extensions.ERXModel.useExtendedPrototypes=true.

Author:
ak

Nested Class Summary
 
Nested classes/interfaces inherited from class com.webobjects.eoaccess.EOModel
com.webobjects.eoaccess.EOModel._DefaultModelCreator
 
Field Summary
 
Fields inherited from class com.webobjects.eoaccess.ERXModel
_ERXGlobalModelLock
 
Fields inherited from class com.webobjects.eoaccess.EOModel
_adaptorName, _connectionDictionary, _entities, _entitiesByClass, _entitiesByName, _EOGlobalModelLock, _extraRefCount, _group, _internalInfo, _name, _prototypesByName, _sharedObjectEntities, _storedProcedures, _subEntitiesCache, _url, _userInfo, EntityLoadedNotification
 
Fields inherited from interface com.webobjects.foundation.NSDisposable
_CLASS
 
Constructor Summary
ERXModelGroup.Model(java.net.URL url)
           
 
Method Summary
protected  boolean useExtendedPrototypes()
          Defaults to false as returned by ERXModel.isUseExtendedPrototypesEnabled().
 
Methods inherited from class com.webobjects.eoaccess.ERXModel
_addEntityWithPropertyList, availablePrototypeAttributeNames, createPrototypes, isUseExtendedPrototypesEnabled, prototypeAttributeNamed, setModelGroup
 
Methods inherited from class com.webobjects.eoaccess.EOModel
_addEntity, _addFakeEntityWithPropertyList, _childrenForEntityNamed, _classDescriptionNeededForClass, _classDescriptionNeededForEntityName, _entityForClass, _externalModelsReferencedByEntities, _filenameForFetchSpecificationDictionaryForEntityNamedWithModelPath, _initWithPropertyListOwner, _initWithTableOfContentsPropertyListPathURL, _instantiatedEntities, _internalInfo, _isPrototypesEntity, _loadFetchSpecificationDictionaryForEntityNamed, _registerChildForParent, _removeEntity, _removePropertiesReferencingEntity, _resetPrototypeCache, _setEntitiesWithSharedObjects, _setEntityForEntityNameClassName, _setInheritanceLinks, _setInternalInfo, _setPathURL, _writeFetchSpecificationDictionaryForEntityNamedToModelPath, adaptorName, addEntity, addStoredProcedure, beautifyNames, connectionDictionary, dispose, encodeTableOfContentsIntoPropertyList, entities, entitiesWithSharedObjects, entityForObject, entityNamed, entityNames, externalModelsReferenced, loadAllModelObjects, modelGroup, name, path, pathURL, referencesToProperty, removeEntity, removeEntityAndReferences, removeStoredProcedure, setAdaptorName, setConnectionDictionary, setName, setUserInfo, storedProcedureNamed, storedProcedureNames, storedProcedures, toString, userInfo, writeToFile
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERXModelGroup.Model

public ERXModelGroup.Model(java.net.URL url)
Method Detail

useExtendedPrototypes

protected boolean useExtendedPrototypes()
Description copied from class: com.webobjects.eoaccess.ERXModel
Defaults to false as returned by ERXModel.isUseExtendedPrototypesEnabled().

Overrides:
useExtendedPrototypes in class com.webobjects.eoaccess.ERXModel
See Also:
ERXModel.useExtendedPrototypes()

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.