Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/parsers/MeasurementStationsParser.java @ 5471:de3c77d35fef
Renamed comment to description in measurement station.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 27 Mar 2013 15:57:44 +0100 |
parents | 278d8759c92b |
children |
comparison
equal
deleted
inserted
replaced
5458:e667c127b600 | 5471:de3c77d35fef |
---|---|
78 current.measurementType = getMeasurementType(cols); | 78 current.measurementType = getMeasurementType(cols); |
79 current.riverside = getRiverside(cols); | 79 current.riverside = getRiverside(cols); |
80 current.gauge = getGauge(cols); | 80 current.gauge = getGauge(cols); |
81 current.observationTimerange = getObservationTimerange(cols); | 81 current.observationTimerange = getObservationTimerange(cols); |
82 current.operator = getOperator(cols); | 82 current.operator = getOperator(cols); |
83 current.comment = getComment(cols); | 83 current.description = getDescription(cols); |
84 | 84 |
85 log.debug("Found new measurement station '" + current.name + "' at km " | 85 log.debug("Found new measurement station '" + current.name + "' at km " |
86 + current.station); | 86 + current.station); |
87 } | 87 } |
88 | 88 |
179 | 179 |
180 protected String getOperator(String[] cols) { | 180 protected String getOperator(String[] cols) { |
181 return cols[9]; | 181 return cols[9]; |
182 } | 182 } |
183 | 183 |
184 protected String getComment(String[] cols) { | 184 protected String getDescription(String[] cols) { |
185 return cols.length > 10 ? cols[10] : null; | 185 return cols.length > 10 ? cols[10] : null; |
186 } | 186 } |
187 } | 187 } |