Mercurial > dive4elements > river
comparison flys-backend/src/main/java/de/intevation/seddb/model/Slotrechte.java @ 3689:c938e568c4a2 2.9
merged flys-backend/2.9
author | Thomas Arendsen Hein <thomas@intevation.de> |
---|---|
date | Fri, 28 Sep 2012 12:14:44 +0200 |
parents | 2ae732e2c65c |
children | 18619c1e7c2a |
comparison
equal
deleted
inserted
replaced
3651:06a65baae494 | 3689:c938e568c4a2 |
---|---|
1 package de.intevation.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.HashSet; | |
7 import java.util.Set; | |
8 import javax.persistence.Column; | |
9 import javax.persistence.Entity; | |
10 import javax.persistence.FetchType; | |
11 import javax.persistence.Id; | |
12 import javax.persistence.JoinColumn; | |
13 import javax.persistence.ManyToOne; | |
14 import javax.persistence.OneToMany; | |
15 import javax.persistence.Table; | |
16 | |
17 /** | |
18 * Slotrechte generated by hbm2java | |
19 */ | |
20 @Entity | |
21 @Table(name="SLOTRECHTE" | |
22 ,schema="SEDDB" | |
23 ) | |
24 public class Slotrechte implements java.io.Serializable { | |
25 | |
26 | |
27 private long slotrechteid; | |
28 private Messung messung; | |
29 private BigDecimal uferabst; | |
30 private BigDecimal tsand; | |
31 private BigDecimal tschweb; | |
32 private BigDecimal fv; | |
33 private BigDecimal vm; | |
34 private BigDecimal tiefe; | |
35 private BigDecimal vsohle; | |
36 private String bemerkung; | |
37 private BigDecimal uferablinks; | |
38 private Set<Sprobe> sprobes = new HashSet<Sprobe>(0); | |
39 | |
40 public Slotrechte() { | |
41 } | |
42 | |
43 public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst) { | |
44 this.slotrechteid = slotrechteid; | |
45 this.messung = messung; | |
46 this.uferabst = uferabst; | |
47 } | |
48 public Slotrechte(long slotrechteid, Messung messung, BigDecimal uferabst, BigDecimal tsand, BigDecimal tschweb, BigDecimal fv, BigDecimal vm, BigDecimal tiefe, BigDecimal vsohle, String bemerkung, BigDecimal uferablinks, Set<Sprobe> sprobes) { | |
49 this.slotrechteid = slotrechteid; | |
50 this.messung = messung; | |
51 this.uferabst = uferabst; | |
52 this.tsand = tsand; | |
53 this.tschweb = tschweb; | |
54 this.fv = fv; | |
55 this.vm = vm; | |
56 this.tiefe = tiefe; | |
57 this.vsohle = vsohle; | |
58 this.bemerkung = bemerkung; | |
59 this.uferablinks = uferablinks; | |
60 this.sprobes = sprobes; | |
61 } | |
62 | |
63 @Id | |
64 | |
65 | |
66 @Column(name="SLOTRECHTEID", unique=true, nullable=false, precision=11, scale=0) | |
67 public long getSlotrechteid() { | |
68 return this.slotrechteid; | |
69 } | |
70 | |
71 public void setSlotrechteid(long slotrechteid) { | |
72 this.slotrechteid = slotrechteid; | |
73 } | |
74 | |
75 @ManyToOne(fetch=FetchType.LAZY) | |
76 @JoinColumn(name="MESSUNGID", nullable=false) | |
77 public Messung getMessung() { | |
78 return this.messung; | |
79 } | |
80 | |
81 public void setMessung(Messung messung) { | |
82 this.messung = messung; | |
83 } | |
84 | |
85 | |
86 @Column(name="UFERABST", nullable=false, precision=8, scale=3) | |
87 public BigDecimal getUferabst() { | |
88 return this.uferabst; | |
89 } | |
90 | |
91 public void setUferabst(BigDecimal uferabst) { | |
92 this.uferabst = uferabst; | |
93 } | |
94 | |
95 | |
96 @Column(name="TSAND", precision=8, scale=3) | |
97 public BigDecimal getTsand() { | |
98 return this.tsand; | |
99 } | |
100 | |
101 public void setTsand(BigDecimal tsand) { | |
102 this.tsand = tsand; | |
103 } | |
104 | |
105 | |
106 @Column(name="TSCHWEB", precision=8, scale=3) | |
107 public BigDecimal getTschweb() { | |
108 return this.tschweb; | |
109 } | |
110 | |
111 public void setTschweb(BigDecimal tschweb) { | |
112 this.tschweb = tschweb; | |
113 } | |
114 | |
115 | |
116 @Column(name="FV", precision=6, scale=3) | |
117 public BigDecimal getFv() { | |
118 return this.fv; | |
119 } | |
120 | |
121 public void setFv(BigDecimal fv) { | |
122 this.fv = fv; | |
123 } | |
124 | |
125 | |
126 @Column(name="VM", precision=6, scale=4) | |
127 public BigDecimal getVm() { | |
128 return this.vm; | |
129 } | |
130 | |
131 public void setVm(BigDecimal vm) { | |
132 this.vm = vm; | |
133 } | |
134 | |
135 | |
136 @Column(name="TIEFE", precision=8, scale=3) | |
137 public BigDecimal getTiefe() { | |
138 return this.tiefe; | |
139 } | |
140 | |
141 public void setTiefe(BigDecimal tiefe) { | |
142 this.tiefe = tiefe; | |
143 } | |
144 | |
145 | |
146 @Column(name="VSOHLE", precision=6, scale=4) | |
147 public BigDecimal getVsohle() { | |
148 return this.vsohle; | |
149 } | |
150 | |
151 public void setVsohle(BigDecimal vsohle) { | |
152 this.vsohle = vsohle; | |
153 } | |
154 | |
155 | |
156 @Column(name="BEMERKUNG", length=240) | |
157 public String getBemerkung() { | |
158 return this.bemerkung; | |
159 } | |
160 | |
161 public void setBemerkung(String bemerkung) { | |
162 this.bemerkung = bemerkung; | |
163 } | |
164 | |
165 | |
166 @Column(name="UFERABLINKS", precision=8, scale=3) | |
167 public BigDecimal getUferablinks() { | |
168 return this.uferablinks; | |
169 } | |
170 | |
171 public void setUferablinks(BigDecimal uferablinks) { | |
172 this.uferablinks = uferablinks; | |
173 } | |
174 | |
175 @OneToMany(fetch=FetchType.LAZY, mappedBy="slotrechte") | |
176 public Set<Sprobe> getSprobes() { | |
177 return this.sprobes; | |
178 } | |
179 | |
180 public void setSprobes(Set<Sprobe> sprobes) { | |
181 this.sprobes = sprobes; | |
182 } | |
183 } |