comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/DefaultMeasurementStation.java @ 4325:7320830987a3

Add the gauge name to the MeasurementStation client class The reference gauge should be displayed in the measurement station info panel.
author Björn Ricks <bjoern.ricks@intevation.de>
date Tue, 30 Oct 2012 13:02:45 +0100
parents 82c1e911dd71
children
comparison
equal deleted inserted replaced
4324:4980659b2f22 4325:7320830987a3
17 private Integer id; 17 private Integer id;
18 private boolean kmup; 18 private boolean kmup;
19 private String moperator; 19 private String moperator;
20 private Date starttime; 20 private Date starttime;
21 private Date stoptime; 21 private Date stoptime;
22 private String gaugename;
22 23
23 public DefaultMeasurementStation() { 24 public DefaultMeasurementStation() {
24 } 25 }
25 26
26 public DefaultMeasurementStation( 27 public DefaultMeasurementStation(
33 boolean kmup, 34 boolean kmup,
34 String riverside, 35 String riverside,
35 String measurementtype, 36 String measurementtype,
36 String moperator, 37 String moperator,
37 Date starttime, 38 Date starttime,
38 Date stoptime) 39 Date stoptime,
40 String gaugename)
39 { 41 {
40 this.rivername = rivername; 42 this.rivername = rivername;
41 this.name = name; 43 this.name = name;
42 this.station = station; 44 this.station = station;
43 this.start = start; 45 this.start = start;
47 this.id = id; 49 this.id = id;
48 this.kmup = kmup; 50 this.kmup = kmup;
49 this.moperator = moperator; 51 this.moperator = moperator;
50 this.starttime = starttime; 52 this.starttime = starttime;
51 this.stoptime = stoptime; 53 this.stoptime = stoptime;
54 this.gaugename = gaugename;
52 } 55 }
53 56
54 /** 57 /**
55 * Returns the name of the measurement station 58 * Returns the name of the measurement station
56 */ 59 */
143 @Override 146 @Override
144 public Date getStopTime() { 147 public Date getStopTime() {
145 return this.stoptime; 148 return this.stoptime;
146 } 149 }
147 150
151 /**
152 * Returns the name of the gauge in reference to this measurement station
153 */
154 @Override
155 public String getGaugeName() {
156 return this.gaugename;
157 }
158
148 } 159 }

http://dive4elements.wald.intevation.org