Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/SlotlinksId.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 |
---|---|
46 this.vsohle = vsohle; | 46 this.vsohle = vsohle; |
47 this.bemerkung = bemerkung; | 47 this.bemerkung = bemerkung; |
48 this.uferablinks = uferablinks; | 48 this.uferablinks = uferablinks; |
49 this.linksabst = linksabst; | 49 this.linksabst = linksabst; |
50 } | 50 } |
51 | 51 |
52 | 52 |
53 | 53 |
54 @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) | 54 @Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) |
55 public long getSlotrechteid() { | 55 public long getSlotrechteid() { |
56 return this.slotrechteid; | 56 return this.slotrechteid; |
57 } | 57 } |
58 | 58 |
59 public void setSlotrechteid(long slotrechteid) { | 59 public void setSlotrechteid(long slotrechteid) { |
60 this.slotrechteid = slotrechteid; | 60 this.slotrechteid = slotrechteid; |
61 } | 61 } |
62 | 62 |
63 | 63 |
64 @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) | 64 @Column(name="MESSUNGID", nullable=false, precision=11, scale=0) |
65 public long getMessungid() { | 65 public long getMessungid() { |
66 return this.messungid; | 66 return this.messungid; |
67 } | 67 } |
68 | 68 |
69 public void setMessungid(long messungid) { | 69 public void setMessungid(long messungid) { |
70 this.messungid = messungid; | 70 this.messungid = messungid; |
71 } | 71 } |
72 | 72 |
73 | 73 |
74 @Column(name="UFERABST", nullable=false, precision=8, scale=3) | 74 @Column(name="UFERABST", nullable=false, precision=8, scale=3) |
75 public BigDecimal getUferabst() { | 75 public BigDecimal getUferabst() { |
76 return this.uferabst; | 76 return this.uferabst; |
77 } | 77 } |
78 | 78 |
79 public void setUferabst(BigDecimal uferabst) { | 79 public void setUferabst(BigDecimal uferabst) { |
80 this.uferabst = uferabst; | 80 this.uferabst = uferabst; |
81 } | 81 } |
82 | 82 |
83 | 83 |
84 @Column(name="TSAND", precision=8, scale=3) | 84 @Column(name="TSAND", precision=8, scale=3) |
85 public BigDecimal getTsand() { | 85 public BigDecimal getTsand() { |
86 return this.tsand; | 86 return this.tsand; |
87 } | 87 } |
88 | 88 |
89 public void setTsand(BigDecimal tsand) { | 89 public void setTsand(BigDecimal tsand) { |
90 this.tsand = tsand; | 90 this.tsand = tsand; |
91 } | 91 } |
92 | 92 |
93 | 93 |
94 @Column(name="TSCHWEB", precision=8, scale=3) | 94 @Column(name="TSCHWEB", precision=8, scale=3) |
95 public BigDecimal getTschweb() { | 95 public BigDecimal getTschweb() { |
96 return this.tschweb; | 96 return this.tschweb; |
97 } | 97 } |
98 | 98 |
99 public void setTschweb(BigDecimal tschweb) { | 99 public void setTschweb(BigDecimal tschweb) { |
100 this.tschweb = tschweb; | 100 this.tschweb = tschweb; |
101 } | 101 } |
102 | 102 |
103 | 103 |
104 @Column(name="FV", precision=6, scale=3) | 104 @Column(name="FV", precision=6, scale=3) |
105 public BigDecimal getFv() { | 105 public BigDecimal getFv() { |
106 return this.fv; | 106 return this.fv; |
107 } | 107 } |
108 | 108 |
109 public void setFv(BigDecimal fv) { | 109 public void setFv(BigDecimal fv) { |
110 this.fv = fv; | 110 this.fv = fv; |
111 } | 111 } |
112 | 112 |
113 | 113 |
114 @Column(name="VM", precision=6, scale=4) | 114 @Column(name="VM", precision=6, scale=4) |
115 public BigDecimal getVm() { | 115 public BigDecimal getVm() { |
116 return this.vm; | 116 return this.vm; |
117 } | 117 } |
118 | 118 |
119 public void setVm(BigDecimal vm) { | 119 public void setVm(BigDecimal vm) { |
120 this.vm = vm; | 120 this.vm = vm; |
121 } | 121 } |
122 | 122 |
123 | 123 |
124 @Column(name="TIEFE", precision=8, scale=3) | 124 @Column(name="TIEFE", precision=8, scale=3) |
125 public BigDecimal getTiefe() { | 125 public BigDecimal getTiefe() { |
126 return this.tiefe; | 126 return this.tiefe; |
127 } | 127 } |
128 | 128 |
129 public void setTiefe(BigDecimal tiefe) { | 129 public void setTiefe(BigDecimal tiefe) { |
130 this.tiefe = tiefe; | 130 this.tiefe = tiefe; |
131 } | 131 } |
132 | 132 |
133 | 133 |
134 @Column(name="VSOHLE", precision=6, scale=4) | 134 @Column(name="VSOHLE", precision=6, scale=4) |
135 public BigDecimal getVsohle() { | 135 public BigDecimal getVsohle() { |
136 return this.vsohle; | 136 return this.vsohle; |
137 } | 137 } |
138 | 138 |
139 public void setVsohle(BigDecimal vsohle) { | 139 public void setVsohle(BigDecimal vsohle) { |
140 this.vsohle = vsohle; | 140 this.vsohle = vsohle; |
141 } | 141 } |
142 | 142 |
143 | 143 |
144 @Column(name="BEMERKUNG", length=240) | 144 @Column(name="BEMERKUNG", length=240) |
145 public String getBemerkung() { | 145 public String getBemerkung() { |
146 return this.bemerkung; | 146 return this.bemerkung; |
147 } | 147 } |
148 | 148 |
149 public void setBemerkung(String bemerkung) { | 149 public void setBemerkung(String bemerkung) { |
150 this.bemerkung = bemerkung; | 150 this.bemerkung = bemerkung; |
151 } | 151 } |
152 | 152 |
153 | 153 |
154 @Column(name="UFERABLINKS", precision=8, scale=3) | 154 @Column(name="UFERABLINKS", precision=8, scale=3) |
155 public BigDecimal getUferablinks() { | 155 public BigDecimal getUferablinks() { |
156 return this.uferablinks; | 156 return this.uferablinks; |
157 } | 157 } |
158 | 158 |
159 public void setUferablinks(BigDecimal uferablinks) { | 159 public void setUferablinks(BigDecimal uferablinks) { |
160 this.uferablinks = uferablinks; | 160 this.uferablinks = uferablinks; |
161 } | 161 } |
162 | 162 |
163 | 163 |
164 @Column(name="LINKSABST", precision=22, scale=0) | 164 @Column(name="LINKSABST", precision=22, scale=0) |
165 public BigDecimal getLinksabst() { | 165 public BigDecimal getLinksabst() { |
166 return this.linksabst; | 166 return this.linksabst; |
167 } | 167 } |
168 | 168 |
169 public void setLinksabst(BigDecimal linksabst) { | 169 public void setLinksabst(BigDecimal linksabst) { |
170 this.linksabst = linksabst; | 170 this.linksabst = linksabst; |
171 } | 171 } |
172 | 172 |
173 | 173 |
174 public boolean equals(Object other) { | 174 public boolean equals(Object other) { |
175 if ( (this == other ) ) return true; | 175 if ( (this == other ) ) return true; |
176 if ( (other == null ) ) return false; | 176 if ( (other == null ) ) return false; |
177 if ( !(other instanceof SlotlinksId) ) return false; | 177 if ( !(other instanceof SlotlinksId) ) return false; |
178 SlotlinksId castOther = ( SlotlinksId ) other; | 178 SlotlinksId castOther = ( SlotlinksId ) other; |
179 | 179 |
180 return (this.getSlotrechteid()==castOther.getSlotrechteid()) | 180 return (this.getSlotrechteid()==castOther.getSlotrechteid()) |
181 && (this.getMessungid()==castOther.getMessungid()) | 181 && (this.getMessungid()==castOther.getMessungid()) |
182 && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) | 182 && ( (this.getUferabst()==castOther.getUferabst()) || ( this.getUferabst()!=null && castOther.getUferabst()!=null && this.getUferabst().equals(castOther.getUferabst()) ) ) |
183 && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) ) | 183 && ( (this.getTsand()==castOther.getTsand()) || ( this.getTsand()!=null && castOther.getTsand()!=null && this.getTsand().equals(castOther.getTsand()) ) ) |
184 && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) ) | 184 && ( (this.getTschweb()==castOther.getTschweb()) || ( this.getTschweb()!=null && castOther.getTschweb()!=null && this.getTschweb().equals(castOther.getTschweb()) ) ) |
188 && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) ) | 188 && ( (this.getVsohle()==castOther.getVsohle()) || ( this.getVsohle()!=null && castOther.getVsohle()!=null && this.getVsohle().equals(castOther.getVsohle()) ) ) |
189 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) | 189 && ( (this.getBemerkung()==castOther.getBemerkung()) || ( this.getBemerkung()!=null && castOther.getBemerkung()!=null && this.getBemerkung().equals(castOther.getBemerkung()) ) ) |
190 && ( (this.getUferablinks()==castOther.getUferablinks()) || ( this.getUferablinks()!=null && castOther.getUferablinks()!=null && this.getUferablinks().equals(castOther.getUferablinks()) ) ) | 190 && ( (this.getUferablinks()==castOther.getUferablinks()) || ( this.getUferablinks()!=null && castOther.getUferablinks()!=null && this.getUferablinks().equals(castOther.getUferablinks()) ) ) |
191 && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) ); | 191 && ( (this.getLinksabst()==castOther.getLinksabst()) || ( this.getLinksabst()!=null && castOther.getLinksabst()!=null && this.getLinksabst().equals(castOther.getLinksabst()) ) ); |
192 } | 192 } |
193 | 193 |
194 public int hashCode() { | 194 public int hashCode() { |
195 int result = 17; | 195 int result = 17; |
196 | 196 |
197 result = 37 * result + (int) this.getSlotrechteid(); | 197 result = 37 * result + (int) this.getSlotrechteid(); |
198 result = 37 * result + (int) this.getMessungid(); | 198 result = 37 * result + (int) this.getMessungid(); |
199 result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() ); | 199 result = 37 * result + ( getUferabst() == null ? 0 : this.getUferabst().hashCode() ); |
200 result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() ); | 200 result = 37 * result + ( getTsand() == null ? 0 : this.getTsand().hashCode() ); |
201 result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() ); | 201 result = 37 * result + ( getTschweb() == null ? 0 : this.getTschweb().hashCode() ); |
205 result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() ); | 205 result = 37 * result + ( getVsohle() == null ? 0 : this.getVsohle().hashCode() ); |
206 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); | 206 result = 37 * result + ( getBemerkung() == null ? 0 : this.getBemerkung().hashCode() ); |
207 result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() ); | 207 result = 37 * result + ( getUferablinks() == null ? 0 : this.getUferablinks().hashCode() ); |
208 result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() ); | 208 result = 37 * result + ( getLinksabst() == null ? 0 : this.getLinksabst().hashCode() ); |
209 return result; | 209 return result; |
210 } | 210 } |
211 } | 211 } |