Class EOGlobalID

  extended by net.wotonomy.control.EOGlobalID
All Implemented Interfaces:, java.lang.Cloneable
Direct Known Subclasses:
EOKeyGlobalID, EOTemporaryGlobalID

public abstract class EOGlobalID
extends java.lang.Object
implements java.lang.Cloneable,

A pure java implementation of EOGlobalID.

$Revision: 893 $
Author:, $Author: cgruber $
See Also:
Serialized Form

Field Summary
static java.lang.String GlobalIDChangedNotification
          ObjectStores broadcast this notification when they replace a temporary global id with a permanent one.
Constructor Summary
Method Summary
 java.lang.Object clone()
          Returns a copy of this object.
abstract  boolean isTemporary()
          Returns whether this id is a temporary id.
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Field Detail


public static final java.lang.String GlobalIDChangedNotification
ObjectStores broadcast this notification when they replace a temporary global id with a permanent one. EditingContexts listen for these notifications to update their mapping of global ids to objects. The object of the notification is null, and the user info contains a mapping of the old temporary ids to the new permanent ids.

See Also:
Constant Field Values
Constructor Detail


public EOGlobalID()
Method Detail


public abstract boolean isTemporary()
Returns whether this id is a temporary id. Temporary ids are generated for newly created objects that have not been persisted. When persisted, the temporary id is discarded in favor of the one generated by the object store.


public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Returns a copy of this object. This implementation calls super.clone().

clone in class java.lang.Object

Copyright © 2006 null. All Rights Reserved.