org.dbunit.dataset
Class ForwardOnlyTable
java.lang.Object
org.dbunit.dataset.ForwardOnlyTable
- All Implemented Interfaces:
- ITable
public class ForwardOnlyTable
- extends Object
- implements ITable
- Since:
- Apr 9, 2003
- Version:
- $Revision: 679 $
- Author:
- Manuel Laflamme
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForwardOnlyTable
public ForwardOnlyTable(ITable table)
getTableMetaData
public ITableMetaData getTableMetaData()
- Description copied from interface:
ITable
- Returns this table metadata.
- Specified by:
getTableMetaData
in interface ITable
getRowCount
public int getRowCount()
- Description copied from interface:
ITable
- Returns this table row count.
- Specified by:
getRowCount
in interface ITable
getValue
public Object getValue(int row,
String column)
throws DataSetException
- Description copied from interface:
ITable
- Returns this table value for the specified row and column.
- Specified by:
getValue
in interface ITable
- Parameters:
row
- The row index, starting with 0column
- The name of the column
- Returns:
- The value
- Throws:
NoSuchColumnException
- if specified column name do not exist in
this table
RowOutOfBoundsException
- if specified row is less than zero or
equals or greater than getRowCount
DataSetException
Copyright © 2002-2012. All Rights Reserved.