EOObjectStoreCoordinator Additions
Category of: EOObjectStoreCoordinator
Declared in: EOAccess/EOModelGroup.h
Category Description
The EOAccess framework adds two methods to EOControl's EOObjectStoreCoordinator class for accessing the coordinator's EOModelGroup. An application can have multiple EOObjectStoreCoordinators, and each coordinator can have a different EOModelGroup. (For more discussion of this subject, see the chapter "Application Configurations" in the Enterprise Objects Framework Developer's Guide.) Application and framework code needing access to the EOModelGroup for a given EOEditingContext can get that information by asking the EOEditingContext's EOObjectStoreCoordinator for its EOModelGroup.
The methods are defined in a category of EOObjectStoreCoordinator in EOAccess (instead of in EOControl's EOObjectStoreCoordinator interface) to preserve the EOControl framework's independence of the EOAccess framework.
Instance Methods
modelGroup
- (EOModelGroup *)modelGroup
setModelGroup:
- (void)setModelGroup:(EOModelGroup
*)group
[EOModelGroup defaultGroup]
.
However, you can override this by using setModelGroup: to explicitly set
a different EOModelGroup for the receiver. Other parts of Enterprise
Objects Framework (such as EODatabaseContext) use the EOModelGroup
bound to their EOObjectStoreCoordinator.