- Inherits from:
- NSObject
- Conforms to:
- NSCoding
- NSCopying (EOGlobalID)
- NSObject (NSObject)
Declared in:
- EOAccess/EOKeyGlobalID.h
EOKeyGlobalID is a concrete subclass of EOGlobalID whose instances represent persistent IDs based on EOModel information: an entity and the primary key values for the object being identified. When creating an EOKeyGlobalID, the key values must be supplied following alphabetical order for their attribute names. EOKeyGlobalID defines the globalIDWithEntityName:keys:keyCount:zone: for creating instances, but it's much more convenient to create instances from fetched rows using EOEntity's globalIDForRow: method. (EOEntity and EOModel are defined in EOAccess.)
NSCoding
- - encodeWithCoder:
- - initWithCoder:
- Creating instances
- + globalIDWithEntityName:keys:keyCount:zone:
- Getting the entity name
- - entityName
- Getting the key values
- - keyValues
- - keyCount
- - keyValuesArray
- Comparison
- - equals
+ (id)globalIDWithEntityName:(NSString
*)entityName
keys:(id *)keyValues
keyCount:(unsigned int)count
zone:(NSZone *)zone
EOKeyGlobalIDs are more conveniently created using EOEntity's globalIDForRow: method (EOAccess).
- (NSString *)entityName
- (unsigned int)hash
- (BOOL)isEqual:(id)anObject
See Also: - entityName, - keyValues
- (unsigned int)keyCount
- (id *)keyValues
- (NSArray *)keyValuesArray