|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.seag.qm.ResultTable
This Object stores the result, given in the, from the DB returned ResultSet
Constructor Summary | |
ResultTable()
Create new empty ResultTable |
|
ResultTable(java.sql.ResultSet rs,
ResultParameter[] rp)
Creat new ResultTable |
Method Summary | |
int |
getColCount()
Getting number of Columns |
java.lang.Object |
getColumnLabel(int col)
Getting Metadata |
java.lang.Object |
getColumnName(int col)
Getting Metadata |
int |
getRowCount()
Getting number of Rows |
java.lang.Object |
getValueAt(int row,
int col)
Getting a specific value |
protected void |
reinit(java.sql.ResultSet rs,
ResultParameter[] rp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ResultTable(java.sql.ResultSet rs, ResultParameter[] rp) throws java.sql.SQLException
rs
- ResutlSet from JDBCrp
- ResultParameter[] specified by the user of the QueryManagerjava.sql.SQLException
- if the creation failspublic ResultTable()
Method Detail |
protected void reinit(java.sql.ResultSet rs, ResultParameter[] rp) throws java.sql.SQLException
public java.lang.Object getColumnLabel(int col)
col
- ResultTable - Columnpublic java.lang.Object getColumnName(int col)
col
- ResultTable - Columnpublic int getRowCount()
public int getColCount()
public java.lang.Object getValueAt(int row, int col)
row
- rownumbercol
- columnnumber
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |