org.ozoneDB.odmg
Class ODMG

java.lang.Object
  |
  +--org.ozoneDB.odmg.ODMG
All Implemented Interfaces:
Implementation
Direct Known Subclasses:
OzoneODMG

public abstract class ODMG
extends java.lang.Object
implements Implementation

This abstract class enhances the original ODMG Implementation interface by a standard way to obtain the database of a given object. The newly introduced static method allows to obtain the database for a given object without the need to know the actual Implementation factory object. This is particularly useful for ozone, where database object do not have access to the client side logic and variables.

OzoneODMG does already implement this interface. Wrappers for other ODMG database systems just need to make sure to call the default ctor of the underlying class.

Author:
SMB @version $Revision: 1.1 $Date: 2002/05/08 15:03:21 $

Constructor Summary
ODMG()
           
 
Method Summary
static Database getDatabase2(java.lang.Object obj)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.odmg.Implementation
currentTransaction, getDatabase, getObjectId, newDArray, newDatabase, newDBag, newDList, newDMap, newDSet, newOQLQuery, newTransaction
 

Constructor Detail

ODMG

public ODMG()
Method Detail

getDatabase2

public static Database getDatabase2(java.lang.Object obj)


Copyright © 2002 The Ozone Database Project - www.ozone-db.org. All Rights Reserved.