Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultGaugeInfo.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 | dc505433173f |
children | 8e169e4e1b57 |
comparison
equal
deleted
inserted
replaced
3837:6b2ae2ec5b01 | 3838:70976b711b7e |
---|---|
15 private Double minw; | 15 private Double minw; |
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 | 21 |
21 public DefaultGaugeInfo() { | 22 public DefaultGaugeInfo() { |
22 } | 23 } |
23 | 24 |
24 public DefaultGaugeInfo( | 25 public DefaultGaugeInfo( |
31 Double aeo, | 32 Double aeo, |
32 Double minq, | 33 Double minq, |
33 Double maxq, | 34 Double maxq, |
34 Double minw, | 35 Double minw, |
35 Double maxw, | 36 Double maxw, |
36 String wstunit) | 37 String wstunit, |
38 String infourl) | |
37 { | 39 { |
38 this.name = name; | 40 this.name = name; |
39 this.station = station; | 41 this.station = station; |
40 this.start = start; | 42 this.start = start; |
41 this.end = end; | 43 this.end = end; |
44 this.minq = minq; | 46 this.minq = minq; |
45 this.maxq = maxq; | 47 this.maxq = maxq; |
46 this.minw = minw; | 48 this.minw = minw; |
47 this.maxw = maxw; | 49 this.maxw = maxw; |
48 this.wstunit = wstunit; | 50 this.wstunit = wstunit; |
51 this.infourl = infourl; | |
49 } | 52 } |
50 /** | 53 /** |
51 * Returns the name of the gauge | 54 * Returns the name of the gauge |
52 */ | 55 */ |
53 public String getName() { | 56 public String getName() { |
125 * Returns the wst unit as a String | 128 * Returns the wst unit as a String |
126 */ | 129 */ |
127 public String getWstUnit() { | 130 public String getWstUnit() { |
128 return this.wstunit; | 131 return this.wstunit; |
129 } | 132 } |
133 | |
134 /** | |
135 * Returns the URL where to find additional information about this gauge | |
136 */ | |
137 public String getInfoURL() { | |
138 return this.infourl; | |
139 } | |
130 } | 140 } |