org.odbms.ObjectSet Interface Reference

Inheritance diagram for org.odbms.ObjectSet:

org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet List of all members.

Detailed Description

query resultset.



The ObjectSet interface serves as a cursor to iterate through a set of objects retrieved by a query.

Definition at line 12 of file ObjectSet.java.

Public Member Functions

boolean hasNext ()
 returns true if the ObjectSet has more elements.
Object next ()
 returns the next object in the ObjectSet.
void reset ()
 resets the ObjectSet cursor before the first element.
int size ()
 returns the number of elements in the ObjectSet.


Member Function Documentation

boolean org.odbms.ObjectSet.hasNext (  ) 

returns true if the ObjectSet has more elements.

Returns:
boolean true if the ObjectSet has more elements.

Implemented in org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet.

Referenced by org.openmobileis.synchro.journal.JournalQueryManager.createOrUpdate(), org.openmobileis.examples.mycrm.data.fodb.AccountFactory.getAccount(), org.openmobileis.database.fastobjectdb.synchro.client.FODBSyncActionDBQueryManager.getActionDB(), org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory.getAllTerminalUsers(), org.openmobileis.examples.simpleappli.data.FODB.FODBBaseDataFactory.getBaseData(), org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget.getCollectionObjectWithId(), org.openmobileis.modules.common.database.fodb.FODBLabelFactory.getLabelWithIds(), org.openmobileis.examples.mycrm.data.fodb.LeadsFactory.getLeads(), org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDB.getObjectFromCollectionWithId(), org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory.getTerminalUser(), org.openmobileis.test.database.TestFODBSynchro.testDoSynchro(), and org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testMultipleIndex().

Object org.odbms.ObjectSet.next (  ) 

returns the next object in the ObjectSet.

Returns:
the next object in the ObjectSet.

Implemented in org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet.

Referenced by org.openmobileis.examples.mycrm.data.fodb.AccountFactory.getAccount(), org.openmobileis.database.fastobjectdb.synchro.client.FODBSyncActionDBQueryManager.getActionDB(), org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory.getAllTerminalUsers(), org.openmobileis.examples.simpleappli.data.FODB.FODBBaseDataFactory.getBaseData(), org.openmobileis.database.fastobjectdb.db.test.TestFODBSyncTarget.getCollectionObjectWithId(), org.openmobileis.modules.common.database.fodb.FODBLabelFactory.getLabelWithIds(), org.openmobileis.examples.mycrm.data.fodb.LeadsFactory.getLeads(), org.openmobileis.database.fastobjectdb.synchro.client.SynchroFastObjectDB.getObjectFromCollectionWithId(), org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory.getTerminalUser(), org.openmobileis.test.database.TestFODBSynchro.testDoSynchro(), org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testFindLike(), org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testMultipleIndex(), and org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testTree().

void org.odbms.ObjectSet.reset (  ) 

resets the ObjectSet cursor before the first element.



A subsequent call to next() will return the first element.

Implemented in org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet.

int org.odbms.ObjectSet.size (  ) 

returns the number of elements in the ObjectSet.

Returns:
the number of elements in the ObjectSet.

Implemented in org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet.

Referenced by org.openmobileis.modules.common.database.fodb.FODBTerminalUserFactory.getAllTerminalUsers(), org.openmobileis.database.fastobjectdb.db.test.TestThreadRequest.run(), org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testFindLike(), org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testMultipleIndex(), org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testRomvedTree(), and org.openmobileis.database.fastobjectdb.db.test.TestFastObjectDB.testTree().


The documentation for this interface was generated from the following file:
Generated on Mon Dec 4 11:03:33 2006 for OpenMobileIS by  doxygen 1.5.1-p1