er.extensions.eof
Class ERXTemporaryGlobalID
java.lang.Object
com.webobjects.eocontrol.EOGlobalID
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
ERXTemporaryGlobalID
public ERXTemporaryGlobalID()
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 -
Copyright © 2002 – 2007 Project Wonder.