Package com.highdeal.iec
Class ResultSetResource
java.lang.Object
com.highdeal.iec.ResultSetResource
- All Implemented Interfaces:
Resource
This
Java class is a Resource which represents a SQL result set.-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionResultSetResource(com.highdeal.sql.IResultSet rs) Builds a result set resource based on aresult set.Builds a result set resource based on aSQL result set. -
Method Summary
Modifier and TypeMethodDescriptionReturns a way to read the data of the resource.intgetType()Returns the type of the resource.getUID()Returns the unique identifier (UID) of the resource.getURL()Returns the URL of the resource.booleanReturnstrueif the resource can be read again,falseotherwise.voidreload()Reads the resource again.
-
Constructor Details
-
ResultSetResource
public ResultSetResource(com.highdeal.sql.IResultSet rs) Builds a result set resource based on aresult set.- Parameters:
rs- aresult set
-
ResultSetResource
Builds a result set resource based on aSQL result set.- Parameters:
rs- aSQL result set
-
-
Method Details
-
getUID
Description copied from interface:ResourceReturns the unique identifier (UID) of the resource. -
getURL
Description copied from interface:ResourceReturns the URL of the resource. -
isReloadable
public boolean isReloadable()Description copied from interface:ResourceReturnstrueif the resource can be read again,falseotherwise.- Specified by:
isReloadablein interfaceResource
-
reload
public void reload()Description copied from interface:ResourceReads the resource again. -
getTransport
Description copied from interface:ResourceReturns a way to read the data of the resource.- Specified by:
getTransportin interfaceResource
-
getType
public int getType()Description copied from interface:ResourceReturns the type of the resource.
-