org.omnaest.utils.structure.table.datasource
Class TableDataSourceResultSet<E>
java.lang.Object
org.omnaest.utils.structure.table.datasource.TableDataSourceResultSet<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- TableDataSource<E>
public class TableDataSourceResultSet<E>
- extends Object
- implements TableDataSource<E>
TableDataSource for a given ResultSet
- Author:
- Omnaest
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
resultSet
protected ResultSet resultSet
TableDataSourceResultSet
public TableDataSourceResultSet(ResultSet resultSet)
- Parameters:
resultSet -
rows
public Iterable<? extends Iterable<? extends Table.CellImmutable<E>>> rows()
- Description copied from interface:
TableDataSource
Iterable of an Iterable for the Tables Table.Rows and the Table.Rows Table.CellImmutables.
- Specified by:
rows in interface TableDataSource<E>
- Returns:
getColumnTitleValueList
public List<Object> getColumnTitleValueList()
- Description copied from interface:
TableDataSource
- Returns a new
List with all the Table.Stripe.getTitleValue() for the TableDataSource.
- Specified by:
getColumnTitleValueList in interface TableDataSource<E>
- Returns:
getRowTitleValueList
public List<Object> getRowTitleValueList()
- Description copied from interface:
TableDataSource
- Returns a new
List with all the Table.Stripe.getTitleValue() for the TableDataSource.
- Specified by:
getRowTitleValueList in interface TableDataSource<E>
- Returns:
getTableName
public Object getTableName()
- Description copied from interface:
TableDataSource
- Returns the name for the whole
TableDataSource.
- Specified by:
getTableName in interface TableDataSource<E>
- Returns:
Copyright © 2011. All Rights Reserved.