CubeTwister 2.0alpha142 2012-02-11

ch.randelshofer.rubik.impexp.csv
Class ColumnMappingTableModel.Entry

java.lang.Object
  extended by ch.randelshofer.rubik.impexp.csv.ColumnMappingTableModel.Entry
Enclosing class:
ColumnMappingTableModel

public static class ColumnMappingTableModel.Entry
extends java.lang.Object

An instance of this class specifies a column available from the import file. and a mapping of that column to an index specified by TableImpExp.supportedImportColumns.


Field Summary
 int columnMapping
          The index mapping the column of the import file to an index in the array TableImpExp.supportedImportColumns.
 java.lang.String columnTitle
          The title of a column.
 
Constructor Summary
ColumnMappingTableModel.Entry(java.lang.String columnTitle, int mapping)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

columnTitle

public java.lang.String columnTitle
The title of a column.


columnMapping

public int columnMapping
The index mapping the column of the import file to an index in the array TableImpExp.supportedImportColumns. The value -1 indicates that this columns should be ignored.

Constructor Detail

ColumnMappingTableModel.Entry

public ColumnMappingTableModel.Entry(java.lang.String columnTitle,
                                     int mapping)

(c) Werner Randelshofer.
All rights reserved.