org.melati.poem.odmg
Class ODMGFactory

Package class diagram package ODMGFactory
java.lang.Object
  extended by org.melati.poem.odmg.ODMGFactory

public final class ODMGFactory
extends Object

Factory object for getting new ODMG/poem related objects


Method Summary
static org.odmg.Database getNewDatabase()
           
static org.odmg.Transaction getNewTransaction(org.odmg.Database db)
          Get a new Transaction.
static Database getPoemDatabase()
          Get a new database.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getNewDatabase

public static org.odmg.Database getNewDatabase()
Returns:
a new database

getPoemDatabase

public static Database getPoemDatabase()
                                throws org.odmg.ODMGRuntimeException
Get a new database.

Throws:
org.odmg.ODMGRuntimeException

getNewTransaction

public static org.odmg.Transaction getNewTransaction(org.odmg.Database db)
Get a new Transaction.



Copyright © 2000-2010 PanEris. All Rights Reserved.