org.dbunit.dataset
Class FilteredTableMetaData

java.lang.Object
  extended byorg.dbunit.dataset.AbstractTableMetaData
      extended byorg.dbunit.dataset.FilteredTableMetaData
All Implemented Interfaces:
ITableMetaData

public class FilteredTableMetaData
extends AbstractTableMetaData

Since:
May 11, 2004
Version:
$Revision: 1.1 $
Author:
Manuel Laflamme

Constructor Summary
FilteredTableMetaData(ITableMetaData metaData, IColumnFilter columnFilter)
           
 
Method Summary
 Column[] getColumns()
          Returns this table columns.
static Column[] getFilteredColumns(java.lang.String tableName, Column[] columns, IColumnFilter columnFilter)
           
 Column[] getPrimaryKeys()
          Returns this table primary key columns.
 java.lang.String getTableName()
          Returns this table name.
 
Methods inherited from class org.dbunit.dataset.AbstractTableMetaData
getPrimaryKeys, getPrimaryKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FilteredTableMetaData

public FilteredTableMetaData(ITableMetaData metaData,
                             IColumnFilter columnFilter)
                      throws DataSetException
Method Detail

getFilteredColumns

public static Column[] getFilteredColumns(java.lang.String tableName,
                                          Column[] columns,
                                          IColumnFilter columnFilter)

getTableName

public java.lang.String getTableName()
Description copied from interface: ITableMetaData
Returns this table name.


getColumns

public Column[] getColumns()
                    throws DataSetException
Description copied from interface: ITableMetaData
Returns this table columns.

Throws:
DataSetException

getPrimaryKeys

public Column[] getPrimaryKeys()
                        throws DataSetException
Description copied from interface: ITableMetaData
Returns this table primary key columns.

Throws:
DataSetException


Copyright © 2002-2004 DbUnit.org. All Rights Reserved.