Class ResultSetResource

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

public class ResultSetResource extends Object implements Resource
This Java class is a Resource which represents a SQL result set.
  • Constructor Details

    • 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(ResultSet rs)
      Builds a result set resource based on a SQL result set.
      Parameters:
      rs - a SQL result set
  • Method Details

    • getUID

      public String getUID()
      Description copied from interface: Resource
      Returns the unique identifier (UID) of the resource.
      Specified by:
      getUID in interface Resource
    • getURL

      public 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 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