org.dbunit.assertion
Class DbUnitAssert.ComparisonColumn

java.lang.Object
  extended by org.dbunit.assertion.DbUnitAssert.ComparisonColumn
Enclosing class:
DbUnitAssert

public static class DbUnitAssert.ComparisonColumn
extends Object

Represents a single column to be used for the comparison of table data. It contains the DataType to be used for comparing the given column. This DataType matches the expected and actual column's datatype.

Since:
2.4.0
Version:
$Revision: 864 $ $Date: 2008-11-07 06:27:26 -0800 (Fri, 07 Nov 2008) $
Author:
gommma (gommma AT users.sourceforge.net), Last changed by: $Author: gommma $

Constructor Summary
DbUnitAssert.ComparisonColumn(String tableName, Column expectedColumn, Column actualColumn, FailureHandler failureHandler)
           
 
Method Summary
 String getColumnName()
           
 DataType getDataType()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DbUnitAssert.ComparisonColumn

public DbUnitAssert.ComparisonColumn(String tableName,
                                     Column expectedColumn,
                                     Column actualColumn,
                                     FailureHandler failureHandler)
Parameters:
tableName - The table name which is only needed for debugging output
expectedColumn - The expected column needed to resolve the DataType to use for the actual comparison
actualColumn - The actual column needed to resolve the DataType to use for the actual comparison
failureHandler - The FailureHandler to be used when no datatype can be determined
Method Detail

getColumnName

public String getColumnName()
Returns:
The column actually being compared

getDataType

public DataType getDataType()
Returns:
The DataType to use for the actual comparison


Copyright © 2002-2012. All Rights Reserved.