Mercurial > dive4elements > river
diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java @ 3758:75bc96dd9d82
Added depth parameter to bed quality data.
flys-artifacts/trunk@5456 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 13 Sep 2012 13:43:00 +0000 |
parents | 9c555ce5ca50 |
children | 05eeedc5b156 |
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java Thu Sep 13 12:08:50 2012 +0000 +++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/QualityMeasurement.java Thu Sep 13 13:43:00 2012 +0000 @@ -3,10 +3,13 @@ import java.util.Date; import java.util.Map; + public class QualityMeasurement { - private double km; - private Date date; + private double km; + private Date date; + private double depth1; + private double depth2; private Map<String, Double> charDiameter; public QualityMeasurement() { @@ -16,10 +19,13 @@ public QualityMeasurement( double km, Date date, - Map<String, Double> diameter) - { + double depth1, + double depth2, + Map<String, Double> diameter) { this.setKm(km); this.setDate(date); + this.depth1 = depth1; + this.depth2 = depth2; this.setDiameter(diameter); } @@ -54,4 +60,21 @@ public void setDiameter(String key, double value) { charDiameter.put(key, value); } + + public double getDepth1() { + return depth1; + } + + public void setDepth1(double depth1) { + this.depth1 = depth1; + } + + public double getDepth2() { + return depth2; + } + + public void setDepth2(double depth2) { + this.depth2 = depth2; + } + }