Inherits From:
EOGlobalID : NSObject
Conforms To:
NSCoding
NSCopying (EOGlobalID)
NSObject (NSObject)
Declared in: EOAccess/EOKeyGlobalID.h
Returns an EOKeyGlobalID based on entityName and keyValues. For performance reasons, the key values are given as a C array of id ; count indicates how many key values there are. The object returned is allocated from zone.
EOKeyGlobalIDs are more conveniently created using EOEntity's globalIDForRow: method.
Returns the name of the entity governing the object identified by the receiver. This is used by EODatabaseContexts to identify an EOEntity in methods such as faultForGlobalID:editingContext: .
- (unsigned int)hash
Returns an integer that can be used as a table address in a hash table structure. If two objects are equal (as determined by isEqual: ), they must have the same hash value. For more information, see the descriptions of this method in the NSObject class and protocol specifications of the Foundation Framework.
- (BOOL)isEqual: (id)anObject
Returns YES if the receiver and anObject share the same entity name and key values, NO if they don't. For more information, see the descriptions of this method in the NSObject class and protocol specifications of the Foundation Framework.
See also: - entityName , - keyValues
keyCount
- (unsigned int)keyCount
Returns the number of key values in the receiver.
See also: - keyValues
Returns the receiver's key values as a C array of id (for performance reasons).
See also: - keyValuesArray , - keyCount
keyValuesArray
- (NSArray *)keyValuesArray
Returns the receiver's key values as an NSArray.
See also: - keyValues
Copyright © 1997, Apple Computer, Inc. All rights reserved.