Mercurial > dive4elements > river
comparison gwt-client/src/main/java/org/dive4elements/river/client/shared/model/DefaultMeasurementStation.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 |
---|---|
24 private Integer id; | 24 private Integer id; |
25 private String moperator; | 25 private String moperator; |
26 private Date starttime; | 26 private Date starttime; |
27 private Date stoptime; | 27 private Date stoptime; |
28 private String gaugename; | 28 private String gaugename; |
29 private String comment; | |
29 | 30 |
30 public DefaultMeasurementStation() { | 31 public DefaultMeasurementStation() { |
31 } | 32 } |
32 | 33 |
33 public DefaultMeasurementStation( | 34 public DefaultMeasurementStation( |
39 String riverside, | 40 String riverside, |
40 String measurementtype, | 41 String measurementtype, |
41 String moperator, | 42 String moperator, |
42 Date starttime, | 43 Date starttime, |
43 Date stoptime, | 44 Date stoptime, |
44 String gaugename) | 45 String gaugename, |
45 { | 46 String comment |
47 ) { | |
46 this.rivername = rivername; | 48 this.rivername = rivername; |
47 this.name = name; | 49 this.name = name; |
48 this.start = start; | 50 this.start = start; |
49 this.end = end; | 51 this.end = end; |
50 this.riverside = riverside; | 52 this.riverside = riverside; |
52 this.id = id; | 54 this.id = id; |
53 this.moperator = moperator; | 55 this.moperator = moperator; |
54 this.starttime = starttime; | 56 this.starttime = starttime; |
55 this.stoptime = stoptime; | 57 this.stoptime = stoptime; |
56 this.gaugename = gaugename; | 58 this.gaugename = gaugename; |
59 this.comment = comment; | |
57 } | 60 } |
58 | 61 |
59 /** | 62 /** |
60 * Returns the name of the measurement station | 63 * Returns the name of the measurement station |
61 */ | 64 */ |
142 @Override | 145 @Override |
143 public String getGaugeName() { | 146 public String getGaugeName() { |
144 return this.gaugename; | 147 return this.gaugename; |
145 } | 148 } |
146 | 149 |
150 /** | |
151 * Returns the comment to this measurement station | |
152 */ | |
153 @Override | |
154 public String getComment() { | |
155 return this.comment; | |
156 } | |
147 } | 157 } |