org.silverpeas
Class DataSetTest.TableRow

java.lang.Object
  extended by org.silverpeas.DataSetTest.TableRow
Enclosing class:
DataSetTest

public class DataSetTest.TableRow
extends Object

Class to extract data easily from a table row.


Constructor Summary
DataSetTest.TableRow(org.dbunit.dataset.ITable table, int index)
           
 
Method Summary
 Date getDate(String columnName)
           
 Integer getInteger(String columnName)
           
 Long getLong(String columnName)
           
 String getString(String columnName)
           
 Object getValue(String columnName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DataSetTest.TableRow

public DataSetTest.TableRow(org.dbunit.dataset.ITable table,
                            int index)
Method Detail

getValue

public Object getValue(String columnName)
                throws Exception
Throws:
Exception

getString

public String getString(String columnName)
                 throws Exception
Throws:
Exception

getDate

public Date getDate(String columnName)
             throws Exception
Throws:
Exception

getInteger

public Integer getInteger(String columnName)
                   throws Exception
Throws:
Exception

getLong

public Long getLong(String columnName)
             throws Exception
Throws:
Exception


Copyright © 2016 Silverpeas. All Rights Reserved.