|
Oracle Application Server TopLink API Reference 10g (9.0.4) B10491-01 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
PUBLIC
Provides a serializable object that conforms to an Enumeration while providing Cursor behaviour. This interface is returned from an EJB finder method that uses TopLink CursoredStream support.
Method Summary | |
void |
close() Close the underlying cursor. |
boolean |
hasMoreElements() Answer a boolean indicating if the underlying cursor has more elements to return. |
java.lang.Object |
nextElement() Return the next element from the cursor. |
java.util.Vector |
nextElements(int numberOfElements) Return the next numberOfElements elements in the underlying cursor. |
Method Detail |
public void close()
Close the underlying cursor. This should be invoked when the user is finished using the cursor.
public boolean hasMoreElements()
Answer a boolean indicating if the underlying cursor has more elements to return.
hasMoreElements
in interface java.util.Enumeration
public java.lang.Object nextElement()
Return the next element from the cursor.
nextElement
in interface java.util.Enumeration
public java.util.Vector nextElements(int numberOfElements)
Return the next numberOfElements elements in the underlying cursor.
numberOfElements
- the number of objects to consume from the result set
|
| |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |