org.dbunit.assertion
Class DbUnitAssert.ComparisonColumn
java.lang.Object
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 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DbUnitAssert.ComparisonColumn
public DbUnitAssert.ComparisonColumn(String tableName,
Column expectedColumn,
Column actualColumn,
FailureHandler failureHandler)
- Parameters:
tableName
- The table name which is only needed for debugging outputexpectedColumn
- The expected column needed to resolve the DataType
to
use for the actual comparisonactualColumn
- The actual column needed to resolve the DataType
to use
for the actual comparisonfailureHandler
- The FailureHandler
to be used when no datatype can be
determined
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.