Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.java @ 3843:8e169e4e1b57
Add the official gauge number to the GaugeInfo class
flys-client/trunk@5559 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 21 Sep 2012 14:12:41 +0000 |
parents | 70976b711b7e |
children | f3b821735e39 |
comparison
equal
deleted
inserted
replaced
3842:44c1beb78ad1 | 3843:8e169e4e1b57 |
---|---|
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 String infourl; | 20 private String infourl; |
21 private Long officialnumber; | |
21 | 22 |
22 public DefaultGaugeInfo() { | 23 public DefaultGaugeInfo() { |
23 } | 24 } |
24 | 25 |
25 public DefaultGaugeInfo( | 26 public DefaultGaugeInfo( |
33 Double minq, | 34 Double minq, |
34 Double maxq, | 35 Double maxq, |
35 Double minw, | 36 Double minw, |
36 Double maxw, | 37 Double maxw, |
37 String wstunit, | 38 String wstunit, |
38 String infourl) | 39 String infourl, |
40 Long official) | |
39 { | 41 { |
40 this.name = name; | 42 this.name = name; |
41 this.station = station; | 43 this.station = station; |
42 this.start = start; | 44 this.start = start; |
43 this.end = end; | 45 this.end = end; |
44 this.datum = datum; | 46 this.datum = datum; |
45 this.aeo = aeo; | 47 this.aeo = aeo; |
46 this.minq = minq; | 48 this.minq = minq; |
47 this.maxq = maxq; | 49 this.maxq = maxq; |
48 this.minw = minw; | 50 this.minw = minw; |
49 this.maxw = maxw; | 51 this.maxw = maxw; |
50 this.wstunit = wstunit; | 52 this.wstunit = wstunit; |
51 this.infourl = infourl; | 53 this.infourl = infourl; |
54 this.officialnumber = official; | |
52 } | 55 } |
53 /** | 56 /** |
54 * Returns the name of the gauge | 57 * Returns the name of the gauge |
55 */ | 58 */ |
56 public String getName() { | 59 public String getName() { |
135 * Returns the URL where to find additional information about this gauge | 138 * Returns the URL where to find additional information about this gauge |
136 */ | 139 */ |
137 public String getInfoURL() { | 140 public String getInfoURL() { |
138 return this.infourl; | 141 return this.infourl; |
139 } | 142 } |
143 | |
144 /** | |
145 * Returns the official number of this gauge | |
146 */ | |
147 public Long getOfficialNumber() { | |
148 return this.officialnumber; | |
149 } | |
140 } | 150 } |