com.webobjects.eoaccess
Interface EODatabase.ClassDelegate
- Enclosing class:
- EODatabase
public static interface EODatabase.ClassDelegate
This interface defines a delegate to the EODatabase class to allow easy subclassing on eth EODatabase.
newDatabaseForModel
EODatabase newDatabaseForModel(EOModel model)
- Allows the delegate the opportunity to construct and return a different EODatabase object for teh model.
- Parameters:
model
- An EOModel which specifies the adaptor to create and associate with the new EODatabase object.
- Returns:
- Should return an alternate default model group, or
null
to use EOModelGroup's default model group. - See Also:
EODatabase.classDelegate()
,
EODatabase.setClassDelegate(Object anObject)
Copyright © 2000-2008 Apple Inc.