PATH  WebObjects 4.0 Documentation > EOControl Reference



EOTemporaryGlobalID

Inherits From:
EOGlobalID : NSObject

Implements:
java.lang.Cloneable (Java Client only)

Package:
com.apple.client.eocontrol (Java Client)
com.apple.yellow.eocontrol (WebObjects and Yellow Box)

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.

Constructors


EOTemporaryGlobalID

public EOTemporaryGlobalID ()

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 .





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