| java.lang.Object com.db4o.ext.Db4oDatabase
Db4oDatabase | public class Db4oDatabase implements Db4oType,Internal4(Code) | | Class to identify a database by it's signature.
db4o UUID handling uses a reference to the Db4oDatabase object, that
represents the database an object was created on.
|
STATIC_ID | final public static int STATIC_ID(Code) | | |
i_signature | public byte[] i_signature(Code) | | Field is public for implementation reasons, DO NOT TOUCH!
|
i_uuid | public long i_uuid(Code) | | Field is public for implementation reasons, DO NOT TOUCH!
This field is badly named, it really is the creation time.
|
Db4oDatabase | public Db4oDatabase()(Code) | | constructor for persistence
|
Db4oDatabase | public Db4oDatabase(byte[] signature, long creationTime)(Code) | | constructor for comparison and to store new ones
|
bind | public int bind(Transaction trans)(Code) | | make sure this Db4oDatabase is stored. Return the ID.
|
equals | public boolean equals(Object obj)(Code) | | comparison by signature.
|
generate | public static Db4oDatabase generate()(Code) | | generates a new Db4oDatabase object with a unique signature.
|
getCreationTime | public long getCreationTime()(Code) | | |
getID | public int getID(Transaction trans)(Code) | | gets the db4o ID, and may cache it for performance reasons.
the db4o ID for the ObjectContainer |
getSignature | public byte[] getSignature()(Code) | | returns the unique signature
|
hashCode | public int hashCode()(Code) | | |
|
|