| Constructor and Description |
|---|
ResultSetResource(com.highdeal.sql.IResultSet rs)
Builds a result set resource based on a
result set. |
ResultSetResource(java.sql.ResultSet rs)
Builds a result set resource based on a
SQL result set. |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getTransport()
Returns a way to read the data of the resource.
|
int |
getType()
Returns the type of the resource.
|
java.lang.String |
getUID()
Returns the unique identifier (UID) of the resource.
|
java.net.URL |
getURL()
Returns the URL of the resource.
|
boolean |
isReloadable()
Returns
true if the resource can be read again, false otherwise. |
void |
reload()
Reads the resource again.
|
public ResultSetResource(com.highdeal.sql.IResultSet rs)
result set.rs - a result setpublic ResultSetResource(java.sql.ResultSet rs)
SQL result set.rs - a SQL result setpublic java.lang.String getUID()
Resourcepublic java.net.URL getURL()
Resourcepublic boolean isReloadable()
Resourcetrue if the resource can be read again, false otherwise.isReloadable in interface Resourcepublic void reload()
Resourcepublic java.lang.Object getTransport()
ResourcegetTransport in interface Resource