Class AbstractMerge.SourceColumn
- java.lang.Object
-
- adams.flow.transformer.spreadsheetmethodmerge.AbstractMerge.SourceColumn
-
- All Implemented Interfaces:
Comparable<AbstractMerge.SourceColumn>
- Enclosing class:
- AbstractMerge
protected static class AbstractMerge.SourceColumn extends Object implements Comparable<AbstractMerge.SourceColumn>
Helper class for determining the mapping from input columns in the source spreadsheets to output columns in the merged spreadsheet.
-
-
Field Summary
Fields Modifier and Type Field Description int
columnIndex
The index of the source column in the source spreadsheet.String
columnName
The name of the source column in the source spreadsheet.int
spreadsheetIndex
The index of the source spreadsheet.
-
Constructor Summary
Constructors Constructor Description SourceColumn(int spreadsheetIndex, int columnIndex, String columnName)
Standard constructor.
-
-
-
Field Detail
-
spreadsheetIndex
public final int spreadsheetIndex
The index of the source spreadsheet.
-
columnIndex
public final int columnIndex
The index of the source column in the source spreadsheet.
-
columnName
public final String columnName
The name of the source column in the source spreadsheet.
-
-
Constructor Detail
-
SourceColumn
public SourceColumn(int spreadsheetIndex, int columnIndex, String columnName)
Standard constructor.- Parameters:
spreadsheetIndex
- The index of the source spreadsheet.columnIndex
- The index of the source column in the source spreadsheet.columnName
- The name of the source column in the source spreadsheet.
-
-
Method Detail
-
compareTo
public int compareTo(AbstractMerge.SourceColumn o)
- Specified by:
compareTo
in interfaceComparable<AbstractMerge.SourceColumn>
-
-