EOAdaptor delegate objects
Inherits From:
com.apple.yellow.eoaccess
The delegate for EOAdaptor can implement the method adaptor:fetchedValueForAttributeValue:attribute:
to perform a database-specific transformations on a value.
Instance Methods
fetchedValueForAttribute
public abstract java.lang.Object fetchedValueForAttribute
(EOAdaptor adaptor,
java.lang.Object value,
EOAttribute attribute)
Invoked from fetchedValueForValue
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
invokes one of the type-specific fetchedValue...
methods depending on the type of value. If you implement this delegate method, fetchedValueForValue
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:fetchedValueForAttributeValue:attribute:
must handle values of all types.