public interface ResultSet extends Observable
| Modifier and Type | Method and Description |
|---|---|
void |
close()
close a resultset.
|
void |
destroy()
Destroy the resultset and free associated resources, remove it from the ResultSetRegistry.
|
String |
getIdentifier()
get the resource identifier.
|
int |
getNumberOfResults()
get the number of result elements present in the resultset.
|
List<String> |
getResults(int fromPosition,
int toPosition)
get a 'page' of results.
|
boolean |
isDestroyed()
Tells if the resultset is destroyed.
|
boolean |
isOpen()
Tells if the resultset is open or closed.
|
void |
setIdentifier(String rsId)
sets the resource identifier.
|
addObserverString getIdentifier()
void setIdentifier(String rsId)
rsId - allocated resultset identifierList<String> getResults(int fromPosition, int toPosition)
fromPosition - from 1toPosition - last includedint getNumberOfResults()
boolean isOpen()
void close()
boolean isDestroyed()
void destroy()
Copyright © 2017. All rights reserved.