comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 5248:35b78d8c44b8

ImportRiver: In analogy to other wst imports, set kind in ImportRiver.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 12 Mar 2013 12:28:51 +0100
parents 93d4145d5740
children 1e403a0efc21
comparison
equal deleted inserted replaced
5247:93d4145d5740 5248:35b78d8c44b8
561 // TODO use own List<ImportWst> for waterlevels 561 // TODO use own List<ImportWst> for waterlevels
562 // The parsed ImportWaterlevels are converted to 562 // The parsed ImportWaterlevels are converted to
563 // 'fixation'-wsts now. 563 // 'fixation'-wsts now.
564 for(ImportWst iw: parser.getWaterlevels()) { 564 for(ImportWst iw: parser.getWaterlevels()) {
565 iw.setDescription("CSV/" + iw.getDescription()); 565 iw.setDescription("CSV/" + iw.getDescription());
566 iw.setKind(6);
566 fixations.add(iw); 567 fixations.add(iw);
567 } 568 }
568 } 569 }
569 570
570 protected void parseMeasurementStations() throws IOException { 571 protected void parseMeasurementStations() throws IOException {
624 } 625 }
625 626
626 // WaterlevelDifferences become Wsts now. 627 // WaterlevelDifferences become Wsts now.
627 for(ImportWst iw: parser.getDifferences()) { 628 for(ImportWst iw: parser.getDifferences()) {
628 iw.setDescription("CSV/" + iw.getDescription()); 629 iw.setDescription("CSV/" + iw.getDescription());
630 iw.setKind(7);
629 waterlevelDifferences.add(iw); 631 waterlevelDifferences.add(iw);
630 } 632 }
631 } 633 }
632 634
633 635

http://dive4elements.wald.intevation.org