|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.rwt.Rows
public class Rows
A simple value object that represents a ResultSet.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Field Summary | |
|---|---|
private List<Row> |
rows
The collection of Row instances contained in result set. |
private int |
totalRows
The total number of rows available in the ResultSet
out of which this object was generated. |
| Constructor Summary | |
|---|---|
Rows()
|
|
| Method Summary | |
|---|---|
protected void |
addRow(Row row)
Add the specified row to rows collection. |
List<Row> |
getRows()
Returns rows. |
int |
getTotalRows()
Returns totalRows. |
protected void |
setRows(List<Row> rows)
Set rows. |
protected void |
setTotalRows(int totalRows)
Set totalRows. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private int totalRows
ResultSet
out of which this object was generated. Note that the rows collection will usually not contain the same number (usually
less) of rows as the total number available.
private List<Row> rows
Row instances contained in result set.
| Constructor Detail |
|---|
public Rows()
| Method Detail |
|---|
public int getTotalRows()
totalRows.
protected void setTotalRows(int totalRows)
totalRows.
totalRows - The value to set.public List<Row> getRows()
rows.
protected void setRows(List<Row> rows)
rows.
rows - The value to set.protected void addRow(Row row)
rows collection.
row - The row to be added.
|
SPT RWT Application API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||