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 Summary
Modifier and TypeMethodDescriptionGet the currentTransactionfor the thread.getDatabase(Object obj) Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.getObjectId(Object obj) Get aStringrepresentation of the object's identifier.Create a newDArrayobject,
not yet available in RasDaMan.Create a newDatabaseobject.newDBag()Create a newDBagobject.newDList()Create a newDListobject.newDMap()Create a newDMapobject,
not yet available in RasDaMan.newDSet()Create a newDSetobject.Create a newOQLQueryobject.Create aTransactionobject and associate it with the current thread.
-
Method Details
-
newTransaction
Transaction newTransaction()Create aTransactionobject and associate it with the current thread.- Returns:
- The newly created
Transactioninstance. - See Also:
-
currentTransaction
Transaction currentTransaction()Get the currentTransactionfor the thread.- Returns:
- The current
Transactionobject or null if there is none. - See Also:
-
newDatabase
Database newDatabase()Create a newDatabaseobject.- Returns:
- The new
Databaseobject. - See Also:
-
newOQLQuery
OQLQuery newOQLQuery()Create a newOQLQueryobject.- Returns:
- The new
OQLQueryobject. - See Also:
-
newDList
DList newDList()Create a newDListobject.- Returns:
- The new
DListobject. - See Also:
-
newDBag
DBag newDBag()Create a newDBagobject.- Returns:
- The new
DBagobject. - See Also:
-
newDSet
DSet newDSet()Create a newDSetobject.- Returns:
- The new
DSetobject. - See Also:
-
newDArray
DArray newDArray()Create a newDArrayobject,
not yet available in RasDaMan.- Returns:
- The new
DArrayobject. - See Also:
-
newDMap
DMap newDMap()Create a newDMapobject,
not yet available in RasDaMan.- Returns:
- The new
DMapobject. - See Also:
-
getObjectId
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
Get theDatabasethat contains the objectobj,
not yet available in RasDaMan.- Parameters:
obj- The object.- Returns:
- The
Databasethat contains the object.
-