comparison flys-backend/ChangeLog @ 2347:0acf28a3d28a

Removed the Unit from Wsts - added a WstUnit column to rivers. flys-backend/trunk@2884 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Tue, 04 Oct 2011 15:28:19 +0000
parents f834b411ca57
children 8477965674ce
comparison
equal deleted inserted replaced
2346:f834b411ca57 2347:0acf28a3d28a
1 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
2
3 * doc/schema/postgresql.sql: Removed unit column from wsts; added a
4 wst_unit_id column to rivers. We decided to support a single elevation
5 model for the whole river.
6
7 * src/main/java/de/intevation/flys/model/River.java: Added a WstUnit
8 column.
9
10 * src/main/java/de/intevation/flys/model/Wst.java: Removed the Unit
11 column.
12
13 * src/main/java/de/intevation/flys/importer/ImportWst.java: Provide a
14 getUnit() method that allows querying the elevation unit for this wst.
15
16 * src/main/java/de/intevation/flys/importer/ImportUnit.java: Removed
17 storeDependencies().
18
19 * src/main/java/de/intevation/flys/importer/ImportRiver.java: Save the
20 Unit of the wst file or a default one into database before all other
21 dependencies as well as the river itself is saved to database.
22
1 2011-10-04 Ingo Weinzierl <ingo@intevation.de> 23 2011-10-04 Ingo Weinzierl <ingo@intevation.de>
2 24
3 * doc/schema/postgresql.sql: Added a "units" table. 25 * doc/schema/postgresql.sql: Added a "units" table.
4 26
5 * src/main/java/de/intevation/flys/model/Unit.java: New. Model class that 27 * src/main/java/de/intevation/flys/model/Unit.java: New. Model class that

http://dive4elements.wald.intevation.org