org.gusdb.wdk.model.implementation
Class SqlResultList

java.lang.Object
  extended by org.gusdb.wdk.model.ResultList
      extended by org.gusdb.wdk.model.implementation.SqlResultList

public class SqlResultList
extends ResultList


Nested Class Summary
 
Nested classes/interfaces inherited from class org.gusdb.wdk.model.ResultList
ResultList.ResultListIterator
 
Constructor Summary
SqlResultList(QueryInstance instance, java.lang.String resultTableName, java.sql.ResultSet resultSet)
           
 
Method Summary
 void checkQueryColumns(Query query, boolean checkAll, boolean has_result_table_i)
           
 void close()
           
 java.lang.Object getResultTableIndexValue()
           
 java.lang.Object getValueFromResult(java.lang.String attributeName)
           
 boolean next()
           
 void print()
           
 
Methods inherited from class org.gusdb.wdk.model.ResultList
getColumns, getInstance, getQuery, getResultTableName, hasResultTable, toXML, write
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SqlResultList

public SqlResultList(QueryInstance instance,
                     java.lang.String resultTableName,
                     java.sql.ResultSet resultSet)
Method Detail

getResultTableIndexValue

public java.lang.Object getResultTableIndexValue()
                                          throws WdkModelException
Overrides:
getResultTableIndexValue in class ResultList
Throws:
WdkModelException

getValueFromResult

public java.lang.Object getValueFromResult(java.lang.String attributeName)
                                    throws WdkModelException
Throws:
WdkModelException

next

public boolean next()
             throws WdkModelException
Specified by:
next in class ResultList
Throws:
WdkModelException

print

public void print()
           throws WdkModelException
Specified by:
print in class ResultList
Throws:
WdkModelException

close

public void close()
           throws WdkModelException
Specified by:
close in class ResultList
Throws:
WdkModelException

checkQueryColumns

public void checkQueryColumns(Query query,
                              boolean checkAll,
                              boolean has_result_table_i)
                       throws WdkModelException
Specified by:
checkQueryColumns in class ResultList
Throws:
WdkModelException