Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.odmg
Interface Implementation  view Implementation download Implementation.java


public interface Implementation

The factory interface for a particular ODMG implementation. Each ODMG implementation will have a class that implements this interface.

Version:
ODMG 3.0

Method Summary
 Transaction currentTransaction()
          Get the current Transaction for the thread.
 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.
 

Method Detail

newTransaction

public Transaction newTransaction()
Create a Transaction object and associate it with the current thread.


currentTransaction

public Transaction currentTransaction()
Get the current Transaction for the thread.


newDatabase

public Database newDatabase()
Create a new Database object.


newOQLQuery

public OQLQuery newOQLQuery()
Create a new OQLQuery object.


newDList

public DList newDList()
Create a new DList object.


newDBag

public DBag newDBag()
Create a new DBag object.


newDSet

public DSet newDSet()
Create a new DSet object.


newDArray

public DArray newDArray()
Create a new DArray object.


newDMap

public DMap newDMap()
Create a new DMap object.


getObjectId

public java.lang.String getObjectId(java.lang.Object obj)
Get a String representation of the object's identifier.


getDatabase

public Database getDatabase(java.lang.Object obj)
Get the Database that contains the object obj.