comparison flys-backend/src/main/java/de/intevation/seddb/model/StationgewId.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
64 this.bemerkung = bemerkung; 64 this.bemerkung = bemerkung;
65 this.oldmstid = oldmstid; 65 this.oldmstid = oldmstid;
66 this.istfeststoff = istfeststoff; 66 this.istfeststoff = istfeststoff;
67 this.gewname = gewname; 67 this.gewname = gewname;
68 } 68 }
69 69
70 70
71 71
72 @Column(name="STATIONID", nullable=false, precision=11, scale=0) 72 @Column(name="STATIONID", nullable=false, precision=11, scale=0)
73 public long getStationid() { 73 public long getStationid() {
74 return this.stationid; 74 return this.stationid;
75 } 75 }
76 76
77 public void setStationid(long stationid) { 77 public void setStationid(long stationid) {
78 this.stationid = stationid; 78 this.stationid = stationid;
79 } 79 }
80 80
81 81
82 @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0) 82 @Column(name="GEWAESSERID", nullable=false, precision=11, scale=0)
83 public long getGewaesserid() { 83 public long getGewaesserid() {
84 return this.gewaesserid; 84 return this.gewaesserid;
85 } 85 }
86 86
87 public void setGewaesserid(long gewaesserid) { 87 public void setGewaesserid(long gewaesserid) {
88 this.gewaesserid = gewaesserid; 88 this.gewaesserid = gewaesserid;
89 } 89 }
90 90
91 91
92 @Column(name="KM", nullable=false, precision=8, scale=3) 92 @Column(name="KM", nullable=false, precision=8, scale=3)
93 public BigDecimal getKm() { 93 public BigDecimal getKm() {
94 return this.km; 94 return this.km;
95 } 95 }
96 96
97 public void setKm(BigDecimal km) { 97 public void setKm(BigDecimal km) {
98 this.km = km; 98 this.km = km;
99 } 99 }
100 100
101 101
102 @Column(name="BEZUGSPEGELID", precision=11, scale=0) 102 @Column(name="BEZUGSPEGELID", precision=11, scale=0)
103 public Long getBezugspegelid() { 103 public Long getBezugspegelid() {
104 return this.bezugspegelid; 104 return this.bezugspegelid;
105 } 105 }
106 106
107 public void setBezugspegelid(Long bezugspegelid) { 107 public void setBezugspegelid(Long bezugspegelid) {
108 this.bezugspegelid = bezugspegelid; 108 this.bezugspegelid = bezugspegelid;
109 } 109 }
110 110
111 111
112 @Column(name="NAME", nullable=false, length=50) 112 @Column(name="NAME", nullable=false, length=50)
113 public String getName() { 113 public String getName() {
114 return this.name; 114 return this.name;
115 } 115 }
116 116
117 public void setName(String name) { 117 public void setName(String name) {
118 this.name = name; 118 this.name = name;
119 } 119 }
120 120
121 121
122 @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0) 122 @Column(name="UFERISTLINKS", nullable=false, precision=1, scale=0)
123 public boolean isUferistlinks() { 123 public boolean isUferistlinks() {
124 return this.uferistlinks; 124 return this.uferistlinks;
125 } 125 }
126 126
127 public void setUferistlinks(boolean uferistlinks) { 127 public void setUferistlinks(boolean uferistlinks) {
128 this.uferistlinks = uferistlinks; 128 this.uferistlinks = uferistlinks;
129 } 129 }
130 130
131 131
132 @Column(name="TEIL_VON", precision=8, scale=3) 132 @Column(name="TEIL_VON", precision=8, scale=3)
133 public BigDecimal getTeilVon() { 133 public BigDecimal getTeilVon() {
134 return this.teilVon; 134 return this.teilVon;
135 } 135 }
136 136
137 public void setTeilVon(BigDecimal teilVon) { 137 public void setTeilVon(BigDecimal teilVon) {
138 this.teilVon = teilVon; 138 this.teilVon = teilVon;
139 } 139 }
140 140
141 141
142 @Column(name="TEIL_BIS", precision=8, scale=3) 142 @Column(name="TEIL_BIS", precision=8, scale=3)
143 public BigDecimal getTeilBis() { 143 public BigDecimal getTeilBis() {
144 return this.teilBis; 144 return this.teilBis;
145 } 145 }
146 146
147 public void setTeilBis(BigDecimal teilBis) { 147 public void setTeilBis(BigDecimal teilBis) {
148 this.teilBis = teilBis; 148 this.teilBis = teilBis;
149 } 149 }
150 150
151 151
152 @Column(name="ABST_HMST", precision=8, scale=3) 152 @Column(name="ABST_HMST", precision=8, scale=3)
153 public BigDecimal getAbstHmst() { 153 public BigDecimal getAbstHmst() {
154 return this.abstHmst; 154 return this.abstHmst;
155 } 155 }
156 156
157 public void setAbstHmst(BigDecimal abstHmst) { 157 public void setAbstHmst(BigDecimal abstHmst) {
158 this.abstHmst = abstHmst; 158 this.abstHmst = abstHmst;
159 } 159 }
160 160
161 161
162 @Column(name="L_HOCHWERT", precision=11, scale=3) 162 @Column(name="L_HOCHWERT", precision=11, scale=3)
163 public BigDecimal getLHochwert() { 163 public BigDecimal getLHochwert() {
164 return this.LHochwert; 164 return this.LHochwert;
165 } 165 }
166 166
167 public void setLHochwert(BigDecimal LHochwert) { 167 public void setLHochwert(BigDecimal LHochwert) {
168 this.LHochwert = LHochwert; 168 this.LHochwert = LHochwert;
169 } 169 }
170 170
171 171
172 @Column(name="L_RECHWERT", precision=11, scale=3) 172 @Column(name="L_RECHWERT", precision=11, scale=3)
173 public BigDecimal getLRechwert() { 173 public BigDecimal getLRechwert() {
174 return this.LRechwert; 174 return this.LRechwert;
175 } 175 }
176 176
177 public void setLRechwert(BigDecimal LRechwert) { 177 public void setLRechwert(BigDecimal LRechwert) {
178 this.LRechwert = LRechwert; 178 this.LRechwert = LRechwert;
179 } 179 }
180 180
181 181
182 @Column(name="L_NN", precision=8, scale=3) 182 @Column(name="L_NN", precision=8, scale=3)
183 public BigDecimal getLNn() { 183 public BigDecimal getLNn() {
184 return this.LNn; 184 return this.LNn;
185 } 185 }
186 186
187 public void setLNn(BigDecimal LNn) { 187 public void setLNn(BigDecimal LNn) {
188 this.LNn = LNn; 188 this.LNn = LNn;
189 } 189 }
190 190
191 191
192 @Column(name="R_HOCHWERT", precision=11, scale=3) 192 @Column(name="R_HOCHWERT", precision=11, scale=3)
193 public BigDecimal getRHochwert() { 193 public BigDecimal getRHochwert() {
194 return this.RHochwert; 194 return this.RHochwert;
195 } 195 }
196 196
197 public void setRHochwert(BigDecimal RHochwert) { 197 public void setRHochwert(BigDecimal RHochwert) {
198 this.RHochwert = RHochwert; 198 this.RHochwert = RHochwert;
199 } 199 }
200 200
201 201
202 @Column(name="R_RECHWERT", precision=11, scale=3) 202 @Column(name="R_RECHWERT", precision=11, scale=3)
203 public BigDecimal getRRechwert() { 203 public BigDecimal getRRechwert() {
204 return this.RRechwert; 204 return this.RRechwert;
205 } 205 }
206 206
207 public void setRRechwert(BigDecimal RRechwert) { 207 public void setRRechwert(BigDecimal RRechwert) {
208 this.RRechwert = RRechwert; 208 this.RRechwert = RRechwert;
209 } 209 }
210 210
211 211
212 @Column(name="R_NN", precision=8, scale=3) 212 @Column(name="R_NN", precision=8, scale=3)
213 public BigDecimal getRNn() { 213 public BigDecimal getRNn() {
214 return this.RNn; 214 return this.RNn;
215 } 215 }
216 216
217 public void setRNn(BigDecimal RNn) { 217 public void setRNn(BigDecimal RNn) {
218 this.RNn = RNn; 218 this.RNn = RNn;
219 } 219 }
220 220
221 221
222 @Column(name="BEMERKUNG", length=240) 222 @Column(name="BEMERKUNG", length=240)
223 public String getBemerkung() { 223 public String getBemerkung() {
224 return this.bemerkung; 224 return this.bemerkung;
225 } 225 }
226 226
227 public void setBemerkung(String bemerkung) { 227 public void setBemerkung(String bemerkung) {
228 this.bemerkung = bemerkung; 228 this.bemerkung = bemerkung;
229 } 229 }
230 230
231 231
232 @Column(name="OLDMSTID", precision=11, scale=0) 232 @Column(name="OLDMSTID", precision=11, scale=0)
233 public Long getOldmstid() { 233 public Long getOldmstid() {
234 return this.oldmstid; 234 return this.oldmstid;
235 } 235 }
236 236
237 public void setOldmstid(Long oldmstid) { 237 public void setOldmstid(Long oldmstid) {
238 this.oldmstid = oldmstid; 238 this.oldmstid = oldmstid;
239 } 239 }
240 240
241 241
242 @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0) 242 @Column(name="ISTFESTSTOFF", nullable=false, precision=1, scale=0)
243 public boolean isIstfeststoff() { 243 public boolean isIstfeststoff() {
244 return this.istfeststoff; 244 return this.istfeststoff;
245 } 245 }
246 246
247 public void setIstfeststoff(boolean istfeststoff) { 247 public void setIstfeststoff(boolean istfeststoff) {
248 this.istfeststoff = istfeststoff; 248 this.istfeststoff = istfeststoff;
249 } 249 }
250 250
251 251
252 @Column(name="GEWNAME", nullable=false, length=20) 252 @Column(name="GEWNAME", nullable=false, length=20)
253 public String getGewname() { 253 public String getGewname() {
254 return this.gewname; 254 return this.gewname;
255 } 255 }
256 256
257 public void setGewname(String gewname) { 257 public void setGewname(String gewname) {
258 this.gewname = gewname; 258 this.gewname = gewname;
259 } 259 }
260 260
261 261
262 public boolean equals(Object other) { 262 public boolean equals(Object other) {
263 if ( (this == other ) ) return true; 263 if ( (this == other ) ) return true;
264 if ( (other == null ) ) return false; 264 if ( (other == null ) ) return false;
265 if ( !(other instanceof StationgewId) ) return false; 265 if ( !(other instanceof StationgewId) ) return false;
266 StationgewId castOther = ( StationgewId ) other; 266 StationgewId castOther = ( StationgewId ) other;
267 267
268 return (this.getStationid()==castOther.getStationid()) 268 return (this.getStationid()==castOther.getStationid())
269 && (this.getGewaesserid()==castOther.getGewaesserid()) 269 && (this.getGewaesserid()==castOther.getGewaesserid())
270 && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) ) 270 && ( (this.getKm()==castOther.getKm()) || ( this.getKm()!=null && castOther.getKm()!=null && this.getKm().equals(castOther.getKm()) ) )
271 && ( (this.getBezugspegelid()==castOther.getBezugspegelid()) || ( this.getBezugspegelid()!=null && castOther.getBezugspegelid()!=null && this.getBezugspegelid().equals(castOther.getBezugspegelid()) ) ) 271 && ( (this.getBezugspegelid()==castOther.getBezugspegelid()) || ( this.getBezugspegelid()!=null && castOther.getBezugspegelid()!=null && this.getBezugspegelid().equals(castOther.getBezugspegelid()) ) )
272 && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) ) 272 && ( (this.getName()==castOther.getName()) || ( this.getName()!=null && castOther.getName()!=null && this.getName().equals(castOther.getName()) ) )
283 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) 283 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) )
284 && ( (this.getOldmstid()==castOther.getOldmstid()) || ( this.getOldmstid()!=null && castOther.getOldmstid()!=null && this.getOldmstid().equals(castOther.getOldmstid()) ) ) 284 && ( (this.getOldmstid()==castOther.getOldmstid()) || ( this.getOldmstid()!=null && castOther.getOldmstid()!=null && this.getOldmstid().equals(castOther.getOldmstid()) ) )
285 && (this.isIstfeststoff()==castOther.isIstfeststoff()) 285 && (this.isIstfeststoff()==castOther.isIstfeststoff())
286 && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) ); 286 && ( (this.getGewname()==castOther.getGewname()) || ( this.getGewname()!=null && castOther.getGewname()!=null && this.getGewname().equals(castOther.getGewname()) ) );
287 } 287 }
288 288
289 public int hashCode() { 289 public int hashCode() {
290 int result = 17; 290 int result = 17;
291 291
292 result = 37 * result + (int) this.getStationid(); 292 result = 37 * result + (int) this.getStationid();
293 result = 37 * result + (int) this.getGewaesserid(); 293 result = 37 * result + (int) this.getGewaesserid();
294 result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() ); 294 result = 37 * result + ( getKm() == null ? 0 : this.getKm().hashCode() );
295 result = 37 * result + ( getBezugspegelid() == null ? 0 : this.getBezugspegelid().hashCode() ); 295 result = 37 * result + ( getBezugspegelid() == null ? 0 : this.getBezugspegelid().hashCode() );
296 result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() ); 296 result = 37 * result + ( getName() == null ? 0 : this.getName().hashCode() );
307 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); 307 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() );
308 result = 37 * result + ( getOldmstid() == null ? 0 : this.getOldmstid().hashCode() ); 308 result = 37 * result + ( getOldmstid() == null ? 0 : this.getOldmstid().hashCode() );
309 result = 37 * result + (this.isIstfeststoff()?1:0); 309 result = 37 * result + (this.isIstfeststoff()?1:0);
310 result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() ); 310 result = 37 * result + ( getGewname() == null ? 0 : this.getGewname().hashCode() );
311 return result; 311 return result;
312 } 312 }
313 } 313 }

http://dive4elements.wald.intevation.org