Package org.odmg

Interface Implementation

All Known Subinterfaces:
RasImplementationInterface
All Known Implementing Classes:
RasImplementation, RasODMGImplementation, RasRasnetImplementation

public interface Implementation
The factory interface for a particular ODMG implementation. Each ODMG implementation will have a class that implements this interface.
Author:
David Jordan (as Java Editor of the Object Data Management Group)
  • Method Details

    • newTransaction

      Transaction newTransaction()
      Create a Transaction object and associate it with the current thread.
      Returns:
      The newly created Transaction instance.
      See Also:
    • currentTransaction

      Transaction currentTransaction()
      Get the current Transaction for the thread.
      Returns:
      The current Transaction object or null if there is none.
      See Also:
    • newDatabase

      Database newDatabase()
      Create a new Database object.
      Returns:
      The new Database object.
      See Also:
    • newOQLQuery

      OQLQuery newOQLQuery()
      Create a new OQLQuery object.
      Returns:
      The new OQLQuery object.
      See Also:
    • newDList

      DList newDList()
      Create a new DList object.
      Returns:
      The new DList object.
      See Also:
    • newDBag

      DBag newDBag()
      Create a new DBag object.
      Returns:
      The new DBag object.
      See Also:
    • newDSet

      DSet newDSet()
      Create a new DSet object.
      Returns:
      The new DSet object.
      See Also:
    • newDArray

      DArray newDArray()
      Create a new DArray object,
      not yet available in RasDaMan.
      Returns:
      The new DArray object.
      See Also:
    • newDMap

      DMap newDMap()
      Create a new DMap object,
      not yet available in RasDaMan.
      Returns:
      The new DMap object.
      See Also:
    • getObjectId

      String getObjectId(Object obj)
      Get a String representation of the object's identifier.
      Parameters:
      obj - The object whose identifier is being accessed.
      Returns:
      The object's identifier in the form of a String
    • getDatabase

      Database getDatabase(Object obj)
      Get the Database that contains the object obj,
      not yet available in RasDaMan.
      Parameters:
      obj - The object.
      Returns:
      The Database that contains the object.