comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 1221:979ff070e368

Store HYK data structures to database. Needs testing. flys-backend/trunk@2347 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Sun, 17 Jul 2011 22:59:26 +0000
parents 3c860d3e79d9
children 268f8da412e3
comparison
equal deleted inserted replaced
1220:3c860d3e79d9 1221:979ff070e368
455 return cal.getTime(); 455 return cal.getTime();
456 } 456 }
457 457
458 public void storeDependencies() { 458 public void storeDependencies() {
459 storeAnnotations(); 459 storeAnnotations();
460 storeHYKs();
460 storeCrossSections(); 461 storeCrossSections();
461 storeGauges(); 462 storeGauges();
462 storeWst(); 463 storeWst();
463 storeExtraWsts(); 464 storeExtraWsts();
464 storeFixations(); 465 storeFixations();
465 storeOfficialLines(); 466 storeOfficialLines();
466 storeFloodWater(); 467 storeFloodWater();
467 storeFloodProtection(); 468 storeFloodProtection();
469 }
470
471 public void storeHYKs() {
472 log.info("store HYKs");
473 getPeer();
474 for (ImportHYK hyk: hyks) {
475 hyk.storeDependencies();
476 }
468 } 477 }
469 478
470 public void storeCrossSections() { 479 public void storeCrossSections() {
471 log.info("store cross sections"); 480 log.info("store cross sections");
472 for (ImportCrossSection crossSection: crossSections) { 481 for (ImportCrossSection crossSection: crossSections) {

http://dive4elements.wald.intevation.org