View Javadoc
1   package org.dbunit.assertion.comparer.value;
2   
3   /**
4    * Convenience class for defining reusable pairs of column names to
5    * {@link ValueComparer}s.
6    *
7    * @author jjensen
8    * @since 2.6.0
9    */
10  // FIXME keep or delete?
11  public class ColumnValueComparerPair
12  {
13      private final String columnName;
14      private final ValueComparer valueComparer;
15  
16      public ColumnValueComparerPair(final String columnName,
17              final ValueComparer valueComparer)
18      {
19          this.columnName = columnName;
20          this.valueComparer = valueComparer;
21      }
22  
23      public String getColumnName()
24      {
25          return columnName;
26      }
27  
28      public ValueComparer getValueComparer()
29      {
30          return valueComparer;
31      }
32  }