Project Wonder 5.0.0.8795

er.extensions.eof
Class ERXTemporaryGlobalID

java.lang.Object
  extended by com.webobjects.eocontrol.EOGlobalID
      extended by er.extensions.eof.ERXTemporaryGlobalID
All Implemented Interfaces:
Serializable, Cloneable

public class ERXTemporaryGlobalID
extends EOGlobalID

Experimental class to have quasi-GUIDs that fit into a long. Used as an alternative to the ERXLongPrimaryKeyFactory or the 24 byte built-in keys. To have it installed, set your pk prototype to "longId".

Author:
ak
See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.webobjects.eocontrol.EOGlobalID
_CLASS, GlobalIDChangedNotification
 
Constructor Summary
ERXTemporaryGlobalID()
           
 
Method Summary
 NSDictionary dictionary(String key)
          Returns a pk-ready dictionary with the supplied key.
 boolean equals(Object obj)
           
 int hashCode()
           
 boolean isTemporary()
           
static void setIdentifier(int value)
           
 long value()
           
 
Methods inherited from class com.webobjects.eocontrol.EOGlobalID
clone
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ERXTemporaryGlobalID

public ERXTemporaryGlobalID()
Method Detail

setIdentifier

public static void setIdentifier(int value)

equals

public boolean equals(Object obj)
Specified by:
equals in class EOGlobalID

isTemporary

public boolean isTemporary()
Overrides:
isTemporary in class EOGlobalID

hashCode

public int hashCode()
Specified by:
hashCode in class EOGlobalID

value

public long value()

dictionary

public NSDictionary dictionary(String key)
Returns a pk-ready dictionary with the supplied key.

Parameters:
key -

Last updated: Fri, Jan 9, 2009 • 04:35 AM EST

Copyright © 2002 – 2007 Project Wonder.