Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 2811:8926571e47fb
Finished importing MINFO bed heights (single and epoch).
flys-backend/trunk@4225 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Fri, 13 Apr 2012 07:24:55 +0000 |
parents | 04eeb45df27b |
children | 3febaed762b8 |
comparison
equal
deleted
inserted
replaced
2810:04eeb45df27b | 2811:8926571e47fb |
---|---|
90 | 90 |
91 protected List<ImportWst> floodWater; | 91 protected List<ImportWst> floodWater; |
92 | 92 |
93 protected List<ImportWst> floodProtection; | 93 protected List<ImportWst> floodProtection; |
94 | 94 |
95 protected List<ImportBedHeightSingle> bedHeightSingles; | 95 protected List<ImportBedHeight> bedHeightSingles; |
96 | 96 |
97 protected List<ImportBedHeightEpoch> bedHeightEpochs; | 97 protected List<ImportBedHeight> bedHeightEpochs; |
98 | 98 |
99 protected ImportWst wst; | 99 protected ImportWst wst; |
100 | 100 |
101 protected ImportUnit wstUnit; | 101 protected ImportUnit wstUnit; |
102 | 102 |
721 | 721 |
722 private void storeBedHeightSingle() { | 722 private void storeBedHeightSingle() { |
723 River river = getPeer(); | 723 River river = getPeer(); |
724 | 724 |
725 if (bedHeightSingles != null) { | 725 if (bedHeightSingles != null) { |
726 for (ImportBedHeightSingle single: bedHeightSingles) { | 726 for (ImportBedHeight tmp: bedHeightSingles) { |
727 ImportBedHeightSingle single = (ImportBedHeightSingle) tmp; | |
728 | |
727 String desc = single.getDescription(); | 729 String desc = single.getDescription(); |
728 | 730 |
729 log.debug("name: " + desc); | 731 log.debug("name: " + desc); |
730 | 732 |
731 try { | 733 try { |
747 | 749 |
748 private void storeBedHeightEpoch() { | 750 private void storeBedHeightEpoch() { |
749 River river = getPeer(); | 751 River river = getPeer(); |
750 | 752 |
751 if (bedHeightEpochs != null) { | 753 if (bedHeightEpochs != null) { |
752 for (ImportBedHeightEpoch epoch: bedHeightEpochs) { | 754 for (ImportBedHeight tmp: bedHeightEpochs) { |
755 ImportBedHeightEpoch epoch = (ImportBedHeightEpoch) tmp; | |
756 | |
753 String desc = epoch.getDescription(); | 757 String desc = epoch.getDescription(); |
754 | 758 |
755 log.debug("name: " + desc); | 759 log.debug("name: " + desc); |
756 | 760 |
757 try { | 761 try { |