Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/BezugspegelgewId.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 |
---|---|
66 this.hhqdatum = hhqdatum; | 66 this.hhqdatum = hhqdatum; |
67 this.jahresreihe = jahresreihe; | 67 this.jahresreihe = jahresreihe; |
68 this.bemerkung = bemerkung; | 68 this.bemerkung = bemerkung; |
69 this.gewname = gewname; | 69 this.gewname = gewname; |
70 } | 70 } |
71 | 71 |
72 | 72 |
73 | 73 |
74 @Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0) | 74 @Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0) |
75 public long getBezugspegelid() { | 75 public long getBezugspegelid() { |
76 return this.bezugspegelid; | 76 return this.bezugspegelid; |
77 } | 77 } |
78 | 78 |
79 public void setBezugspegelid(long bezugspegelid) { | 79 public void setBezugspegelid(long bezugspegelid) { |
80 this.bezugspegelid = bezugspegelid; | 80 this.bezugspegelid = bezugspegelid; |
81 } | 81 } |
82 | 82 |
83 | 83 |
84 @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) | 84 @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) |
85 public long getGewaesserid() { | 85 public long getGewaesserid() { |
86 return this.gewaesserid; | 86 return this.gewaesserid; |
87 } | 87 } |
88 | 88 |
89 public void setGewaesserid(long gewaesserid) { | 89 public void setGewaesserid(long gewaesserid) { |
90 this.gewaesserid = gewaesserid; | 90 this.gewaesserid = gewaesserid; |
91 } | 91 } |
92 | 92 |
93 | 93 |
94 @Column(name="KM", nullable=false, precision=8, scale=3) | 94 @Column(name="KM", nullable=false, precision=8, scale=3) |
95 public BigDecimal getKm() { | 95 public BigDecimal getKm() { |
96 return this.km; | 96 return this.km; |
97 } | 97 } |
98 | 98 |
99 public void setKm(BigDecimal km) { | 99 public void setKm(BigDecimal km) { |
100 this.km = km; | 100 this.km = km; |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 @Column(name="NAME", nullable=false, length=50) | 104 @Column(name="NAME", nullable=false, length=50) |
105 public String getName() { | 105 public String getName() { |
106 return this.name; | 106 return this.name; |
107 } | 107 } |
108 | 108 |
109 public void setName(String name) { | 109 public void setName(String name) { |
110 this.name = name; | 110 this.name = name; |
111 } | 111 } |
112 | 112 |
113 | 113 |
114 @Column(name="NULLPUNKT", nullable=false, precision=8, scale=3) | 114 @Column(name="NULLPUNKT", nullable=false, precision=8, scale=3) |
115 public BigDecimal getNullpunkt() { | 115 public BigDecimal getNullpunkt() { |
116 return this.nullpunkt; | 116 return this.nullpunkt; |
117 } | 117 } |
118 | 118 |
119 public void setNullpunkt(BigDecimal nullpunkt) { | 119 public void setNullpunkt(BigDecimal nullpunkt) { |
120 this.nullpunkt = nullpunkt; | 120 this.nullpunkt = nullpunkt; |
121 } | 121 } |
122 | 122 |
123 | 123 |
124 @Column(name="KENNUNG", length=16) | 124 @Column(name="KENNUNG", length=16) |
125 public String getKennung() { | 125 public String getKennung() { |
126 return this.kennung; | 126 return this.kennung; |
127 } | 127 } |
128 | 128 |
129 public void setKennung(String kennung) { | 129 public void setKennung(String kennung) { |
130 this.kennung = kennung; | 130 this.kennung = kennung; |
131 } | 131 } |
132 | 132 |
133 | 133 |
134 @Column(name="EINZUGSGEBIET", precision=10) | 134 @Column(name="EINZUGSGEBIET", precision=10) |
135 public BigDecimal getEinzugsgebiet() { | 135 public BigDecimal getEinzugsgebiet() { |
136 return this.einzugsgebiet; | 136 return this.einzugsgebiet; |
137 } | 137 } |
138 | 138 |
139 public void setEinzugsgebiet(BigDecimal einzugsgebiet) { | 139 public void setEinzugsgebiet(BigDecimal einzugsgebiet) { |
140 this.einzugsgebiet = einzugsgebiet; | 140 this.einzugsgebiet = einzugsgebiet; |
141 } | 141 } |
142 | 142 |
143 | 143 |
144 @Column(name="INBETRIEB", length=7) | 144 @Column(name="INBETRIEB", length=7) |
145 public Date getInbetrieb() { | 145 public Date getInbetrieb() { |
146 return this.inbetrieb; | 146 return this.inbetrieb; |
147 } | 147 } |
148 | 148 |
149 public void setInbetrieb(Date inbetrieb) { | 149 public void setInbetrieb(Date inbetrieb) { |
150 this.inbetrieb = inbetrieb; | 150 this.inbetrieb = inbetrieb; |
151 } | 151 } |
152 | 152 |
153 | 153 |
154 @Column(name="FLIESSCHARAKTER", length=3) | 154 @Column(name="FLIESSCHARAKTER", length=3) |
155 public String getFliesscharakter() { | 155 public String getFliesscharakter() { |
156 return this.fliesscharakter; | 156 return this.fliesscharakter; |
157 } | 157 } |
158 | 158 |
159 public void setFliesscharakter(String fliesscharakter) { | 159 public void setFliesscharakter(String fliesscharakter) { |
160 this.fliesscharakter = fliesscharakter; | 160 this.fliesscharakter = fliesscharakter; |
161 } | 161 } |
162 | 162 |
163 | 163 |
164 @Column(name="LAUFENTWICKLUNG", precision=7, scale=3) | 164 @Column(name="LAUFENTWICKLUNG", precision=7, scale=3) |
165 public BigDecimal getLaufentwicklung() { | 165 public BigDecimal getLaufentwicklung() { |
166 return this.laufentwicklung; | 166 return this.laufentwicklung; |
167 } | 167 } |
168 | 168 |
169 public void setLaufentwicklung(BigDecimal laufentwicklung) { | 169 public void setLaufentwicklung(BigDecimal laufentwicklung) { |
170 this.laufentwicklung = laufentwicklung; | 170 this.laufentwicklung = laufentwicklung; |
171 } | 171 } |
172 | 172 |
173 | 173 |
174 @Column(name="MNQ", precision=8, scale=3) | 174 @Column(name="MNQ", precision=8, scale=3) |
175 public BigDecimal getMnq() { | 175 public BigDecimal getMnq() { |
176 return this.mnq; | 176 return this.mnq; |
177 } | 177 } |
178 | 178 |
179 public void setMnq(BigDecimal mnq) { | 179 public void setMnq(BigDecimal mnq) { |
180 this.mnq = mnq; | 180 this.mnq = mnq; |
181 } | 181 } |
182 | 182 |
183 | 183 |
184 @Column(name="MQ", precision=8, scale=3) | 184 @Column(name="MQ", precision=8, scale=3) |
185 public BigDecimal getMq() { | 185 public BigDecimal getMq() { |
186 return this.mq; | 186 return this.mq; |
187 } | 187 } |
188 | 188 |
189 public void setMq(BigDecimal mq) { | 189 public void setMq(BigDecimal mq) { |
190 this.mq = mq; | 190 this.mq = mq; |
191 } | 191 } |
192 | 192 |
193 | 193 |
194 @Column(name="MHQ", precision=8, scale=3) | 194 @Column(name="MHQ", precision=8, scale=3) |
195 public BigDecimal getMhq() { | 195 public BigDecimal getMhq() { |
196 return this.mhq; | 196 return this.mhq; |
197 } | 197 } |
198 | 198 |
199 public void setMhq(BigDecimal mhq) { | 199 public void setMhq(BigDecimal mhq) { |
200 this.mhq = mhq; | 200 this.mhq = mhq; |
201 } | 201 } |
202 | 202 |
203 | 203 |
204 @Column(name="NNQ", precision=8, scale=3) | 204 @Column(name="NNQ", precision=8, scale=3) |
205 public BigDecimal getNnq() { | 205 public BigDecimal getNnq() { |
206 return this.nnq; | 206 return this.nnq; |
207 } | 207 } |
208 | 208 |
209 public void setNnq(BigDecimal nnq) { | 209 public void setNnq(BigDecimal nnq) { |
210 this.nnq = nnq; | 210 this.nnq = nnq; |
211 } | 211 } |
212 | 212 |
213 | 213 |
214 @Column(name="HHQ", precision=8, scale=3) | 214 @Column(name="HHQ", precision=8, scale=3) |
215 public BigDecimal getHhq() { | 215 public BigDecimal getHhq() { |
216 return this.hhq; | 216 return this.hhq; |
217 } | 217 } |
218 | 218 |
219 public void setHhq(BigDecimal hhq) { | 219 public void setHhq(BigDecimal hhq) { |
220 this.hhq = hhq; | 220 this.hhq = hhq; |
221 } | 221 } |
222 | 222 |
223 | 223 |
224 @Column(name="NNQDATUM", length=7) | 224 @Column(name="NNQDATUM", length=7) |
225 public Date getNnqdatum() { | 225 public Date getNnqdatum() { |
226 return this.nnqdatum; | 226 return this.nnqdatum; |
227 } | 227 } |
228 | 228 |
229 public void setNnqdatum(Date nnqdatum) { | 229 public void setNnqdatum(Date nnqdatum) { |
230 this.nnqdatum = nnqdatum; | 230 this.nnqdatum = nnqdatum; |
231 } | 231 } |
232 | 232 |
233 | 233 |
234 @Column(name="HHQDATUM", length=7) | 234 @Column(name="HHQDATUM", length=7) |
235 public Date getHhqdatum() { | 235 public Date getHhqdatum() { |
236 return this.hhqdatum; | 236 return this.hhqdatum; |
237 } | 237 } |
238 | 238 |
239 public void setHhqdatum(Date hhqdatum) { | 239 public void setHhqdatum(Date hhqdatum) { |
240 this.hhqdatum = hhqdatum; | 240 this.hhqdatum = hhqdatum; |
241 } | 241 } |
242 | 242 |
243 | 243 |
244 @Column(name="JAHRESREIHE", length=12) | 244 @Column(name="JAHRESREIHE", length=12) |
245 public String getJahresreihe() { | 245 public String getJahresreihe() { |
246 return this.jahresreihe; | 246 return this.jahresreihe; |
247 } | 247 } |
248 | 248 |
249 public void setJahresreihe(String jahresreihe) { | 249 public void setJahresreihe(String jahresreihe) { |
250 this.jahresreihe = jahresreihe; | 250 this.jahresreihe = jahresreihe; |
251 } | 251 } |
252 | 252 |
253 | 253 |
254 @Column(name="BEMERKUNG", length=240) | 254 @Column(name="BEMERKUNG", length=240) |
255 public String getBemerkung() { | 255 public String getBemerkung() { |
256 return this.bemerkung; | 256 return this.bemerkung; |
257 } | 257 } |
258 | 258 |
259 public void setBemerkung(String bemerkung) { | 259 public void setBemerkung(String bemerkung) { |
260 this.bemerkung = bemerkung; | 260 this.bemerkung = bemerkung; |
261 } | 261 } |
262 | 262 |
263 | 263 |
264 @Column(name="GEWNAME", nullable=false, length=20) | 264 @Column(name="GEWNAME", nullable=false, length=20) |
265 public String getGewname() { | 265 public String getGewname() { |
266 return this.gewname; | 266 return this.gewname; |
267 } | 267 } |
268 | 268 |
269 public void setGewname(String gewname) { | 269 public void setGewname(String gewname) { |
270 this.gewname = gewname; | 270 this.gewname = gewname; |
271 } | 271 } |
272 | 272 |
273 | 273 |
274 public boolean equals(Object other) { | 274 public boolean equals(Object other) { |
275 if ( (this == other ) ) return true; | 275 if ( (this == other ) ) return true; |
276 if ( (other == null ) ) return false; | 276 if ( (other == null ) ) return false; |
277 if ( !(other instanceof BezugspegelgewId) ) return false; | 277 if ( !(other instanceof BezugspegelgewId) ) return false; |
278 BezugspegelgewId castOther = ( BezugspegelgewId ) other; | 278 BezugspegelgewId castOther = ( BezugspegelgewId ) other; |
279 | 279 |
280 return (this.getBezugspegelid()==castOther.getBezugspegelid()) | 280 return (this.getBezugspegelid()==castOther.getBezugspegelid()) |
281 && (this.getGewaesserid()==castOther.getGewaesserid()) | 281 && (this.getGewaesserid()==castOther.getGewaesserid()) |
282 && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) ) | 282 && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) ) |
283 && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) ) | 283 && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) ) |
284 && ( (this.getNullpunkt()==castOther.getNullpunkt()) || ( this.getNullpunkt()!=null && castOther.getNullpunkt()!=null && this.getNullpunkt().equals(castOther.getNullpunkt()) ) ) | 284 && ( (this.getNullpunkt()==castOther.getNullpunkt()) || ( this.getNullpunkt()!=null && castOther.getNullpunkt()!=null && this.getNullpunkt().equals(castOther.getNullpunkt()) ) ) |
296 && ( (this.getHhqdatum()==castOther.getHhqdatum()) || ( this.getHhqdatum()!=null && castOther.getHhqdatum()!=null && this.getHhqdatum().equals(castOther.getHhqdatum()) ) ) | 296 && ( (this.getHhqdatum()==castOther.getHhqdatum()) || ( this.getHhqdatum()!=null && castOther.getHhqdatum()!=null && this.getHhqdatum().equals(castOther.getHhqdatum()) ) ) |
297 && ( (this.getJahresreihe()==castOther.getJahresreihe()) || ( this.getJahresreihe()!=null && castOther.getJahresreihe()!=null && this.getJahresreihe().equals(castOther.getJahresreihe()) ) ) | 297 && ( (this.getJahresreihe()==castOther.getJahresreihe()) || ( this.getJahresreihe()!=null && castOther.getJahresreihe()!=null && this.getJahresreihe().equals(castOther.getJahresreihe()) ) ) |
298 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) | 298 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) |
299 && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) ); | 299 && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) ); |
300 } | 300 } |
301 | 301 |
302 public int hashCode() { | 302 public int hashCode() { |
303 int result = 17; | 303 int result = 17; |
304 | 304 |
305 result = 37 * result + (int) this.getBezugspegelid(); | 305 result = 37 * result + (int) this.getBezugspegelid(); |
306 result = 37 * result + (int) this.getGewaesserid(); | 306 result = 37 * result + (int) this.getGewaesserid(); |
307 result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() ); | 307 result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() ); |
308 result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() ); | 308 result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() ); |
309 result = 37 * result + ( getNullpunkt() == null ? 0 : this.getNullpunkt().hashCode() ); | 309 result = 37 * result + ( getNullpunkt() == null ? 0 : this.getNullpunkt().hashCode() ); |
321 result = 37 * result + ( getHhqdatum() == null ? 0 : this.getHhqdatum().hashCode() ); | 321 result = 37 * result + ( getHhqdatum() == null ? 0 : this.getHhqdatum().hashCode() ); |
322 result = 37 * result + ( getJahresreihe() == null ? 0 : this.getJahresreihe().hashCode() ); | 322 result = 37 * result + ( getJahresreihe() == null ? 0 : this.getJahresreihe().hashCode() ); |
323 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); | 323 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); |
324 result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() ); | 324 result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() ); |
325 return result; | 325 return result; |
326 } | 326 } |
327 } | 327 } |