public class PrimaryKeyFilteredTableWrapper extends Object implements ITable
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger
logger
|
| Constructor and Description |
|---|
PrimaryKeyFilteredTableWrapper(ITable table,
Set allowedPKs)
Creates a PKFilteredTable given an original table and the allowed primary keys
for that table.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRowCount()
Returns this table row count.
|
ITableMetaData |
getTableMetaData()
Returns this table metadata.
|
Object |
getValue(int row,
String column)
Returns this table value for the specified row and column.
|
public PrimaryKeyFilteredTableWrapper(ITable table, Set allowedPKs) throws DataSetException
table - original tableallowedPKs - primary keys allowed on the new tableDataSetException - if something happened while getting the informationpublic ITableMetaData getTableMetaData()
ITablegetTableMetaData in interface ITablepublic int getRowCount()
ITablegetRowCount in interface ITablepublic Object getValue(int row, String column) throws DataSetException
ITablegetValue in interface ITablerow - The row index, starting with 0column - The name of the columnNoSuchColumnException - if specified column name do not exist in
this tableRowOutOfBoundsException - if specified row is less than zero or
equals or greater than getRowCountDataSetExceptionCopyright © 2002-2017. All Rights Reserved.