| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This Database implementation provides a simple non-persistent database
Inner Class Summary | |
public class | MemoryDatabase.DatabaseInfo |
Constructor Summary | |
MemoryDatabase(String name, DatabaseProfile db_profile) Default constructor |
Method Summary | |
void | addObject(DatabaseObject obj) Method to add the given DatabaseObject to the database, in the given relation. |
void | closeDatabase() Method to close the database store. |
void | createDatabase() Method to create the database store. |
void | createRelation(String relation) Creates the given relation within the Database |
void | deleteDatabase() Method to remove the database store. |
void | deleteRelation(String relation) Deletes the given relation from the Database |
void | endTransaction() Indicates that a transaction has finished. |
DatabaseObject | findObject(String unique_id) Method to locate the object in the given relation with the given UID |
Enumeration | getIDs() Method to return an enumeration of the keys in the database |
void | openDatabase() Method to re-open the database store. |
void | removeObject(DatabaseObject obj) Method to remove the given DatabaseObject from the Database |
void | removeObject(String unique_id) Method to remove the DatabaseObject from the Database with the given UID |
void | startTransaction(boolean readonly) Indicates that a transaction is about to start. |
void | updateObject(DatabaseObject obj) Method to update the given DatabaseObject in the Database |
Constructor Detail |
public MemoryDatabase(String name, DatabaseProfile db_profile)
Method Detail |
public void addObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
public void closeDatabase()
public void createDatabase()
public void createRelation(String relation)
public void deleteDatabase()
public void deleteRelation(String relation)
public void endTransaction()
public DatabaseObject findObject(String unique_id)
throws fipaos.skill.db.DatabaseException
public Enumeration getIDs()
throws fipaos.skill.db.DatabaseException
public void openDatabase()
public void removeObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
public void removeObject(String unique_id)
throws fipaos.skill.db.DatabaseException
public void startTransaction(boolean readonly)
public void updateObject(DatabaseObject obj)
throws fipaos.skill.db.DatabaseException
Association Links |
to Class java.util.Hashtable
to Class java.lang.String
to Class fipaos.skill.db.memorydatabase.MemoryDatabase.DatabaseInfo
to Class java.lang.Thread
to Class fipaos.agent.profile.DatabaseProfile
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |