PATH |
EOModelGroup.Concepts
Setting Up A Model Group Programmatically
In the majority of applications, the automatic creation of the default model group is sufficient. However, if your particular application requires different model grouping semantics, you can create your own EOModelGroup instance, add the appropriate models, and then use that instance to replace the default EOModelGroup. The following code demonstrates the process:
String modelPath; // Assume this exists EOModelGroup group = new EOModelGroup(); group.addModelWithPath(modelPath); EOModelGroup.setDefaultGroup(group);
© 2001 Apple Computer, Inc. (Last Published April 13, 2001)