Documentation Archive Developer
Search
PATH  Documentation > WebObjects 4.5 > EOControl Reference

Table of Contents

EOTemporaryGlobalID


Inherits from:
(com.apple.client.eocontrol) EOGlobalID : Object
(com.apple.yellow.eocontrol) EOGlobalID : NSObject
Implements:
(com.apple.client.eocontrol only) Cloneable
Package:
com.apple.client.eocontrol
com.apple.yellow.eocontrol


Class Description


An EOTemporaryGlobalID object identifies a newly created enterprise object before it's saved to an external store. When the object is saved, the temporary ID is converted to a permanent one, as described in the EOGlobalID class specification.




Constants


(com.apple.yellow.eocontrol only) EOTemporaryGlobalID defines the following int constant to specify the length (in bytes) of a global ID:



Constructors



EOTemporaryGlobalID

public EOTemporaryGlobalID()

(com.apple.yellow.eocontrol only) Creates and returns an EOTemporaryGlobalID as a unique instance. The returned object contains a byte string that's guaranteed to be unique network-wide. As a result, EOTemporaryGlobalIDs can be safely passed between processes and machines while still preserving global uniqueness. The returned byte string has the format:
< Sequence [2], ProcessID [2], Time [4], IP Addr [4] >




Instance Methods



isTemporary

public boolean isTemporary()

Returns true.


Table of Contents