Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Station.java @ 3334:2ae732e2c65c
FLYS backend: Removed trailing whitespace.
flys-backend/trunk@4669 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Fri, 15 Jun 2012 09:20:49 +0000 |
parents | aa8ed778c8cc |
children | 18619c1e7c2a |
comparison
equal
deleted
inserted
replaced
3333:76c75c8b9ee0 | 3334:2ae732e2c65c |
---|---|
19 * Station generated by hbm2java | 19 * Station generated by hbm2java |
20 */ | 20 */ |
21 @Entity | 21 @Entity |
22 @Table(name="STATION" | 22 @Table(name="STATION" |
23 ,schema="SEDDB" | 23 ,schema="SEDDB" |
24 , uniqueConstraints = @UniqueConstraint(columnNames={"GEWAESSERID", "NAME"}) | 24 , uniqueConstraints = @UniqueConstraint(columnNames={"GEWAESSERID", "NAME"}) |
25 ) | 25 ) |
26 public class Station implements java.io.Serializable { | 26 public class Station implements java.io.Serializable { |
27 | 27 |
28 | 28 |
29 private long stationid; | 29 private long stationid; |
82 this.sohltests = sohltests; | 82 this.sohltests = sohltests; |
83 this.hpeilungs = hpeilungs; | 83 this.hpeilungs = hpeilungs; |
84 this.mpeilungs = mpeilungs; | 84 this.mpeilungs = mpeilungs; |
85 this.messungs = messungs; | 85 this.messungs = messungs; |
86 } | 86 } |
87 | 87 |
88 @Id | 88 @Id |
89 | 89 |
90 | 90 |
91 @Column(name="STATIONID", unique=true, nullable=false, precision=11, scale=0) | 91 @Column(name="STATIONID", unique=true, nullable=false, precision=11, scale=0) |
92 public long getStationid() { | 92 public long getStationid() { |
93 return this.stationid; | 93 return this.stationid; |
94 } | 94 } |
95 | 95 |
96 public void setStationid(long stationid) { | 96 public void setStationid(long stationid) { |
97 this.stationid = stationid; | 97 this.stationid = stationid; |
98 } | 98 } |
99 | 99 |
100 @ManyToOne(fetch=FetchType.LAZY) | 100 @ManyToOne(fetch=FetchType.LAZY) |
101 @JoinColumn(name="BEZUGSPEGELID") | 101 @JoinColumn(name="BEZUGSPEGELID") |
102 public Bezugspegel getBezugspegel() { | 102 public Bezugspegel getBezugspegel() { |
103 return this.bezugspegel; | 103 return this.bezugspegel; |
104 } | 104 } |
105 | 105 |
106 public void setBezugspegel(Bezugspegel bezugspegel) { | 106 public void setBezugspegel(Bezugspegel bezugspegel) { |
107 this.bezugspegel = bezugspegel; | 107 this.bezugspegel = bezugspegel; |
108 } | 108 } |
109 | 109 |
110 @ManyToOne(fetch=FetchType.LAZY) | 110 @ManyToOne(fetch=FetchType.LAZY) |
111 @JoinColumn(name="GEWAESSERID", nullable=false) | 111 @JoinColumn(name="GEWAESSERID", nullable=false) |
112 public Gewaesser getGewaesser() { | 112 public Gewaesser getGewaesser() { |
113 return this.gewaesser; | 113 return this.gewaesser; |
114 } | 114 } |
115 | 115 |
116 public void setGewaesser(Gewaesser gewaesser) { | 116 public void setGewaesser(Gewaesser gewaesser) { |
117 this.gewaesser = gewaesser; | 117 this.gewaesser = gewaesser; |
118 } | 118 } |
119 | 119 |
120 | 120 |
121 @Column(name="KM", nullable=false, precision=8, scale=3) | 121 @Column(name="KM", nullable=false, precision=8, scale=3) |
122 public BigDecimal getKm() { | 122 public BigDecimal getKm() { |
123 return this.km; | 123 return this.km; |
124 } | 124 } |
125 | 125 |
126 public void setKm(BigDecimal km) { | 126 public void setKm(BigDecimal km) { |
127 this.km = km; | 127 this.km = km; |
128 } | 128 } |
129 | 129 |
130 | 130 |
131 @Column(name="NAME", nullable=false, length=50) | 131 @Column(name="NAME", nullable=false, length=50) |
132 public String getName() { | 132 public String getName() { |
133 return this.name; | 133 return this.name; |
134 } | 134 } |
135 | 135 |
136 public void setName(String name) { | 136 public void setName(String name) { |
137 this.name = name; | 137 this.name = name; |
138 } | 138 } |
139 | 139 |
140 | 140 |
141 @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0) | 141 @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0) |
142 public boolean isUferistlinks() { | 142 public boolean isUferistlinks() { |
143 return this.uferistlinks; | 143 return this.uferistlinks; |
144 } | 144 } |
145 | 145 |
146 public void setUferistlinks(boolean uferistlinks) { | 146 public void setUferistlinks(boolean uferistlinks) { |
147 this.uferistlinks = uferistlinks; | 147 this.uferistlinks = uferistlinks; |
148 } | 148 } |
149 | 149 |
150 | 150 |
151 @Column(name="TEIL_VON", precision=8, scale=3) | 151 @Column(name="TEIL_VON", precision=8, scale=3) |
152 public BigDecimal getTeilVon() { | 152 public BigDecimal getTeilVon() { |
153 return this.teilVon; | 153 return this.teilVon; |
154 } | 154 } |
155 | 155 |
156 public void setTeilVon(BigDecimal teilVon) { | 156 public void setTeilVon(BigDecimal teilVon) { |
157 this.teilVon = teilVon; | 157 this.teilVon = teilVon; |
158 } | 158 } |
159 | 159 |
160 | 160 |
161 @Column(name="TEIL_BIS", precision=8, scale=3) | 161 @Column(name="TEIL_BIS", precision=8, scale=3) |
162 public BigDecimal getTeilBis() { | 162 public BigDecimal getTeilBis() { |
163 return this.teilBis; | 163 return this.teilBis; |
164 } | 164 } |
165 | 165 |
166 public void setTeilBis(BigDecimal teilBis) { | 166 public void setTeilBis(BigDecimal teilBis) { |
167 this.teilBis = teilBis; | 167 this.teilBis = teilBis; |
168 } | 168 } |
169 | 169 |
170 | 170 |
171 @Column(name="ABST_HMST", precision=8, scale=3) | 171 @Column(name="ABST_HMST", precision=8, scale=3) |
172 public BigDecimal getAbstHmst() { | 172 public BigDecimal getAbstHmst() { |
173 return this.abstHmst; | 173 return this.abstHmst; |
174 } | 174 } |
175 | 175 |
176 public void setAbstHmst(BigDecimal abstHmst) { | 176 public void setAbstHmst(BigDecimal abstHmst) { |
177 this.abstHmst = abstHmst; | 177 this.abstHmst = abstHmst; |
178 } | 178 } |
179 | 179 |
180 | 180 |
181 @Column(name="L_HOCHWERT", precision=11, scale=3) | 181 @Column(name="L_HOCHWERT", precision=11, scale=3) |
182 public BigDecimal getLHochwert() { | 182 public BigDecimal getLHochwert() { |
183 return this.LHochwert; | 183 return this.LHochwert; |
184 } | 184 } |
185 | 185 |
186 public void setLHochwert(BigDecimal LHochwert) { | 186 public void setLHochwert(BigDecimal LHochwert) { |
187 this.LHochwert = LHochwert; | 187 this.LHochwert = LHochwert; |
188 } | 188 } |
189 | 189 |
190 | 190 |
191 @Column(name="L_RECHWERT", precision=11, scale=3) | 191 @Column(name="L_RECHWERT", precision=11, scale=3) |
192 public BigDecimal getLRechwert() { | 192 public BigDecimal getLRechwert() { |
193 return this.LRechwert; | 193 return this.LRechwert; |
194 } | 194 } |
195 | 195 |
196 public void setLRechwert(BigDecimal LRechwert) { | 196 public void setLRechwert(BigDecimal LRechwert) { |
197 this.LRechwert = LRechwert; | 197 this.LRechwert = LRechwert; |
198 } | 198 } |
199 | 199 |
200 | 200 |
201 @Column(name="L_NN", precision=8, scale=3) | 201 @Column(name="L_NN", precision=8, scale=3) |
202 public BigDecimal getLNn() { | 202 public BigDecimal getLNn() { |
203 return this.LNn; | 203 return this.LNn; |
204 } | 204 } |
205 | 205 |
206 public void setLNn(BigDecimal LNn) { | 206 public void setLNn(BigDecimal LNn) { |
207 this.LNn = LNn; | 207 this.LNn = LNn; |
208 } | 208 } |
209 | 209 |
210 | 210 |
211 @Column(name="R_HOCHWERT", precision=11, scale=3) | 211 @Column(name="R_HOCHWERT", precision=11, scale=3) |
212 public BigDecimal getRHochwert() { | 212 public BigDecimal getRHochwert() { |
213 return this.RHochwert; | 213 return this.RHochwert; |
214 } | 214 } |
215 | 215 |
216 public void setRHochwert(BigDecimal RHochwert) { | 216 public void setRHochwert(BigDecimal RHochwert) { |
217 this.RHochwert = RHochwert; | 217 this.RHochwert = RHochwert; |
218 } | 218 } |
219 | 219 |
220 | 220 |
221 @Column(name="R_RECHWERT", precision=11, scale=3) | 221 @Column(name="R_RECHWERT", precision=11, scale=3) |
222 public BigDecimal getRRechwert() { | 222 public BigDecimal getRRechwert() { |
223 return this.RRechwert; | 223 return this.RRechwert; |
224 } | 224 } |
225 | 225 |
226 public void setRRechwert(BigDecimal RRechwert) { | 226 public void setRRechwert(BigDecimal RRechwert) { |
227 this.RRechwert = RRechwert; | 227 this.RRechwert = RRechwert; |
228 } | 228 } |
229 | 229 |
230 | 230 |
231 @Column(name="R_NN", precision=8, scale=3) | 231 @Column(name="R_NN", precision=8, scale=3) |
232 public BigDecimal getRNn() { | 232 public BigDecimal getRNn() { |
233 return this.RNn; | 233 return this.RNn; |
234 } | 234 } |
235 | 235 |
236 public void setRNn(BigDecimal RNn) { | 236 public void setRNn(BigDecimal RNn) { |
237 this.RNn = RNn; | 237 this.RNn = RNn; |
238 } | 238 } |
239 | 239 |
240 | 240 |
241 @Column(name="BEMERKUNG", length=240) | 241 @Column(name="BEMERKUNG", length=240) |
242 public String getBemerkung() { | 242 public String getBemerkung() { |
243 return this.bemerkung; | 243 return this.bemerkung; |
244 } | 244 } |
245 | 245 |
246 public void setBemerkung(String bemerkung) { | 246 public void setBemerkung(String bemerkung) { |
247 this.bemerkung = bemerkung; | 247 this.bemerkung = bemerkung; |
248 } | 248 } |
249 | 249 |
250 | 250 |
251 @Column(name="OLDMSTID", precision=11, scale=0) | 251 @Column(name="OLDMSTID", precision=11, scale=0) |
252 public Long getOldmstid() { | 252 public Long getOldmstid() { |
253 return this.oldmstid; | 253 return this.oldmstid; |
254 } | 254 } |
255 | 255 |
256 public void setOldmstid(Long oldmstid) { | 256 public void setOldmstid(Long oldmstid) { |
257 this.oldmstid = oldmstid; | 257 this.oldmstid = oldmstid; |
258 } | 258 } |
259 | 259 |
260 | 260 |
261 @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0) | 261 @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0) |
262 public boolean isIstfeststoff() { | 262 public boolean isIstfeststoff() { |
263 return this.istfeststoff; | 263 return this.istfeststoff; |
264 } | 264 } |
265 | 265 |
266 public void setIstfeststoff(boolean istfeststoff) { | 266 public void setIstfeststoff(boolean istfeststoff) { |
267 this.istfeststoff = istfeststoff; | 267 this.istfeststoff = istfeststoff; |
268 } | 268 } |
269 | 269 |
270 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") | 270 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") |
271 public Set<Sohltest> getSohltests() { | 271 public Set<Sohltest> getSohltests() { |
272 return this.sohltests; | 272 return this.sohltests; |
273 } | 273 } |
274 | 274 |
275 public void setSohltests(Set<Sohltest> sohltests) { | 275 public void setSohltests(Set<Sohltest> sohltests) { |
276 this.sohltests = sohltests; | 276 this.sohltests = sohltests; |
277 } | 277 } |
278 | 278 |
279 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") | 279 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") |
280 public Set<Hpeilung> getHpeilungs() { | 280 public Set<Hpeilung> getHpeilungs() { |
281 return this.hpeilungs; | 281 return this.hpeilungs; |
282 } | 282 } |
283 | 283 |
284 public void setHpeilungs(Set<Hpeilung> hpeilungs) { | 284 public void setHpeilungs(Set<Hpeilung> hpeilungs) { |
285 this.hpeilungs = hpeilungs; | 285 this.hpeilungs = hpeilungs; |
286 } | 286 } |
287 | 287 |
288 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") | 288 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") |
289 public Set<Mpeilung> getMpeilungs() { | 289 public Set<Mpeilung> getMpeilungs() { |
290 return this.mpeilungs; | 290 return this.mpeilungs; |
291 } | 291 } |
292 | 292 |
293 public void setMpeilungs(Set<Mpeilung> mpeilungs) { | 293 public void setMpeilungs(Set<Mpeilung> mpeilungs) { |
294 this.mpeilungs = mpeilungs; | 294 this.mpeilungs = mpeilungs; |
295 } | 295 } |
296 | 296 |
297 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") | 297 @OneToMany(fetch=FetchType.LAZY, mappedBy="station") |
298 public Set<Messung> getMessungs() { | 298 public Set<Messung> getMessungs() { |
299 return this.messungs; | 299 return this.messungs; |
300 } | 300 } |
301 | 301 |
302 public void setMessungs(Set<Messung> messungs) { | 302 public void setMessungs(Set<Messung> messungs) { |
303 this.messungs = messungs; | 303 this.messungs = messungs; |
304 } | 304 } |
305 } | 305 } |