Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/flys/importer/ImportBedHeightSingle.java @ 2808:b57c95094b68
Finished work on parsing meta information and data specific to single bed heights files in MINFO.
flys-backend/trunk@4216 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Wed, 11 Apr 2012 13:12:52 +0000 |
parents | 33f40b23edd8 |
children | f283212966e8 |
comparison
equal
deleted
inserted
replaced
2807:5ac1db5156be | 2808:b57c95094b68 |
---|---|
1 package de.intevation.flys.importer; | 1 package de.intevation.flys.importer; |
2 | |
3 import java.util.ArrayList; | |
4 import java.util.List; | |
2 | 5 |
3 import org.apache.log4j.Logger; | 6 import org.apache.log4j.Logger; |
4 | 7 |
5 import de.intevation.flys.model.River; | 8 import de.intevation.flys.model.River; |
6 | 9 |
7 | 10 |
8 public class ImportBedHeightSingle | 11 public class ImportBedHeightSingle |
9 { | 12 { |
10 private static Logger log = Logger.getLogger(ImportBedHeightSingle.class); | 13 private static Logger log = Logger.getLogger(ImportBedHeightSingle.class); |
11 | 14 |
15 protected int year; | |
16 protected int soundingWidth; | |
12 | 17 |
18 protected String evaluationBy; | |
13 protected String description; | 19 protected String description; |
20 | |
21 protected ImportRange range; | |
22 protected ImportBedHeightType type; | |
23 protected ImportLocationSystem locationSystem; | |
24 protected ImportElevationModel curElevationModel; | |
25 protected ImportElevationModel oldElevationModel; | |
26 | |
27 protected List<ImportBedHeightSingleValue> values; | |
14 | 28 |
15 | 29 |
16 public ImportBedHeightSingle(String description) { | 30 public ImportBedHeightSingle(String description) { |
17 this.description = description; | 31 this.description = description; |
32 this.values = new ArrayList<ImportBedHeightSingleValue>(); | |
18 } | 33 } |
19 | 34 |
20 | 35 |
21 public String getDescription() { | 36 public String getDescription() { |
22 return description; | 37 return description; |
23 } | 38 } |
24 | 39 |
25 | 40 |
41 public void setYear(int year) { | |
42 this.year = year; | |
43 } | |
44 | |
45 public void setSoundingWidth(int soundingWidth) { | |
46 this.soundingWidth = soundingWidth; | |
47 } | |
48 | |
49 public void setEvaluationBy(String evaluationBy) { | |
50 this.evaluationBy = evaluationBy; | |
51 } | |
52 | |
53 public void setDescription(String description) { | |
54 this.description = description; | |
55 } | |
56 | |
57 public void setRange(ImportRange range) { | |
58 this.range = range; | |
59 } | |
60 | |
61 public void setType(ImportBedHeightType type) { | |
62 this.type = type; | |
63 } | |
64 | |
65 public void setLocationSystem(ImportLocationSystem locationSystem) { | |
66 this.locationSystem = locationSystem; | |
67 } | |
68 | |
69 public void setCurElevationModel(ImportElevationModel curElevationModel) { | |
70 this.curElevationModel = curElevationModel; | |
71 } | |
72 | |
73 public void setOldElevationModel(ImportElevationModel oldElevationModel) { | |
74 this.oldElevationModel = oldElevationModel; | |
75 } | |
76 | |
77 public void addValue(ImportBedHeightSingleValue value) { | |
78 values.add(value); | |
79 } | |
80 | |
26 public void storeDependencies(River river) { | 81 public void storeDependencies(River river) { |
27 log.info("Store dependencies for single: '" + getDescription() + "'"); | 82 log.info("Store dependencies for single: '" + getDescription() + "'"); |
28 log.error("TODO: IMPLEMENT ME!"); | 83 log.error("TODO: IMPLEMENT ME!"); |
29 } | 84 } |
30 } | 85 } |