Documentation Archive Developer
Search
PATH  WebObjects 4.0 Documentation > EOAccess Reference



EOGenericRecord Additions

Inherits From:
NSObject

Declared in: EOAccess/EOGenericRecord.h


Class Description

The access layer adds one method to the control layer's EOGenericRecord class, for returning a generic record's associated EOEntity. Strictly speaking, EOGenericRecord doesn't rely on the access layer. However, in applications that access a relational database, the access layer's modeling objects are an important part of how generic records map to database rows: If an EOModel doesn't have a custom enterprise object class defined for a particular entity, an EODatabaseChannel using that model creates EOGenericRecords when fetching objects for that entity from the database server. During this process, an EODatabaseChannel also sets each generic record's classDescription to an EOEntityClassDescription, providing the link to the record's associated modeling objects.


Instance Methods


entity

- (EOEntity *)entity

Returns the receiver's EOEntity.





Copyright © 1998, Apple Computer, Inc. All rights reserved.