Package com.db4o.ext
Class Db4oUUID
- java.lang.Object
- 
- com.db4o.ext.Db4oUUID
 
- 
 public class Db4oUUID extends java.lang.Objecta unique universal identify for an object.
 The db4o UUID consists of two parts:
 - an indexed long for fast access,
 - the signature of theObjectContainerthe object was created with.
 Db4oUUIDs are valid representations of objects over multiple ObjectContainers
- 
- 
Constructor SummaryConstructors Constructor Description Db4oUUID(long longPart_, byte[] signaturePart_)constructs a Db4oUUID from a long part and a signature part
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)longgetLongPart()returns the long part of this UUID.byte[]getSignaturePart()returns the signature part of this UUID.inthashCode()java.lang.StringtoString()
 
- 
- 
- 
Method Detail- 
getLongPartpublic long getLongPart() 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.- Returns:
- the long part of this UUID.
 
 - 
getSignaturePartpublic byte[] getSignaturePart() 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 theObjectContainerit was created on. This method returns the signature of the Db4oDatabase object of the ObjectContainer: the signature of the origin ObjectContainer.- Returns:
- the signature of the Db4oDatabase for this UUID.
 
 - 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 
- 
 
-