|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.ojb.soda.ObjectSetImpl
public class ObjectSetImpl
Field Summary | |
---|---|
protected Vector |
elements
|
protected int |
length
|
protected Iterator |
ojbIterator
|
protected int |
position
|
protected boolean |
resultSetClosed
|
protected int |
scrolled
|
Constructor Summary | |
---|---|
ObjectSetImpl(PersistenceBroker broker,
Query query,
int limit)
Constructor for ObjectSetImpl. |
Method Summary | |
---|---|
boolean |
hasNext()
returns true if the ObjectSet has more elements. |
boolean |
isResultSetClosed()
Gets the resultSetClosed. |
Object |
next()
returns the next object in the ObjectSet . |
protected void |
releaseJdbcResources()
|
void |
reset()
resets the ObjectSet cursor before the first element. |
void |
setResultSetClosed(boolean resultSetClosed)
Sets the resultSetClosed. |
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 |
Field Detail |
---|
protected Iterator ojbIterator
protected int length
protected Vector elements
protected int position
protected int scrolled
protected boolean resultSetClosed
Constructor Detail |
---|
public ObjectSetImpl(PersistenceBroker broker, Query query, int limit)
Method Detail |
---|
public boolean hasNext()
ObjectSet
true
if the ObjectSet
has more elements.
hasNext
in interface ObjectSet
true
if the ObjectSet
has more
elements.protected void releaseJdbcResources()
public Object next()
ObjectSet
ObjectSet
.
next
in interface ObjectSet
ObjectSet
.public void reset()
ObjectSet
ObjectSet
cursor before the first element. next()
will return the first element.
reset
in interface ObjectSet
public int size()
ObjectSet
ObjectSet
.
size
in interface ObjectSet
ObjectSet
.public boolean isResultSetClosed()
public void setResultSetClosed(boolean resultSetClosed)
resultSetClosed
- The resultSetClosed to set
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |