| java.lang.Object com.db4o.ext.Db4oUUID
Db4oUUID | public class Db4oUUID (Code) | | a unique universal identify for an object.
The db4o UUID consists of
two parts: - an indexed long for fast access, - the signature of the
com.db4o.ObjectContainer ObjectContainer the object was created with.
Db4oUUIDs are valid representations of objects over multiple
ObjectContainers
|
Constructor Summary | |
public | Db4oUUID(long longPart_, byte[] signaturePart_) |
Db4oUUID | public Db4oUUID(long longPart_, byte[] signaturePart_)(Code) | | constructs a Db4oUUID from a long part and a signature part
Parameters: longPart_ - the long part Parameters: signaturePart_ - the signature part |
getLongPart | public long getLongPart()(Code) | | returns the long part of this UUID.
To uniquely identify an object
universally, db4o uses an indexed long and a reference to the
Db4oDatabase object it was created on.
the long part of this UUID. |
getSignaturePart | public byte[] getSignaturePart()(Code) | | returns the signature part of this UUID.
To uniquely
identify an object universally, db4o uses an indexed long and a reference to
the Db4oDatabase singleton object of the
com.db4o.ObjectContainer ObjectContainer it was created on. This method
returns the signature of the Db4oDatabase object of the ObjectContainer: the
signature of the origin ObjectContainer.
the signature of the Db4oDatabase for this UUID. |
hashCode | public int hashCode()(Code) | | |
|
|