Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportHYKFlowZone.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 | 00e37d22a589 |
children | 2ae732e2c65c |
comparison
equal
deleted
inserted
replaced
1220:3c860d3e79d9 | 1221:979ff070e368 |
---|---|
41 | 41 |
42 public void setFormation(ImportHYKFormation formation) { | 42 public void setFormation(ImportHYKFormation formation) { |
43 this.formation = formation; | 43 this.formation = formation; |
44 } | 44 } |
45 | 45 |
46 public void storeDependencies() { | |
47 getPeer(); | |
48 } | |
49 | |
46 public HYKFlowZone getPeer() { | 50 public HYKFlowZone getPeer() { |
47 if (peer == null) { | 51 if (peer == null) { |
48 HYKFormation f = formation.getPeer(); | 52 HYKFormation f = formation.getPeer(); |
49 HYKFlowZoneType t = type.getPeer(); | 53 HYKFlowZoneType t = type.getPeer(); |
50 Session session = ImporterSession.getInstance() | 54 Session session = ImporterSession.getInstance() |