| Constructor and Description | 
|---|
| ResultSetDataModel() | 
| ResultSetDataModel(ResultSet resultSet) | 
| Modifier and Type | Method and Description | 
|---|---|
| int | getRowCount()We don't know how many rows the result set has without scrolling through the whole thing. | 
| Map<String,Object> | getRowData()Get the actual data of this row wrapped into a map. | 
| int | getRowIndex()Get the current row index. | 
| Object | getWrappedData()Get the entire collection of data associated with this component. | 
| boolean | isRowAvailable()Returns true if a call to getRowData will return a valid object. | 
| void | setRowIndex(int rowIndex)Set the current row index. | 
| void | setWrappedData(Object data)Set the entire list of data associated with this component. | 
addDataModelListener, getDataModelListeners, iterator, removeDataModelListenerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitforEach, spliteratorpublic ResultSetDataModel()
public ResultSetDataModel(ResultSet resultSet)
public int getRowCount()
getRowCount in class DataModel<Map<String,Object>>public Map<String,Object> getRowData()
getRowData in class DataModel<Map<String,Object>>public int getRowIndex()
DataModelgetRowIndex in class DataModel<Map<String,Object>>public Object getWrappedData()
DataModelgetWrappedData in class DataModel<Map<String,Object>>public boolean isRowAvailable()
DataModelisRowAvailable in class DataModel<Map<String,Object>>public void setRowIndex(int rowIndex)
DataModelsetRowIndex in class DataModel<Map<String,Object>>rowIndex - The row index. It may be -1 to indicate "no row",
                 or may be a value between 0 and getRowCount()-1.public void setWrappedData(Object data)
DataModelsetWrappedData in class DataModel<Map<String,Object>>data - The object to be wrapped.Copyright © 2022 The Apache Software Foundation. All rights reserved.