comparison flys-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultGaugeInfo.java @ 5834:f507086aa94b

Repaired internal references.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 12:31:32 +0200
parents flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java@22cd60315e08
children 821a02bbfb4e
comparison
equal deleted inserted replaced
5833:a2bdc0f524e8 5834:f507086aa94b
1 package de.intevation.flys.client.shared.model;
2
3 /**
4 * @author <a href="mailto:bjoern.ricks@intevation.de">Björn Ricks</a>
5 */
6 public class DefaultGaugeInfo implements GaugeInfo {
7
8 private String name;
9 private Double start;
10 private Double end;
11 private Double aeo;
12 private Double datum;
13 private Double minq;
14 private Double maxq;
15 private Double minw;
16 private Double maxw;
17 private boolean kmup;
18 private Double station;
19 private String wstunit;
20 private Long officialnumber;
21 private String rivername;
22
23 public DefaultGaugeInfo() {
24 }
25
26 public DefaultGaugeInfo(
27 String rivername,
28 String name,
29 boolean kmup,
30 Double station,
31 Double start,
32 Double end,
33 Double datum,
34 Double aeo,
35 Double minq,
36 Double maxq,
37 Double minw,
38 Double maxw,
39 String wstunit,
40 Long official)
41 {
42 this.rivername = rivername;
43 this.name = name;
44 this.kmup = kmup;
45 this.station = station;
46 this.start = start;
47 this.end = end;
48 this.datum = datum;
49 this.aeo = aeo;
50 this.minq = minq;
51 this.maxq = maxq;
52 this.minw = minw;
53 this.maxw = maxw;
54 this.wstunit = wstunit;
55 this.officialnumber = official;
56 }
57 /**
58 * Returns the name of the gauge
59 */
60 public String getName() {
61 return this.name;
62 }
63
64 /**
65 * Returns the start KM of the gauge or null if not available
66 */
67 public Double getKmStart() {
68 return this.start;
69 }
70
71 /**
72 * Returns the end KM of the gauge or null if not available
73 */
74 public Double getKmEnd() {
75 return this.end;
76 }
77
78 /**
79 * Returns the mimimum Q value at this gauge or null if not available
80 */
81 public Double getMinQ() {
82 return this.minq;
83 }
84
85 /**
86 * Returns the maximum Q value at this gauge or null if not available
87 */
88 public Double getMaxQ() {
89 return this.maxq;
90 }
91
92 /**
93 * Returns the mimimum W value at this gauge or null if not available
94 */
95 public Double getMinW() {
96 return this.minw;
97 }
98
99 /**
100 * Returns the maximim W value at this gauge or null if not available
101 */
102 public Double getMaxW() {
103 return this.maxw;
104 }
105
106 /**
107 * Returns the datum value or null if not available
108 */
109 public Double getDatum() {
110 return this.datum;
111 }
112
113 /**
114 * Returns the aeo value or null if not available
115 */
116 public Double getAeo() {
117 return this.aeo;
118 }
119
120 public boolean isKmUp() {
121 return this.kmup;
122 }
123
124 /**
125 * Returns the station km of the gauge or null if not available
126 */
127 public Double getStation() {
128 return this.station;
129 }
130
131 /**
132 * Returns the wst unit as a String
133 */
134 public String getWstUnit() {
135 return this.wstunit;
136 }
137
138 /**
139 * Returns the official number of this gauge
140 */
141 public Long getOfficialNumber() {
142 return this.officialnumber;
143 }
144
145 /**
146 * Returns the river to which this gauge belongs
147 */
148 public String getRiverName() {
149 return this.rivername;
150 }
151 }

http://dive4elements.wald.intevation.org