Package org.odmg
Interface Implementation
-
- All Known Subinterfaces:
RasImplementationInterface
- All Known Implementing Classes:
RasImplementation,RasODMGImplementation,RasRasnetImplementation
public interface ImplementationThe 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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransactioncurrentTransaction()Get the currentTransactionfor the thread.DatabasegetDatabase(java.lang.Object obj)Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.java.lang.StringgetObjectId(java.lang.Object obj)Get aStringrepresentation of the object's identifier.DArraynewDArray()Create a newDArrayobject,
not yet available in RasDaMan.DatabasenewDatabase()Create a newDatabaseobject.DBagnewDBag()Create a newDBagobject.DListnewDList()Create a newDListobject.DMapnewDMap()Create a newDMapobject,
not yet available in RasDaMan.DSetnewDSet()Create a newDSetobject.OQLQuerynewOQLQuery()Create a newOQLQueryobject.TransactionnewTransaction()Create aTransactionobject and associate it with the current thread.
-
-
-
Method Detail
-
newTransaction
Transaction newTransaction()
Create aTransactionobject and associate it with the current thread.- Returns:
- The newly created
Transactioninstance. - See Also:
Transaction
-
currentTransaction
Transaction currentTransaction()
Get the currentTransactionfor the thread.- Returns:
- The current
Transactionobject or null if there is none. - See Also:
Transaction
-
newDatabase
Database newDatabase()
Create a newDatabaseobject.- Returns:
- The new
Databaseobject. - See Also:
Database
-
newOQLQuery
OQLQuery newOQLQuery()
Create a newOQLQueryobject.- Returns:
- The new
OQLQueryobject. - See Also:
OQLQuery
-
newDArray
DArray newDArray()
Create a newDArrayobject,
not yet available in RasDaMan.- Returns:
- The new
DArrayobject. - See Also:
DArray
-
newDMap
DMap newDMap()
Create a newDMapobject,
not yet available in RasDaMan.- Returns:
- The new
DMapobject. - See Also:
DMap
-
getObjectId
java.lang.String getObjectId(java.lang.Object obj)
Get aStringrepresentation 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(java.lang.Object obj)
Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.- Parameters:
obj- The object.- Returns:
- The
Databasethat contains the object.
-
-