|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ITableMetaData
Represents table metadata.
Method Summary | |
---|---|
int |
getColumnIndex(String columnName)
Returns the column's array index of the column with the given name within this table metadata. |
Column[] |
getColumns()
Returns this table columns as recognized by dbunit. |
Column[] |
getPrimaryKeys()
Returns this table primary key columns. |
String |
getTableName()
Returns this table name. |
Method Detail |
---|
String getTableName()
Column[] getColumns() throws DataSetException
IDataTypeFactory
.
Note that it is not an exceptional case within dbunit when a ITableMetaData
does not have a column.
DataSetException
Column[] getPrimaryKeys() throws DataSetException
DataSetException
int getColumnIndex(String columnName) throws DataSetException
columnName
- The name of the column that is searched
NoSuchColumnException
- if the given column has not been found
DataSetException
- if something goes wrong when trying to retrieve the columns
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |