java.lang.Object
de.gmorling.scriptabledataset.ScriptableTable
All Implemented Interfaces:
org.dbunit.dataset.ITable

public class ScriptableTable extends Object implements org.dbunit.dataset.ITable
ITable implementation, that allows the usage of script statements as field values.
  • 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:
      getRowCount in interface org.dbunit.dataset.ITable
    • getTableMetaData

      public org.dbunit.dataset.ITableMetaData getTableMetaData()
      Specified by:
      getTableMetaData in interface org.dbunit.dataset.ITable
    • getValue

      public Object getValue(int row, String column) throws org.dbunit.dataset.DataSetException
      Specified by:
      getValue in interface org.dbunit.dataset.ITable
      Throws:
      org.dbunit.dataset.DataSetException