comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 5051:2847371be7fe

ImportRiver: Store fixations also if only "waterlevels" were parsed.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 20 Feb 2013 12:15:26 +0100
parents e6dc908297e8
children b87e504f916e
comparison
equal deleted inserted replaced
5050:e6dc908297e8 5051:2847371be7fe
1120 wst.storeDependencies(river); 1120 wst.storeDependencies(river);
1121 } 1121 }
1122 } 1122 }
1123 1123
1124 public void storeFixations() { 1124 public void storeFixations() {
1125 if (!Config.INSTANCE.skipFixations()) { 1125 if (!Config.INSTANCE.skipFixations() || !Config.INSTANCE.skipWaterlevels()) {
1126 log.info("store fixation wsts"); 1126 log.info("store fixation wsts and/or csvs");
1127 River river = getPeer(); 1127 River river = getPeer();
1128 for (ImportWst wst: fixations) { 1128 for (ImportWst wst: fixations) {
1129 log.debug("name: " + wst.getDescription()); 1129 log.debug("name: " + wst.getDescription());
1130 wst.storeDependencies(river); 1130 wst.storeDependencies(river);
1131 } 1131 }

http://dive4elements.wald.intevation.org