|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
A shared abstraction for all types of TabularData (1 and 2 dimensional arrays, result sets, result set metadata and many other types of data can be viewed as a the same with this interface. The abstraction is cell based and cells start at (1,1) (even arrays). The getCellData() methods retrieve any cell data on the current row only. Arrays can retrieve cells on any row, but result sets can't so I made the abstraction work to the more limited ResultSets capability. This limitation also means that data can only iterated through once.
| Field Summary | |
static int |
NOTUSED
|
| Method Summary | |
TabularData |
createInstance(java.lang.Object data)
Factory method that returns a TabularData instance. |
java.lang.Object |
getCellData()
Return current cell data (the current row and current column) |
java.lang.Object |
getCellData(int col)
Return cell data in the current rows specified column |
DataIterator |
getColIterator()
Return the Iterator that can iterate through the TabularData's columns |
TabularData |
getHeader()
Get the Header (which is also TabularData) |
DataIterator |
getRowIterator()
Return the Iterator that can iterate through the TabularData's rows |
void |
setHeader(TabularData header)
Set the Header (which is also TabularData) |
| Field Detail |
public static final int NOTUSED
| Method Detail |
public java.lang.Object getCellData(int col)
public java.lang.Object getCellData()
public DataIterator getRowIterator()
public DataIterator getColIterator()
public TabularData createInstance(java.lang.Object data)
public TabularData getHeader()
public void setHeader(TabularData header)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||