comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportRiver.java @ 190:d40da430d2fe

Added stub code to write gauges flys-backend/trunk@1527 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 21 Mar 2011 09:52:26 +0000
parents bc3747a371cc
children c4fb5141ce11
comparison
equal deleted inserted replaced
189:bc3747a371cc 190:d40da430d2fe
95 aparser.parse(riverDir); 95 aparser.parse(riverDir);
96 96
97 annotations = aparser.getAnnotations(); 97 annotations = aparser.getAnnotations();
98 } 98 }
99 99
100 public void storeDependencies() {
101 storeAnnotations();
102 storeGauges();
103 }
104
100 public void storeAnnotations() { 105 public void storeAnnotations() {
101 River river = getPeer(); 106 River river = getPeer();
102 for (ImportAnnotation annotation: annotations) { 107 for (ImportAnnotation annotation: annotations) {
103 annotation.getPeer(river); 108 annotation.getPeer(river);
104 } 109 }
110 }
111
112 public void storeGauges() {
113 // TODO: Implements me!
105 } 114 }
106 115
107 public River getPeer() { 116 public River getPeer() {
108 if (peer == null) { 117 if (peer == null) {
109 Session session = Importer.sessionHolder.get(); 118 Session session = Importer.sessionHolder.get();

http://dive4elements.wald.intevation.org