comparison backend/src/main/java/de/intevation/seddb/model/BezugspegelgewId.java @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-backend/src/main/java/de/intevation/seddb/model/BezugspegelgewId.java@18619c1e7c2a
children 4dd33b86dc61
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.seddb.model;
2 // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
3
4
5 import java.math.BigDecimal;
6 import java.util.Date;
7 import javax.persistence.Column;
8 import javax.persistence.Embeddable;
9
10 /**
11 * BezugspegelgewId generated by hbm2java
12 */
13 @Embeddable
14 public class BezugspegelgewId implements java.io.Serializable {
15
16
17 private long bezugspegelid;
18 private long gewaesserid;
19 private BigDecimal km;
20 private String name;
21 private BigDecimal nullpunkt;
22 private String kennung;
23 private BigDecimal einzugsgebiet;
24 private Date inbetrieb;
25 private String fliesscharakter;
26 private BigDecimal laufentwicklung;
27 private BigDecimal mnq;
28 private BigDecimal mq;
29 private BigDecimal mhq;
30 private BigDecimal nnq;
31 private BigDecimal hhq;
32 private Date nnqdatum;
33 private Date hhqdatum;
34 private String jahresreihe;
35 private String bemerkung;
36 private String gewname;
37
38 public BezugspegelgewId() {
39 }
40
41 public BezugspegelgewId(long bezugspegelid, long gewaesserid, BigDecimal km, String name, BigDecimal nullpunkt, String gewname) {
42 this.bezugspegelid = bezugspegelid;
43 this.gewaesserid = gewaesserid;
44 this.km = km;
45 this.name = name;
46 this.nullpunkt = nullpunkt;
47 this.gewname = gewname;
48 }
49 public BezugspegelgewId(long bezugspegelid, long gewaesserid, BigDecimal km, String name, BigDecimal nullpunkt, String kennung, BigDecimal einzugsgebiet, Date inbetrieb, String fliesscharakter, BigDecimal laufentwicklung, BigDecimal mnq, BigDecimal mq, BigDecimal mhq, BigDecimal nnq, BigDecimal hhq, Date nnqdatum, Date hhqdatum, String jahresreihe, String bemerkung, String gewname) {
50 this.bezugspegelid = bezugspegelid;
51 this.gewaesserid = gewaesserid;
52 this.km = km;
53 this.name = name;
54 this.nullpunkt = nullpunkt;
55 this.kennung = kennung;
56 this.einzugsgebiet = einzugsgebiet;
57 this.inbetrieb = inbetrieb;
58 this.fliesscharakter = fliesscharakter;
59 this.laufentwicklung = laufentwicklung;
60 this.mnq = mnq;
61 this.mq = mq;
62 this.mhq = mhq;
63 this.nnq = nnq;
64 this.hhq = hhq;
65 this.nnqdatum = nnqdatum;
66 this.hhqdatum = hhqdatum;
67 this.jahresreihe = jahresreihe;
68 this.bemerkung = bemerkung;
69 this.gewname = gewname;
70 }
71
72
73
74 @Column(name="BEZUGSPEGELID", nullable=false, precision=11, scale=0)
75 public long getBezugspegelid() {
76 return this.bezugspegelid;
77 }
78
79 public void setBezugspegelid(long bezugspegelid) {
80 this.bezugspegelid = bezugspegelid;
81 }
82
83
84 @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0)
85 public long getGewaesserid() {
86 return this.gewaesserid;
87 }
88
89 public void setGewaesserid(long gewaesserid) {
90 this.gewaesserid = gewaesserid;
91 }
92
93
94 @Column(name="KM", nullable=false, precision=8, scale=3)
95 public BigDecimal getKm() {
96 return this.km;
97 }
98
99 public void setKm(BigDecimal km) {
100 this.km = km;
101 }
102
103
104 @Column(name="NAME", nullable=false, length=50)
105 public String getName() {
106 return this.name;
107 }
108
109 public void setName(String name) {
110 this.name = name;
111 }
112
113
114 @Column(name="NULLPUNKT", nullable=false, precision=8, scale=3)
115 public BigDecimal getNullpunkt() {
116 return this.nullpunkt;
117 }
118
119 public void setNullpunkt(BigDecimal nullpunkt) {
120 this.nullpunkt = nullpunkt;
121 }
122
123
124 @Column(name="KENNUNG", length=16)
125 public String getKennung() {
126 return this.kennung;
127 }
128
129 public void setKennung(String kennung) {
130 this.kennung = kennung;
131 }
132
133
134 @Column(name="EINZUGSGEBIET", precision=10)
135 public BigDecimal getEinzugsgebiet() {
136 return this.einzugsgebiet;
137 }
138
139 public void setEinzugsgebiet(BigDecimal einzugsgebiet) {
140 this.einzugsgebiet = einzugsgebiet;
141 }
142
143
144 @Column(name="INBETRIEB", length=7)
145 public Date getInbetrieb() {
146 return this.inbetrieb;
147 }
148
149 public void setInbetrieb(Date inbetrieb) {
150 this.inbetrieb = inbetrieb;
151 }
152
153
154 @Column(name="FLIESSCHARAKTER", length=3)
155 public String getFliesscharakter() {
156 return this.fliesscharakter;
157 }
158
159 public void setFliesscharakter(String fliesscharakter) {
160 this.fliesscharakter = fliesscharakter;
161 }
162
163
164 @Column(name="LAUFENTWICKLUNG", precision=7, scale=3)
165 public BigDecimal getLaufentwicklung() {
166 return this.laufentwicklung;
167 }
168
169 public void setLaufentwicklung(BigDecimal laufentwicklung) {
170 this.laufentwicklung = laufentwicklung;
171 }
172
173
174 @Column(name="MNQ", precision=8, scale=3)
175 public BigDecimal getMnq() {
176 return this.mnq;
177 }
178
179 public void setMnq(BigDecimal mnq) {
180 this.mnq = mnq;
181 }
182
183
184 @Column(name="MQ", precision=8, scale=3)
185 public BigDecimal getMq() {
186 return this.mq;
187 }
188
189 public void setMq(BigDecimal mq) {
190 this.mq = mq;
191 }
192
193
194 @Column(name="MHQ", precision=8, scale=3)
195 public BigDecimal getMhq() {
196 return this.mhq;
197 }
198
199 public void setMhq(BigDecimal mhq) {
200 this.mhq = mhq;
201 }
202
203
204 @Column(name="NNQ", precision=8, scale=3)
205 public BigDecimal getNnq() {
206 return this.nnq;
207 }
208
209 public void setNnq(BigDecimal nnq) {
210 this.nnq = nnq;
211 }
212
213
214 @Column(name="HHQ", precision=8, scale=3)
215 public BigDecimal getHhq() {
216 return this.hhq;
217 }
218
219 public void setHhq(BigDecimal hhq) {
220 this.hhq = hhq;
221 }
222
223
224 @Column(name="NNQDATUM", length=7)
225 public Date getNnqdatum() {
226 return this.nnqdatum;
227 }
228
229 public void setNnqdatum(Date nnqdatum) {
230 this.nnqdatum = nnqdatum;
231 }
232
233
234 @Column(name="HHQDATUM", length=7)
235 public Date getHhqdatum() {
236 return this.hhqdatum;
237 }
238
239 public void setHhqdatum(Date hhqdatum) {
240 this.hhqdatum = hhqdatum;
241 }
242
243
244 @Column(name="JAHRESREIHE", length=12)
245 public String getJahresreihe() {
246 return this.jahresreihe;
247 }
248
249 public void setJahresreihe(String jahresreihe) {
250 this.jahresreihe = jahresreihe;
251 }
252
253
254 @Column(name="BEMERKUNG", length=240)
255 public String getBemerkung() {
256 return this.bemerkung;
257 }
258
259 public void setBemerkung(String bemerkung) {
260 this.bemerkung = bemerkung;
261 }
262
263
264 @Column(name="GEWNAME", nullable=false, length=20)
265 public String getGewname() {
266 return this.gewname;
267 }
268
269 public void setGewname(String gewname) {
270 this.gewname = gewname;
271 }
272
273
274 public boolean equals(Object other) {
275 if ( (this == other ) ) return true;
276 if ( (other == null ) ) return false;
277 if ( !(other instanceof BezugspegelgewId) ) return false;
278 BezugspegelgewId castOther = ( BezugspegelgewId ) other;
279
280 return (this.getBezugspegelid()==castOther.getBezugspegelid())
281 && (this.getGewaesserid()==castOther.getGewaesserid())
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()) ) )
284 && ( (this.getNullpunkt()==castOther.getNullpunkt()) || ( this.getNullpunkt()!=null && castOther.getNullpunkt()!=null && this.getNullpunkt().equals(castOther.getNullpunkt()) ) )
285 && ( (this.getKennung()==castOther.getKennung()) || ( this.getKennung()!=null && castOther.getKennung()!=null && this.getKennung().equals(castOther.getKennung()) ) )
286 && ( (this.getEinzugsgebiet()==castOther.getEinzugsgebiet()) || ( this.getEinzugsgebiet()!=null && castOther.getEinzugsgebiet()!=null && this.getEinzugsgebiet().equals(castOther.getEinzugsgebiet()) ) )
287 && ( (this.getInbetrieb()==castOther.getInbetrieb()) || ( this.getInbetrieb()!=null && castOther.getInbetrieb()!=null && this.getInbetrieb().equals(castOther.getInbetrieb()) ) )
288 && ( (this.getFliesscharakter()==castOther.getFliesscharakter()) || ( this.getFliesscharakter()!=null && castOther.getFliesscharakter()!=null && this.getFliesscharakter().equals(castOther.getFliesscharakter()) ) )
289 && ( (this.getLaufentwicklung()==castOther.getLaufentwicklung()) || ( this.getLaufentwicklung()!=null && castOther.getLaufentwicklung()!=null && this.getLaufentwicklung().equals(castOther.getLaufentwicklung()) ) )
290 && ( (this.getMnq()==castOther.getMnq()) || ( this.getMnq()!=null && castOther.getMnq()!=null && this.getMnq().equals(castOther.getMnq()) ) )
291 && ( (this.getMq()==castOther.getMq()) || ( this.getMq()!=null && castOther.getMq()!=null && this.getMq().equals(castOther.getMq()) ) )
292 && ( (this.getMhq()==castOther.getMhq()) || ( this.getMhq()!=null && castOther.getMhq()!=null && this.getMhq().equals(castOther.getMhq()) ) )
293 && ( (this.getNnq()==castOther.getNnq()) || ( this.getNnq()!=null && castOther.getNnq()!=null && this.getNnq().equals(castOther.getNnq()) ) )
294 && ( (this.getHhq()==castOther.getHhq()) || ( this.getHhq()!=null && castOther.getHhq()!=null && this.getHhq().equals(castOther.getHhq()) ) )
295 && ( (this.getNnqdatum()==castOther.getNnqdatum()) || ( this.getNnqdatum()!=null && castOther.getNnqdatum()!=null && this.getNnqdatum().equals(castOther.getNnqdatum()) ) )
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()) ) )
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()) ) );
300 }
301
302 public int hashCode() {
303 int result = 17;
304
305 result = 37 * result + (int) this.getBezugspegelid();
306 result = 37 * result + (int) this.getGewaesserid();
307 result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
308 result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() );
309 result = 37 * result + ( getNullpunkt() == null ? 0 : this.getNullpunkt().hashCode() );
310 result = 37 * result + ( getKennung() == null ? 0 : this.getKennung().hashCode() );
311 result = 37 * result + ( getEinzugsgebiet() == null ? 0 : this.getEinzugsgebiet().hashCode() );
312 result = 37 * result + ( getInbetrieb() == null ? 0 : this.getInbetrieb().hashCode() );
313 result = 37 * result + ( getFliesscharakter() == null ? 0 : this.getFliesscharakter().hashCode() );
314 result = 37 * result + ( getLaufentwicklung() == null ? 0 : this.getLaufentwicklung().hashCode() );
315 result = 37 * result + ( getMnq() == null ? 0 : this.getMnq().hashCode() );
316 result = 37 * result + ( getMq() == null ? 0 : this.getMq().hashCode() );
317 result = 37 * result + ( getMhq() == null ? 0 : this.getMhq().hashCode() );
318 result = 37 * result + ( getNnq() == null ? 0 : this.getNnq().hashCode() );
319 result = 37 * result + ( getHhq() == null ? 0 : this.getHhq().hashCode() );
320 result = 37 * result + ( getNnqdatum() == null ? 0 : this.getNnqdatum().hashCode() );
321 result = 37 * result + ( getHhqdatum() == null ? 0 : this.getHhqdatum().hashCode() );
322 result = 37 * result + ( getJahresreihe() == null ? 0 : this.getJahresreihe().hashCode() );
323 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
324 result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
325 return result;
326 }
327 }

http://dive4elements.wald.intevation.org