org.openmobileis.database.fastobjectdb.db.query.soda
Class FODBSodaObjectSet
java.lang.Object
org.openmobileis.database.fastobjectdb.db.query.soda.FODBSodaObjectSet
- All Implemented Interfaces:
- org.odbms.ObjectSet
- public class FODBSodaObjectSet
- extends java.lang.Object
- implements org.odbms.ObjectSet
- Since:
- JDK 1.1
- Version:
- 1.0.
- Author:
- Philippe Delrieu
Field Summary |
protected java.lang.Object[] |
objArray
|
Method Summary |
protected void |
addCollectionPtrs(long[] ptrArray,
FODBCollection collection)
|
Array |
getArrayFromSet()
|
boolean |
hasNext()
returns true if the ObjectSet has more elements. |
java.lang.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 . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
objArray
protected java.lang.Object[] objArray
FODBSodaObjectSet
public FODBSodaObjectSet()
FODBSodaObjectSet
public FODBSodaObjectSet(java.lang.Object[] array)
hasNext
public boolean hasNext()
- Description copied from interface:
org.odbms.ObjectSet
- returns
true
if the ObjectSet
has more elements.
- Specified by:
hasNext
in interface org.odbms.ObjectSet
- Returns:
- boolean
true
if the ObjectSet
has more
elements.
next
public java.lang.Object next()
- Description copied from interface:
org.odbms.ObjectSet
- returns the next object in the
ObjectSet
.
- Specified by:
next
in interface org.odbms.ObjectSet
- Returns:
- the next object in the
ObjectSet
.
reset
public void reset()
- Description copied from interface:
org.odbms.ObjectSet
- resets the
ObjectSet
cursor before the first element.
A subsequent call to next()
will return the first element.
- Specified by:
reset
in interface org.odbms.ObjectSet
size
public int size()
- Description copied from interface:
org.odbms.ObjectSet
- returns the number of elements in the
ObjectSet
.
- Specified by:
size
in interface org.odbms.ObjectSet
- Returns:
- the number of elements in the
ObjectSet
.
addCollectionPtrs
protected void addCollectionPtrs(long[] ptrArray,
FODBCollection collection)
throws FODBException
- Throws:
FODBException
getArrayFromSet
public Array getArrayFromSet()
Copyright 2006 OpenMobileIS. All Rights Reserved.