![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
EOAdaptorDelegate
Adopted By:
EOAdaptor delegate objects
Declared in: EOAccess/EOAdaptor.h
Protocol Description
The delegate for EOAdaptor can implement the method adaptor:fetchedValueForValue:attribute:
to perform a database-specific transformations on a value.
Instance Methods
adaptor:fetchedValueForValue:attribute:
- (id)adaptor:
(EOAdaptor *)adaptorfetchedValueForValue:
(id)valueattribute:
(EOAttribute *)attribute
Invoked from fetchedValueForValue:attribute:
to allow the delegate to perform a database-specific transformation on value. The delegate should return the value that the adaptor's database server would ultimately store for value if it was inserted or updated in the column described by attribute.
Ordinarily, fetchedValueForValue:attribute:
invokes one of the type-specific fetchedValue...
methods depending on the type of value. If you implement this delegate method, fetchedValueForValue:attribute:
does not invoke the other fetchedValue...
methods. It simply invokes your delegate method and returns the value returned from it. Therefore, an implementation of adaptor:fetchedValueForValue:attribute:
must handle values of all types.
![](../../../../../../../../../../images/previous.gif)
![](../../../../../../../../../../images/next.gif)
Copyright © 1998, Apple Computer, Inc. All rights reserved.