org.dbunit.dataset
Class DefaultTableMetaData

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

public class DefaultTableMetaData
extends AbstractTableMetaData

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

Constructor Summary
DefaultTableMetaData(java.lang.String tableName, Column[] columns)
           
DefaultTableMetaData(java.lang.String tableName, Column[] columns, Column[] primaryKeys)
           
DefaultTableMetaData(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.
 java.lang.String toString()
           
 
Methods inherited from class org.dbunit.dataset.AbstractTableMetaData
getColumnIndex, getPrimaryKeys, getPrimaryKeys
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DefaultTableMetaData

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

DefaultTableMetaData

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

DefaultTableMetaData

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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

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-2008. All Rights Reserved.