PATH |
EOAdaptorChannel.Concepts
Creating an EOAdaptorChannel Subclass
EOAdaptorChannel provides many default method implementations that are sufficient for concrete subclasses:
- adaptorContext
- delegate
- deleteRowDescribedByQualifier
- lockRowComparingAttributes
- performAdaptorOperation
- performAdaptorOperations
- updateValuesInRowDescribedByQualifier
The following methods establish structure and conventions that other Enterprise Objects Framework classes depend on and should be overridden with caution:
- setDelegate
If you override any of the above methods, your implementations should incorporate the superclass's implementation through a message to super.
The remaining EOAdaptorChannel methods must be overridden by concrete subclasses in terms of the persistent storage system with which it interacts:
- attributesToFetch
- cancelFetch
- closeChannel
- deleteRowsDescribedByQualifier
- describeModelWithTableNames
- describeResults
- describeStoredProcedureNames
- describeTableNames
- evaluateExpression
- executeStoredProcedure
- fetchRow
- insertRow
- isFetchInProgress
- isOpen
- openChannel
- primaryKeyForNewRowWithEntity
- returnValuesForLastStoredProcedureInvocation
- selectAttributes
- setAttributesToFetch
- updateValuesInRowsDescribedByQualifier
© 2001 Apple Computer, Inc. (Last Published April 13, 2001)