org.dbunit.dataset
Interface ITable

All Known Subinterfaces:
IResultSetTable
All Known Implementing Classes:
AbstractResultSetTable, AbstractTable, CachedResultSetTable, CaseInsensitiveTable, ForwardOnlyTable, ReplacementTable

public interface ITable

A table represents a collection of tabular data.

Since:
Feb 17, 2002
Version:
$Revision: 1.9 $
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

public static final java.lang.Object NO_VALUE
Method Detail

getTableMetaData

public ITableMetaData getTableMetaData()
Returns this table metadata.


getRowCount

public int getRowCount()
Returns this table row count.


getValue

public 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-2004 DbUnit.org. All Rights Reserved.