|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.ozoneDB.odmg.ODMG
org.ozoneDB.odmg.OzoneODMG
Implementation of the ODMG Implementation
interface.
Constructor Summary | |
OzoneODMG()
|
Method Summary | |
Transaction |
currentTransaction()
Get the current Transaction for the thread. |
protected void |
databaseClosed(Database db)
|
protected void |
databaseOpened(Database db)
This method is called by the database objects to inform their factory that another database actually has been opened. |
Database |
getDatabase(java.lang.Object obj)
Get the Database that contains the object obj . |
java.lang.String |
getObjectId(java.lang.Object obj)
Get a String representation of the object's identifier. |
DArray |
newDArray()
Create a new DArray object. |
Database |
newDatabase()
Create a new Database object. |
DBag |
newDBag()
Create a new DBag object. |
DList |
newDList()
Create a new DList object. |
DMap |
newDMap()
Create a new DMap object. |
DSet |
newDSet()
Create a new DSet object. |
OQLQuery |
newOQLQuery()
Create a new OQLQuery object. |
Transaction |
newTransaction()
Create a Transaction object and associate it with the
current thread. |
Methods inherited from class org.ozoneDB.odmg.ODMG |
getDatabase2 |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public OzoneODMG()
Method Detail |
public Database newDatabase()
Database
object.
Database
object.Database
protected void databaseOpened(Database db)
protected void databaseClosed(Database db)
public Database getDatabase(java.lang.Object obj)
Database
that contains the object obj
.
obj
- The object.
Database
that contains the object.public Transaction newTransaction()
Transaction
object and associate it with the
current thread.
Transaction
instance.Transaction
public Transaction currentTransaction()
Transaction
for the thread.
Transaction
object or null if there is none.Transaction
public java.lang.String getObjectId(java.lang.Object obj)
String
representation of the object's identifier.
obj
- The object whose identifier is being accessed.
public OQLQuery newOQLQuery()
OQLQuery
object.
OQLQuery
object.OQLQuery
public DList newDList()
DList
object.
DList
object.DList
public DBag newDBag()
DBag
object.
DBag
object.DBag
public DSet newDSet()
DSet
object.
DSet
object.DSet
public DArray newDArray()
DArray
object.
DArray
object.DArray
public DMap newDMap()
DMap
object.
DMap
object.DMap
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |