org.dbunit.dataset
Class LowerCaseTableMetaData

java.lang.Object
  extended by org.dbunit.dataset.AbstractTableMetaData
      extended by org.dbunit.dataset.LowerCaseTableMetaData
All Implemented Interfaces:
ITableMetaData

public class LowerCaseTableMetaData
extends AbstractTableMetaData

Specialized ITableMetaData implementation that convert the table name and column names to lower case. Used in DbUnit own test suite to verify that operations are case insensitive.

Since:
Feb 14, 2003
Version:
$Revision: 398 $
Author:
Manuel Laflamme

Constructor Summary
LowerCaseTableMetaData(ITableMetaData metaData)
           
LowerCaseTableMetaData(java.lang.String tableName, Column[] columns)
           
LowerCaseTableMetaData(java.lang.String tableName, Column[] columns, Column[] primaryKeys)
           
LowerCaseTableMetaData(java.lang.String tableName, Column[] columns, java.lang.String[] primaryKeys)
           
 
Method Summary
 Column[] getColumns()
          Returns this table columns.
 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

LowerCaseTableMetaData

public LowerCaseTableMetaData(java.lang.String tableName,
                              Column[] columns)

LowerCaseTableMetaData

public LowerCaseTableMetaData(java.lang.String tableName,
                              Column[] columns,
                              java.lang.String[] primaryKeys)

LowerCaseTableMetaData

public LowerCaseTableMetaData(ITableMetaData metaData)
                       throws DataSetException
Throws:
DataSetException

LowerCaseTableMetaData

public LowerCaseTableMetaData(java.lang.String tableName,
                              Column[] columns,
                              Column[] primaryKeys)
Method Detail

getTableName

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


getColumns

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


getPrimaryKeys

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



Copyright © 2002-2006. All Rights Reserved.