|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Implementation
The factory interface for a particular ODMG implementation. Each ODMG implementation will have a class that implements this interface.
| Method Summary | |
|---|---|
Transaction |
currentTransaction()
Get the current Transaction for the thread. |
Database |
getDatabase(Object obj)
Get the Database that contains the object obj. |
String |
getObjectId(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. |
EnhancedOQLQuery |
newOQLQuery()
Create a new OQLQuery object. |
Transaction |
newTransaction()
Create a Transaction object and associate it with the current thread. |
| Method Detail |
|---|
Transaction newTransaction()
Transaction object and associate it with the current thread.
Transaction instance.TransactionTransaction currentTransaction()
Transaction for the thread.
Transaction object or null if there is none.TransactionDatabase newDatabase()
Database object.
Database object.DatabaseEnhancedOQLQuery newOQLQuery()
OQLQuery object.
OQLQuery object.OQLQueryDList newDList()
DList object.
DList object.DListDBag newDBag()
DBag object.
DBag object.DBagDSet newDSet()
DSet object.
DSet object.DSetDArray newDArray()
DArray object.
DArray object.DArrayDMap newDMap()
DMap object.
DMap object.DMapString getObjectId(Object obj)
String representation of the object's identifier.
obj - The object whose identifier is being accessed.
Database getDatabase(Object obj)
Database that contains the object obj.
obj - The object.
Database that contains the object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||