org.apache.tuscany.das.rdb.graphbuilder.impl
Class ResultSetRow

java.lang.Object
  extended by org.apache.tuscany.das.rdb.graphbuilder.impl.ResultSetRow

public class ResultSetRow
extends java.lang.Object

A ResultSetRow is used to transform a single row of a ResultSet into a set of EDataObjects.


Constructor Summary
ResultSetRow(java.sql.ResultSet rs, ResultMetadata m)
          Method ResultSetRow.
 
Method Summary
 void checkResultSetMissesPK()
           
 java.util.List getAllTableData()
           
 java.util.Collection getAllTableNamesForRS()
           
 TableData getTable(java.lang.String tableName)
          Returns a HashMap that holds data for the specified table
 void processRecursiveRow(java.sql.ResultSet rs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResultSetRow

public ResultSetRow(java.sql.ResultSet rs,
                    ResultMetadata m)
             throws java.sql.SQLException
Method ResultSetRow.

Parameters:
rs - A ResultSet positioned on the desired row
ePackage - The package used to create EDataObjects
Throws:
java.sql.SQLException
Method Detail

getAllTableNamesForRS

public java.util.Collection getAllTableNamesForRS()

checkResultSetMissesPK

public void checkResultSetMissesPK()

processRecursiveRow

public void processRecursiveRow(java.sql.ResultSet rs)
                         throws java.sql.SQLException
Throws:
java.sql.SQLException

getTable

public TableData getTable(java.lang.String tableName)
Returns a HashMap that holds data for the specified table

Parameters:
tableName - The name of the table
Returns:
HashMap

getAllTableData

public java.util.List getAllTableData()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.