Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Sohltest.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 |
---|---|
49 private Set<Sohlprobe> sohlprobes = new HashSet<Sohlprobe>(0); | 49 private Set<Sohlprobe> sohlprobes = new HashSet<Sohlprobe>(0); |
50 | 50 |
51 public Sohltest() { | 51 public Sohltest() { |
52 } | 52 } |
53 | 53 |
54 | 54 |
55 public Sohltest(long sohltestid, Station station, Date datum, boolean istnurjahr, BigDecimal abstand, boolean abstistvonlinks, boolean abstbezug, BigDecimal abstoffset, Date lastupdated) { | 55 public Sohltest(long sohltestid, Station station, Date datum, boolean istnurjahr, BigDecimal abstand, boolean abstistvonlinks, boolean abstbezug, BigDecimal abstoffset, Date lastupdated) { |
56 this.sohltestid = sohltestid; | 56 this.sohltestid = sohltestid; |
57 this.station = station; | 57 this.station = station; |
58 this.datum = datum; | 58 this.datum = datum; |
59 this.istnurjahr = istnurjahr; | 59 this.istnurjahr = istnurjahr; |
84 this.sondierungbeschreib = sondierungbeschreib; | 84 this.sondierungbeschreib = sondierungbeschreib; |
85 this.lastupdated = lastupdated; | 85 this.lastupdated = lastupdated; |
86 this.bilds = bilds; | 86 this.bilds = bilds; |
87 this.sohlprobes = sohlprobes; | 87 this.sohlprobes = sohlprobes; |
88 } | 88 } |
89 | 89 |
90 @Id | 90 @Id |
91 | 91 |
92 | 92 |
93 @Column(name="SOHLTESTID", unique=true, nullable=false, precision=11, scale=0) | 93 @Column(name="SOHLTESTID", unique=true, nullable=false, precision=11, scale=0) |
94 public long getSohltestid() { | 94 public long getSohltestid() { |
95 return this.sohltestid; | 95 return this.sohltestid; |
96 } | 96 } |
97 | 97 |
98 public void setSohltestid(long sohltestid) { | 98 public void setSohltestid(long sohltestid) { |
99 this.sohltestid = sohltestid; | 99 this.sohltestid = sohltestid; |
100 } | 100 } |
101 | 101 |
102 @ManyToOne(fetch=FetchType.LAZY) | 102 @ManyToOne(fetch=FetchType.LAZY) |
103 @JoinColumn(name="STATIONID", nullable=false) | 103 @JoinColumn(name="STATIONID", nullable=false) |
104 public Station getStation() { | 104 public Station getStation() { |
105 return this.station; | 105 return this.station; |
106 } | 106 } |
107 | 107 |
108 public void setStation(Station station) { | 108 public void setStation(Station station) { |
109 this.station = station; | 109 this.station = station; |
110 } | 110 } |
111 | 111 |
112 @ManyToOne(fetch=FetchType.LAZY) | 112 @ManyToOne(fetch=FetchType.LAZY) |
113 @JoinColumn(name="SONDIERUNGARTID") | 113 @JoinColumn(name="SONDIERUNGARTID") |
114 public Zzsondierungart getZzsondierungart() { | 114 public Zzsondierungart getZzsondierungart() { |
115 return this.zzsondierungart; | 115 return this.zzsondierungart; |
116 } | 116 } |
117 | 117 |
118 public void setZzsondierungart(Zzsondierungart zzsondierungart) { | 118 public void setZzsondierungart(Zzsondierungart zzsondierungart) { |
119 this.zzsondierungart = zzsondierungart; | 119 this.zzsondierungart = zzsondierungart; |
120 } | 120 } |
121 | 121 |
122 @ManyToOne(fetch=FetchType.LAZY) | 122 @ManyToOne(fetch=FetchType.LAZY) |
123 @JoinColumn(name="ARCHIVID") | 123 @JoinColumn(name="ARCHIVID") |
124 public Zzarchiv getZzarchiv() { | 124 public Zzarchiv getZzarchiv() { |
125 return this.zzarchiv; | 125 return this.zzarchiv; |
126 } | 126 } |
127 | 127 |
128 public void setZzarchiv(Zzarchiv zzarchiv) { | 128 public void setZzarchiv(Zzarchiv zzarchiv) { |
129 this.zzarchiv = zzarchiv; | 129 this.zzarchiv = zzarchiv; |
130 } | 130 } |
131 | 131 |
132 @Temporal(TemporalType.DATE) | 132 @Temporal(TemporalType.DATE) |
133 @Column(name="DATUM", nullable=false, length=7) | 133 @Column(name="DATUM", nullable=false, length=7) |
134 public Date getDatum() { | 134 public Date getDatum() { |
135 return this.datum; | 135 return this.datum; |
136 } | 136 } |
137 | 137 |
138 public void setDatum(Date datum) { | 138 public void setDatum(Date datum) { |
139 this.datum = datum; | 139 this.datum = datum; |
140 } | 140 } |
141 | 141 |
142 | 142 |
143 @Column(name="ISTNURJAHR", nullable=false, precision=1, scale=0) | 143 @Column(name="ISTNURJAHR", nullable=false, precision=1, scale=0) |
144 public boolean isIstnurjahr() { | 144 public boolean isIstnurjahr() { |
145 return this.istnurjahr; | 145 return this.istnurjahr; |
146 } | 146 } |
147 | 147 |
148 public void setIstnurjahr(boolean istnurjahr) { | 148 public void setIstnurjahr(boolean istnurjahr) { |
149 this.istnurjahr = istnurjahr; | 149 this.istnurjahr = istnurjahr; |
150 } | 150 } |
151 | 151 |
152 | 152 |
153 @Column(name="KM", precision=8, scale=3) | 153 @Column(name="KM", precision=8, scale=3) |
154 public BigDecimal getKm() { | 154 public BigDecimal getKm() { |
155 return this.km; | 155 return this.km; |
156 } | 156 } |
157 | 157 |
158 public void setKm(BigDecimal km) { | 158 public void setKm(BigDecimal km) { |
159 this.km = km; | 159 this.km = km; |
160 } | 160 } |
161 | 161 |
162 | 162 |
163 @Column(name="ABSTAND", nullable=false, precision=8, scale=3) | 163 @Column(name="ABSTAND", nullable=false, precision=8, scale=3) |
164 public BigDecimal getAbstand() { | 164 public BigDecimal getAbstand() { |
165 return this.abstand; | 165 return this.abstand; |
166 } | 166 } |
167 | 167 |
168 public void setAbstand(BigDecimal abstand) { | 168 public void setAbstand(BigDecimal abstand) { |
169 this.abstand = abstand; | 169 this.abstand = abstand; |
170 } | 170 } |
171 | 171 |
172 | 172 |
173 @Column(name="ABSTISTVONLINKS", nullable=false, precision=1, scale=0) | 173 @Column(name="ABSTISTVONLINKS", nullable=false, precision=1, scale=0) |
174 public boolean isAbstistvonlinks() { | 174 public boolean isAbstistvonlinks() { |
175 return this.abstistvonlinks; | 175 return this.abstistvonlinks; |
176 } | 176 } |
177 | 177 |
178 public void setAbstistvonlinks(boolean abstistvonlinks) { | 178 public void setAbstistvonlinks(boolean abstistvonlinks) { |
179 this.abstistvonlinks = abstistvonlinks; | 179 this.abstistvonlinks = abstistvonlinks; |
180 } | 180 } |
181 | 181 |
182 | 182 |
183 @Column(name="ABSTBEZUG", nullable=false, precision=1, scale=0) | 183 @Column(name="ABSTBEZUG", nullable=false, precision=1, scale=0) |
184 public boolean isAbstbezug() { | 184 public boolean isAbstbezug() { |
185 return this.abstbezug; | 185 return this.abstbezug; |
186 } | 186 } |
187 | 187 |
188 public void setAbstbezug(boolean abstbezug) { | 188 public void setAbstbezug(boolean abstbezug) { |
189 this.abstbezug = abstbezug; | 189 this.abstbezug = abstbezug; |
190 } | 190 } |
191 | 191 |
192 | 192 |
193 @Column(name="ABSTOFFSET", nullable=false, precision=8, scale=3) | 193 @Column(name="ABSTOFFSET", nullable=false, precision=8, scale=3) |
194 public BigDecimal getAbstoffset() { | 194 public BigDecimal getAbstoffset() { |
195 return this.abstoffset; | 195 return this.abstoffset; |
196 } | 196 } |
197 | 197 |
198 public void setAbstoffset(BigDecimal abstoffset) { | 198 public void setAbstoffset(BigDecimal abstoffset) { |
199 this.abstoffset = abstoffset; | 199 this.abstoffset = abstoffset; |
200 } | 200 } |
201 | 201 |
202 | 202 |
203 @Column(name="ABSTLINKS", precision=8, scale=3) | 203 @Column(name="ABSTLINKS", precision=8, scale=3) |
204 public BigDecimal getAbstlinks() { | 204 public BigDecimal getAbstlinks() { |
205 return this.abstlinks; | 205 return this.abstlinks; |
206 } | 206 } |
207 | 207 |
208 public void setAbstlinks(BigDecimal abstlinks) { | 208 public void setAbstlinks(BigDecimal abstlinks) { |
209 this.abstlinks = abstlinks; | 209 this.abstlinks = abstlinks; |
210 } | 210 } |
211 | 211 |
212 | 212 |
213 @Column(name="RECHTS", precision=11, scale=3) | 213 @Column(name="RECHTS", precision=11, scale=3) |
214 public BigDecimal getRechts() { | 214 public BigDecimal getRechts() { |
215 return this.rechts; | 215 return this.rechts; |
216 } | 216 } |
217 | 217 |
218 public void setRechts(BigDecimal rechts) { | 218 public void setRechts(BigDecimal rechts) { |
219 this.rechts = rechts; | 219 this.rechts = rechts; |
220 } | 220 } |
221 | 221 |
222 | 222 |
223 @Column(name="HOCH", precision=11, scale=3) | 223 @Column(name="HOCH", precision=11, scale=3) |
224 public BigDecimal getHoch() { | 224 public BigDecimal getHoch() { |
225 return this.hoch; | 225 return this.hoch; |
226 } | 226 } |
227 | 227 |
228 public void setHoch(BigDecimal hoch) { | 228 public void setHoch(BigDecimal hoch) { |
229 this.hoch = hoch; | 229 this.hoch = hoch; |
230 } | 230 } |
231 | 231 |
232 | 232 |
233 @Column(name="HOEHE", precision=8, scale=3) | 233 @Column(name="HOEHE", precision=8, scale=3) |
234 public BigDecimal getHoehe() { | 234 public BigDecimal getHoehe() { |
235 return this.hoehe; | 235 return this.hoehe; |
236 } | 236 } |
237 | 237 |
238 public void setHoehe(BigDecimal hoehe) { | 238 public void setHoehe(BigDecimal hoehe) { |
239 this.hoehe = hoehe; | 239 this.hoehe = hoehe; |
240 } | 240 } |
241 | 241 |
242 | 242 |
243 @Column(name="BEMERKUNG", length=240) | 243 @Column(name="BEMERKUNG", length=240) |
244 public String getBemerkung() { | 244 public String getBemerkung() { |
245 return this.bemerkung; | 245 return this.bemerkung; |
246 } | 246 } |
247 | 247 |
248 public void setBemerkung(String bemerkung) { | 248 public void setBemerkung(String bemerkung) { |
249 this.bemerkung = bemerkung; | 249 this.bemerkung = bemerkung; |
250 } | 250 } |
251 | 251 |
252 | 252 |
253 @Column(name="SOHLEBESCHREIB", length=1024) | 253 @Column(name="SOHLEBESCHREIB", length=1024) |
254 public String getSohlebeschreib() { | 254 public String getSohlebeschreib() { |
255 return this.sohlebeschreib; | 255 return this.sohlebeschreib; |
256 } | 256 } |
257 | 257 |
258 public void setSohlebeschreib(String sohlebeschreib) { | 258 public void setSohlebeschreib(String sohlebeschreib) { |
259 this.sohlebeschreib = sohlebeschreib; | 259 this.sohlebeschreib = sohlebeschreib; |
260 } | 260 } |
261 | 261 |
262 | 262 |
263 @Column(name="SONDIERUNGBESCHREIB", length=1024) | 263 @Column(name="SONDIERUNGBESCHREIB", length=1024) |
264 public String getSondierungbeschreib() { | 264 public String getSondierungbeschreib() { |
265 return this.sondierungbeschreib; | 265 return this.sondierungbeschreib; |
266 } | 266 } |
267 | 267 |
268 public void setSondierungbeschreib(String sondierungbeschreib) { | 268 public void setSondierungbeschreib(String sondierungbeschreib) { |
269 this.sondierungbeschreib = sondierungbeschreib; | 269 this.sondierungbeschreib = sondierungbeschreib; |
270 } | 270 } |
271 | 271 |
272 @Temporal(TemporalType.DATE) | 272 @Temporal(TemporalType.DATE) |
273 @Column(name="LASTUPDATED", nullable=false, length=7) | 273 @Column(name="LASTUPDATED", nullable=false, length=7) |
274 public Date getLastupdated() { | 274 public Date getLastupdated() { |
275 return this.lastupdated; | 275 return this.lastupdated; |
276 } | 276 } |
277 | 277 |
278 public void setLastupdated(Date lastupdated) { | 278 public void setLastupdated(Date lastupdated) { |
279 this.lastupdated = lastupdated; | 279 this.lastupdated = lastupdated; |
280 } | 280 } |
281 | 281 |
282 @OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest") | 282 @OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest") |
283 public Set<Bild> getBilds() { | 283 public Set<Bild> getBilds() { |
284 return this.bilds; | 284 return this.bilds; |
285 } | 285 } |
286 | 286 |
287 public void setBilds(Set<Bild> bilds) { | 287 public void setBilds(Set<Bild> bilds) { |
288 this.bilds = bilds; | 288 this.bilds = bilds; |
289 } | 289 } |
290 | 290 |
291 @OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest") | 291 @OneToMany(fetch=FetchType.LAZY, mappedBy="sohltest") |
292 public Set<Sohlprobe> getSohlprobes() { | 292 public Set<Sohlprobe> getSohlprobes() { |
293 return this.sohlprobes; | 293 return this.sohlprobes; |
294 } | 294 } |
295 | 295 |
296 public void setSohlprobes(Set<Sohlprobe> sohlprobes) { | 296 public void setSohlprobes(Set<Sohlprobe> sohlprobes) { |
297 this.sohlprobes = sohlprobes; | 297 this.sohlprobes = sohlprobes; |
298 } | 298 } |
299 } | 299 } |