Package de.gmorling.scriptabledataset
Class ScriptableTable
java.lang.Object
de.gmorling.scriptabledataset.ScriptableTable
- All Implemented Interfaces:
org.dbunit.dataset.ITable
ITable implementation, that allows the usage of script statements as field values.
- Author:
- Gunnar Morling
-
Field Summary
Fields inherited from interface org.dbunit.dataset.ITable
NO_VALUE -
Constructor Summary
ConstructorsConstructorDescriptionScriptableTable(org.dbunit.dataset.ITable wrapped, List<ScriptableDataSetConfig> configurations) Creates a new ScriptableTable. -
Method Summary
Modifier and TypeMethodDescriptionintorg.dbunit.dataset.ITableMetaData
-
Constructor Details
-
ScriptableTable
public ScriptableTable(org.dbunit.dataset.ITable wrapped, List<ScriptableDataSetConfig> configurations) Creates a new ScriptableTable.- Parameters:
wrapped- The ITable to be wrapped by this scriptable table. May not be null.configurations- An list with configurations
-
-
Method Details
-
getRowCount
public int getRowCount()- Specified by:
getRowCountin interfaceorg.dbunit.dataset.ITable
-
getTableMetaData
public org.dbunit.dataset.ITableMetaData getTableMetaData()- Specified by:
getTableMetaDatain interfaceorg.dbunit.dataset.ITable
-
getValue
- Specified by:
getValuein interfaceorg.dbunit.dataset.ITable- Throws:
org.dbunit.dataset.DataSetException
-