Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultRiverInfo.java @ 7759:1b48b74a2f11
Added model_uuid to river info.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Thu, 27 Feb 2014 15:10:44 +0100 |
parents | ea9eef426962 |
children |
comparison
equal
deleted
inserted
replaced
7758:cc214753adca | 7759:1b48b74a2f11 |
---|---|
22 private Double end; | 22 private Double end; |
23 private String wstunit; | 23 private String wstunit; |
24 private Double minq; | 24 private Double minq; |
25 private Double maxq; | 25 private Double maxq; |
26 private Long officialnumber; | 26 private Long officialnumber; |
27 private String muuid; | |
27 | 28 |
28 private List<GaugeInfo> gaugeinfo; | 29 private List<GaugeInfo> gaugeinfo; |
29 private List<MeasurementStation> mstations; | 30 private List<MeasurementStation> mstations; |
30 | 31 |
31 public DefaultRiverInfo() { | 32 public DefaultRiverInfo() { |
37 Double start, | 38 Double start, |
38 Double end, | 39 Double end, |
39 String wstunit, | 40 String wstunit, |
40 Double minq, | 41 Double minq, |
41 Double maxq, | 42 Double maxq, |
42 Long official) | 43 Long official, |
44 String muuid) | |
43 { | 45 { |
44 this.name = name; | 46 this.name = name; |
45 this.kmup = kmup; | 47 this.kmup = kmup; |
46 this.start = start; | 48 this.start = start; |
47 this.end = end; | 49 this.end = end; |
48 this.wstunit = wstunit; | 50 this.wstunit = wstunit; |
49 this.minq = minq; | 51 this.minq = minq; |
50 this.maxq = maxq; | 52 this.maxq = maxq; |
51 this.officialnumber = official; | 53 this.officialnumber = official; |
54 this.muuid = muuid; | |
52 } | 55 } |
53 | 56 |
54 public boolean isKmUp() { | 57 public boolean isKmUp() { |
55 return this.kmup; | 58 return this.kmup; |
56 } | 59 } |
110 public Long getOfficialNumber() { | 113 public Long getOfficialNumber() { |
111 return this.officialnumber; | 114 return this.officialnumber; |
112 } | 115 } |
113 | 116 |
114 /** | 117 /** |
118 * Returns the model uuid of the river | |
119 * @return | |
120 */ | |
121 public String getModelUuid() { | |
122 return muuid; | |
123 } | |
124 | |
125 /** | |
115 * Returns the MeasurementStations on this river or null if they aren't | 126 * Returns the MeasurementStations on this river or null if they aren't |
116 * available. | 127 * available. |
117 */ | 128 */ |
118 @Override | 129 @Override |
119 public List<MeasurementStation> getMeasurementStations() { | 130 public List<MeasurementStation> getMeasurementStations() { |