|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.wotonomy.control.EOGlobalID net.wotonomy.control.EOTemporaryGlobalID
public class EOTemporaryGlobalID
EOTemporaryGlobalID is a network-wide unique key.
This is used by EOEditingContext to construct temporary
ids when new objects are created.
The specified format of the key is a byte array:
< Sequence [2], ProcessID [2], Time [4], IP Addr [4] >,
but because java does not allow access to the process id,
the timestamp of when this class is first loaded is used
to simulate a process id.
Field Summary | |
---|---|
static int |
UniqueBinaryKeyLength
Holds the length in bytes of the key that is generated. |
Fields inherited from class net.wotonomy.control.EOGlobalID |
---|
GlobalIDChangedNotification |
Constructor Summary | |
---|---|
EOTemporaryGlobalID()
Generates a new id with a unique key. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Returns a copy of this object. |
boolean |
equals(java.lang.Object anObject)
Returns whether the keys are equal. |
int |
hashCode()
|
boolean |
isTemporary()
Returns true. |
java.lang.String |
toString()
Returns a string representation of this key. |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int UniqueBinaryKeyLength
Constructor Detail |
---|
public EOTemporaryGlobalID()
Method Detail |
---|
public boolean isTemporary()
isTemporary
in class EOGlobalID
public boolean equals(java.lang.Object anObject)
equals
in class java.lang.Object
public java.lang.Object clone()
clone
in class EOGlobalID
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |