WebObjects 5.4.2

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.


Method Summary
 EODatabase newDatabaseForModel(EOModel model)
          Allows the delegate the opportunity to construct and return a different EODatabase object for teh model.
 

Method Detail

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)

Last updated June 2008

Copyright © 2000-2008 Apple Inc.