Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/BedQualityResult.java @ 3760:312870fded7e
Added result objects for minfo bed quality calculation.
flys-artifacts/trunk@5459 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 13 Sep 2012 13:51:00 +0000 |
parents | |
children | 55fe9c1dc6f3 |
comparison
equal
deleted
inserted
replaced
3759:e54f8dc222cf | 3760:312870fded7e |
---|---|
1 package de.intevation.flys.artifacts.model.minfo; | |
2 | |
3 import java.io.Serializable; | |
4 | |
5 import de.intevation.flys.artifacts.model.DateRange; | |
6 | |
7 public class BedQualityResult implements Serializable { | |
8 | |
9 public static enum DIAMETER_TYPE { | |
10 D90, | |
11 D84, | |
12 D80, | |
13 D75, | |
14 D70, | |
15 D60, | |
16 D50, | |
17 D40, | |
18 D30, | |
19 D25, | |
20 D20, | |
21 D16, | |
22 D10, | |
23 DMIN, | |
24 DMAX | |
25 } | |
26 | |
27 protected DIAMETER_TYPE type; | |
28 protected double diameter; | |
29 protected double km; | |
30 protected DateRange dateRange; | |
31 | |
32 public BedQualityResult () { | |
33 } | |
34 | |
35 public BedQualityResult ( | |
36 DIAMETER_TYPE type, | |
37 double diameter, | |
38 double km, | |
39 DateRange range | |
40 ) { | |
41 this.type = type; | |
42 this.diameter = diameter; | |
43 this.km = km; | |
44 this.dateRange = range; | |
45 } | |
46 | |
47 public DIAMETER_TYPE getType() { | |
48 return this.type; | |
49 } | |
50 | |
51 public double getKm() { | |
52 return this.km; | |
53 } | |
54 | |
55 public double getDiameter() { | |
56 return this.diameter; | |
57 } | |
58 | |
59 public DateRange getDateRange() { | |
60 return this.dateRange; | |
61 } | |
62 public void setType(DIAMETER_TYPE type) { | |
63 this.type = type; | |
64 } | |
65 | |
66 public void setDiameter(double diameter) { | |
67 this.diameter = diameter; | |
68 } | |
69 | |
70 public void setKm(double km) { | |
71 this.km = km; | |
72 } | |
73 | |
74 public void setDateRange(DateRange dateRange) { | |
75 this.dateRange = dateRange; | |
76 } | |
77 | |
78 } |