db4o 4.0

com.db4o.ext
Interface ObjectInfo


public interface ObjectInfo

interface to the internal reference that an ObjectContainer holds for a stored object.


Method Summary
 java.lang.Object getObject()
          returns the object that is referenced.
 Db4oUUID getUUID()
          returns a UUID representation of the referenced object.
 

Method Detail

getObject

public java.lang.Object getObject()
returns the object that is referenced.

This method may return null, if the object has been garbage collected.

Returns:
the referenced object or null, if the object has been garbage collected.

getUUID

public Db4oUUID getUUID()
returns a UUID representation of the referenced object.

Returns:
the UUID of the referenced object.

db4o 4.0