Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportWst.java @ 471:3570e4af8cb2
Added 'position' column to wst_columns to allow order them by there column position in the original wst file.
flys-backend/trunk@1710 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Apr 2011 16:06:15 +0000 |
parents | c8c09e31cdb8 |
children | 5d920695a7f0 |
comparison
equal
deleted
inserted
replaced
470:f4afea9b7537 | 471:3570e4af8cb2 |
---|---|
39 } | 39 } |
40 | 40 |
41 public ImportWstColumn getColumn(String name) { | 41 public ImportWstColumn getColumn(String name) { |
42 ImportWstColumn column = columns.get(name); | 42 ImportWstColumn column = columns.get(name); |
43 if (column == null) { | 43 if (column == null) { |
44 column = new ImportWstColumn(this, name, null); | 44 column = new ImportWstColumn(this, name, null, columns.size()); |
45 columns.put(name, column); | 45 columns.put(name, column); |
46 } | 46 } |
47 return column; | 47 return column; |
48 } | 48 } |
49 | 49 |