Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/client/ui/stationinfo/MeasurementStationRecord.java @ 8417:71144e25a6c9
Add comment to measurement stations info.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Thu, 16 Oct 2014 13:39:22 +0200 |
parents | 17db08570637 |
children |
comparison
equal
deleted
inserted
replaced
8416:6399ebc6fce9 | 8417:71144e25a6c9 |
---|---|
50 this.setMeasurementType(station.getMeasurementType()); | 50 this.setMeasurementType(station.getMeasurementType()); |
51 this.setOperator(station.getOperator()); | 51 this.setOperator(station.getOperator()); |
52 this.setRiverSide(station.getRiverSide()); | 52 this.setRiverSide(station.getRiverSide()); |
53 this.setStartTime(station.getStartTime()); | 53 this.setStartTime(station.getStartTime()); |
54 this.setStopTime(station.getStopTime()); | 54 this.setStopTime(station.getStopTime()); |
55 this.setComment(station.getComment()); | |
55 } | 56 } |
56 | 57 |
57 @Override | 58 @Override |
58 public Integer getID() { | 59 public Integer getID() { |
59 return this.getAttributeAsInt("stationid"); | 60 return this.getAttributeAsInt("stationid"); |
151 | 152 |
152 private void setGaugeName(String value) { | 153 private void setGaugeName(String value) { |
153 this.setAttribute("gaugename", value); | 154 this.setAttribute("gaugename", value); |
154 } | 155 } |
155 | 156 |
157 @Override | |
158 public String getComment() { | |
159 return this.getAttributeAsString("comment"); | |
160 } | |
161 | |
162 private void setComment(String value) { | |
163 this.setAttribute("comment", value); | |
164 } | |
165 | |
156 public String getLink() { | 166 public String getLink() { |
157 return this.getAttributeAsString("link"); | 167 return this.getAttributeAsString("link"); |
158 } | 168 } |
159 | 169 |
160 public void setLink(String link) { | 170 public void setLink(String link) { |