Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3864:c434dd2e84cf
Add the river name to the gaugeinfo
flys-client/trunk@5638 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 08:52:53 +0000 |
parents | 87605bd9667c |
children | 22cd60315e08 |
comparison
equal
deleted
inserted
replaced
3863:4f0b95845aef | 3864:c434dd2e84cf |
---|---|
16 private Double maxw; | 16 private Double maxw; |
17 private boolean kmup; | 17 private boolean kmup; |
18 private Double station; | 18 private Double station; |
19 private String wstunit; | 19 private String wstunit; |
20 private Long officialnumber; | 20 private Long officialnumber; |
21 private String rivername; | |
21 | 22 |
22 public DefaultGaugeInfo() { | 23 public DefaultGaugeInfo() { |
23 } | 24 } |
24 | 25 |
25 public DefaultGaugeInfo( | 26 public DefaultGaugeInfo( |
27 String rivername, | |
26 String name, | 28 String name, |
27 boolean kmup, | 29 boolean kmup, |
28 Double station, | 30 Double station, |
29 Double start, | 31 Double start, |
30 Double end, | 32 Double end, |
35 Double minw, | 37 Double minw, |
36 Double maxw, | 38 Double maxw, |
37 String wstunit, | 39 String wstunit, |
38 Long official) | 40 Long official) |
39 { | 41 { |
42 this.rivername = rivername; | |
40 this.name = name; | 43 this.name = name; |
41 this.kmup = kmup; | 44 this.kmup = kmup; |
42 this.station = station; | 45 this.station = station; |
43 this.start = start; | 46 this.start = start; |
44 this.end = end; | 47 this.end = end; |
136 * Returns the official number of this gauge | 139 * Returns the official number of this gauge |
137 */ | 140 */ |
138 public Long getOfficialNumber() { | 141 public Long getOfficialNumber() { |
139 return this.officialnumber; | 142 return this.officialnumber; |
140 } | 143 } |
144 | |
145 /** | |
146 * Returns the river to which this gauge belongs | |
147 */ | |
148 public String getRiverName() { | |
149 return this.rivername; | |
150 } | |
141 } | 151 } |