Up

EOGlobalID

Authors

Mirko Viviani (mirko.viviani@gmail.com)

Version: 27724

Date: 2009-01-29 23:34:41 +0100 (Don, 29. Jän 2009)

Copyright: (C) 2000-2002,2003,2004,2005 Free Software Foundation, Inc.


Contents -

  1. Software documentation for the EOGlobalID class
  2. Software documentation for the EOTemporaryGlobalID class
  3. EOGlobalID variables

Software documentation for the EOGlobalID class

EOGlobalID : NSObject

Declared in:
EOControl/EOGlobalID.h
Conforms to:
NSCopying
Description forthcoming.
Method summary

hash 

- (unsigned) hash;
Description forthcoming.

isEqual: 

- (BOOL) isEqual: (id)other;
Description forthcoming.

isTemporary 

- (BOOL) isTemporary;
Description forthcoming.

Software documentation for the EOTemporaryGlobalID class

EOTemporaryGlobalID : EOGlobalID

Declared in:
EOControl/EOGlobalID.h
Conforms to:
NSCoding
Description forthcoming.

Instance Variables

Method summary

assignGloballyUniqueBytes: 

+ (void) assignGloballyUniqueBytes: (unsigned char*)buffer;
Fills the supplied buffer with 12 bytes that are unique to the subnet. The first two bytes encode a sequence of the process. Then two bytes encode the process ID followed by four bytes which encode a time stamp. The last four bytes encode the IP address. The caller must insure that the buffer pointed to is large enough to hold the twelve bytes.

temporaryGlobalID 

+ (EOTemporaryGlobalID*) temporaryGlobalID;
Description forthcoming.

isTemporary 

- (BOOL) isTemporary;
Description forthcoming.



Instance Variables for EOTemporaryGlobalID Class

_bytes

@protected unsigned char _bytes;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.

_refCount

@protected unsigned int _refCount;
Warning the underscore at the start of the name of this instance variable indicates that, even though it is not technically private, it is intended for internal use within the package, and you should not use the variable in other code.




EOGlobalID variables

EOGlobalIDChangedNotification

NSString* EOGlobalIDChangedNotification;
This notification is intended to allow EOTemporaryGlobalIDs to be replaced with the corresponding EOKeyGlobalIDs. In theory one could interpret this as a mechanism to allow primary key attributes to be mutable class properties. Even though EOF also posts this notification in that case, it fails to consistently propagate the new value through relationships. GDL2 may attempt to correct that shortcoming in the future, but it may have serious performance implications.


Up