com.highdeal.iec
Class ResultSetResource

java.lang.Object
  extended by com.highdeal.iec.ResultSetResource
All Implemented Interfaces:
Resource

public class ResultSetResource
extends java.lang.Object
implements Resource

This Java class is a Resource which represents a SQL result set.


Field Summary
 
Fields inherited from interface com.highdeal.iec.Resource
RESULTSET, STREAM, UNKNOWN
 
Constructor Summary
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.
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetResource

public ResultSetResource(com.highdeal.sql.IResultSet rs)
Builds a result set resource based on a result set.

Parameters:
rs - a result set

ResultSetResource

public ResultSetResource(java.sql.ResultSet rs)
Builds a result set resource based on a SQL result set.

Parameters:
rs - a SQL result set
Method Detail

getUID

public java.lang.String getUID()
Description copied from interface: Resource
Returns the unique identifier (UID) of the resource.

Specified by:
getUID in interface Resource

getURL

public java.net.URL getURL()
Description copied from interface: Resource
Returns the URL of the resource.

Specified by:
getURL in interface Resource

isReloadable

public boolean isReloadable()
Description copied from interface: Resource
Returns true if the resource can be read again, false otherwise.

Specified by:
isReloadable in interface Resource

reload

public void reload()
Description copied from interface: Resource
Reads the resource again.

Specified by:
reload in interface Resource

getTransport

public java.lang.Object getTransport()
Description copied from interface: Resource
Returns a way to read the data of the resource.

Specified by:
getTransport in interface Resource

getType

public int getType()
Description copied from interface: Resource
Returns the type of the resource.

Specified by:
getType in interface Resource

Document Published: October 2015 (SAP CC 4.0 SP10 and Later)