org.dbunit.dataset
Interface ITable

All Known Subinterfaces:
IResultSetTable
All Known Implementing Classes:
AbstractResultSetTable, AbstractTable, CachedResultSetTable, CachedTable, CaseInsensitiveTable, CompositeTable, DefaultTable, ForwardOnlyResultSetTable, ForwardOnlyTable, PrimaryKeyFilteredTableWrapper, ReplacementTable, RowFilterTable, ScrollableResultSetTable, SortedTable

public interface ITable

A table represents a collection of tabular data.

Since:
Feb 17, 2002
Version:
$Revision: 398 $
Author:
Manuel Laflamme

Field Summary
static java.lang.Object NO_VALUE
           
 
Method Summary
 int getRowCount()
          Returns this table row count.
 ITableMetaData getTableMetaData()
          Returns this table metadata.
 java.lang.Object getValue(int row, java.lang.String column)
          Returns this table value for the specified row and column.
 

Field Detail

NO_VALUE

static final java.lang.Object NO_VALUE
Method Detail

getTableMetaData

ITableMetaData getTableMetaData()
Returns this table metadata.


getRowCount

int getRowCount()
Returns this table row count.


getValue

java.lang.Object getValue(int row,
                          java.lang.String column)
                          throws DataSetException
Returns this table value for the specified row and column.

Throws:
NoSuchColumnException - if specfied column name do not exist in this table
RowOutOfBoundsException - if specfied row is less than zero or equals or greater than getRowCount
DataSetException


Copyright © 2002-2008. All Rights Reserved.