Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultRiverInfo.java @ 3838:70976b711b7e
Extend RiverInfo and GaugeInfo to store also the info http url
flys-client/trunk@5553 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Bjoern Ricks <bjoern.ricks@intevation.de> |
---|---|
date | Fri, 21 Sep 2012 10:52:42 +0000 |
parents | 4e33aa341e51 |
children | f3b821735e39 |
comparison
equal
deleted
inserted
replaced
3837:6b2ae2ec5b01 | 3838:70976b711b7e |
---|---|
13 private Double start; | 13 private Double start; |
14 private Double end; | 14 private Double end; |
15 private String wstunit; | 15 private String wstunit; |
16 private Double minq; | 16 private Double minq; |
17 private Double maxq; | 17 private Double maxq; |
18 private String infourl; | |
18 | 19 |
19 private List<GaugeInfo> gaugeinfo; | 20 private List<GaugeInfo> gaugeinfo; |
20 | 21 |
21 public DefaultRiverInfo() { | 22 public DefaultRiverInfo() { |
22 } | 23 } |
27 Double start, | 28 Double start, |
28 Double end, | 29 Double end, |
29 String wstunit, | 30 String wstunit, |
30 Double minq, | 31 Double minq, |
31 Double maxq, | 32 Double maxq, |
33 String infourl, | |
32 List<GaugeInfo> gaugeinfo) | 34 List<GaugeInfo> gaugeinfo) |
33 { | 35 { |
34 this.name = name; | 36 this.name = name; |
35 this.kmup = kmup; | 37 this.kmup = kmup; |
36 this.start = start; | 38 this.start = start; |
37 this.end = end; | 39 this.end = end; |
38 this.wstunit = wstunit; | 40 this.wstunit = wstunit; |
39 this.minq = minq; | 41 this.minq = minq; |
40 this.maxq = maxq; | 42 this.maxq = maxq; |
43 this.infourl = infourl; | |
41 this.gaugeinfo = gaugeinfo; | 44 this.gaugeinfo = gaugeinfo; |
42 } | 45 } |
43 | 46 |
44 | 47 |
45 public boolean isKmUp() { | 48 public boolean isKmUp() { |
92 * Returns the max q value of the river | 95 * Returns the max q value of the river |
93 */ | 96 */ |
94 public Double getMaxQ() { | 97 public Double getMaxQ() { |
95 return maxq; | 98 return maxq; |
96 } | 99 } |
100 | |
101 /** | |
102 * Returns the URL where to find additional information about this river | |
103 */ | |
104 public String getInfoURL() { | |
105 return this.infourl; | |
106 } | |
97 } | 107 } |