public class CompositeTable extends AbstractTable
| Constructor and Description |
|---|
CompositeTable(ITable table1,
ITable table2)
Creates a composite table that combines the specified specified tables.
|
CompositeTable(ITableMetaData metaData,
ITable table)
Creates a composite table that combines the specified metadata with the
specified table.
|
CompositeTable(ITableMetaData metaData,
ITable[] tables)
Creates a composite table that combines the specified metadata with the
specified tables.
|
CompositeTable(String newName,
ITable table)
Creates a composite dataset that encapsulate the specified table with a
new name.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getRowCount()
Returns this table row count.
|
ITableMetaData |
getTableMetaData()
Returns this table metadata.
|
Object |
getValue(int row,
String columnName)
Returns this table value for the specified row and column.
|
String |
toString() |
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndexpublic CompositeTable(ITableMetaData metaData, ITable table)
public CompositeTable(ITableMetaData metaData, ITable[] tables)
public CompositeTable(ITable table1, ITable table2)
public CompositeTable(String newName, ITable table) throws DataSetException
DataSetExceptionpublic ITableMetaData getTableMetaData()
ITablepublic int getRowCount()
ITablepublic Object getValue(int row, String columnName) throws DataSetException
ITablerow - The row index, starting with 0columnName - 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.