comparison src/main/java/de/intevation/lada/model/land/Probe.java @ 1097:186d602e031a

Merged branch schema-update into default.
author Tom Gottfried <tom@intevation.de>
date Fri, 14 Oct 2016 18:17:42 +0200
parents
children 830a47aeb15d
comparison
equal deleted inserted replaced
1096:565c8a67034d 1097:186d602e031a
1 package de.intevation.lada.model.land;
2
3 import java.io.Serializable;
4 import java.sql.Timestamp;
5
6 import javax.persistence.Column;
7 import javax.persistence.Entity;
8 import javax.persistence.GeneratedValue;
9 import javax.persistence.GenerationType;
10 import javax.persistence.Id;
11 import javax.persistence.Transient;
12
13 import org.hibernate.annotations.DynamicInsert;
14
15
16 /**
17 * The persistent class for the probe database table.
18 *
19 */
20 // The DynamicInsert Annotation has the effect, that the persisted object still
21 // has all the "null"-values. There is no reloading after the persistence
22 // process!
23 @Entity
24 @DynamicInsert(true)
25 public class Probe implements Serializable {
26 private static final long serialVersionUID = 1L;
27
28 @Id
29 @GeneratedValue(strategy=GenerationType.IDENTITY)
30 private Integer id;
31
32 @Column(name="ba_id")
33 private Integer baId;
34
35 @Column(name="datenbasis_id")
36 private Integer datenbasisId;
37
38 @Column(name="erzeuger_id")
39 private Integer erzeugerId;
40
41 @Column(name="hauptproben_nr")
42 private String hauptprobenNr;
43
44 @Column(name="id_alt")
45 private String idAlt;
46
47 @Column(name="labor_mst_id")
48 private String laborMstId;
49
50 @Column(name="letzte_aenderung")
51 private Timestamp letzteAenderung;
52
53 private String media;
54
55 @Column(name="media_desk")
56 private String mediaDesk;
57
58 private Long mittelungsdauer;
59
60 @Column(name="mpl_id")
61 private Integer mplId;
62
63 @Column(name="mpr_id")
64 private Integer mprId;
65
66 @Column(name="mst_id")
67 private String mstId;
68
69 @Column(name="probe_nehmer_id")
70 private Integer probeNehmerId;
71
72 @Column(name="probeentnahme_beginn")
73 private Timestamp probeentnahmeBeginn;
74
75 @Column(name="probeentnahme_ende")
76 private Timestamp probeentnahmeEnde;
77
78 @Column(name="probenart_id")
79 private Integer probenartId;
80
81 @Column(name="solldatum_beginn")
82 private Timestamp solldatumBeginn;
83
84 @Column(name="solldatum_ende")
85 private Timestamp solldatumEnde;
86
87 private Boolean test;
88
89 @Column(name="tree_modified")
90 private Timestamp treeModified;
91
92 @Column(name="umw_id")
93 private String umwId;
94
95 @Transient
96 private boolean readonly;
97
98 @Transient
99 private boolean owner;
100
101 public Probe() {
102 }
103
104 public Integer getId() {
105 return this.id;
106 }
107
108 public void setId(Integer id) {
109 this.id = id;
110 }
111
112 public Integer getBaId() {
113 return this.baId;
114 }
115
116 public void setBaId(Integer baId) {
117 this.baId = baId;
118 }
119
120 public Integer getDatenbasisId() {
121 return this.datenbasisId;
122 }
123
124 public void setDatenbasisId(Integer datenbasisId) {
125 this.datenbasisId = datenbasisId;
126 }
127
128 public Integer getErzeugerId() {
129 return this.erzeugerId;
130 }
131
132 public void setErzeugerId(Integer erzeugerId) {
133 this.erzeugerId = erzeugerId;
134 }
135
136 public String getHauptprobenNr() {
137 return this.hauptprobenNr;
138 }
139
140 public void setHauptprobenNr(String hauptprobenNr) {
141 this.hauptprobenNr = hauptprobenNr;
142 }
143
144 public String getIdAlt() {
145 return this.idAlt;
146 }
147
148 public void setIdAlt(String idAlt) {
149 this.idAlt = idAlt;
150 }
151
152 public String getLaborMstId() {
153 return this.laborMstId;
154 }
155
156 public void setLaborMstId(String laborMstId) {
157 this.laborMstId = laborMstId;
158 }
159
160 public Timestamp getLetzteAenderung() {
161 return this.letzteAenderung;
162 }
163
164 public void setLetzteAenderung(Timestamp letzteAenderung) {
165 this.letzteAenderung = letzteAenderung;
166 }
167
168 public String getMedia() {
169 return this.media;
170 }
171
172 public void setMedia(String media) {
173 this.media = media;
174 }
175
176 public String getMediaDesk() {
177 return this.mediaDesk;
178 }
179
180 public void setMediaDesk(String mediaDesk) {
181 this.mediaDesk = mediaDesk;
182 }
183
184 public Long getMittelungsdauer() {
185 return this.mittelungsdauer;
186 }
187
188 public void setMittelungsdauer(Long mittelungsdauer) {
189 this.mittelungsdauer = mittelungsdauer;
190 }
191
192 public Integer getMplId() {
193 return this.mplId;
194 }
195
196 public void setMplId(Integer mplId) {
197 this.mplId = mplId;
198 }
199
200 public Integer getMprId() {
201 return this.mprId;
202 }
203
204 public void setMprId(Integer mprId) {
205 this.mprId = mprId;
206 }
207
208 public String getMstId() {
209 return this.mstId;
210 }
211
212 public void setMstId(String mstId) {
213 this.mstId = mstId;
214 }
215
216 public Integer getProbeNehmerId() {
217 return this.probeNehmerId;
218 }
219
220 public void setProbeNehmerId(Integer probeNehmerId) {
221 this.probeNehmerId = probeNehmerId;
222 }
223
224 public Timestamp getProbeentnahmeBeginn() {
225 return this.probeentnahmeBeginn;
226 }
227
228 public void setProbeentnahmeBeginn(Timestamp probeentnahmeBeginn) {
229 this.probeentnahmeBeginn = probeentnahmeBeginn;
230 }
231
232 public Timestamp getProbeentnahmeEnde() {
233 return this.probeentnahmeEnde;
234 }
235
236 public void setProbeentnahmeEnde(Timestamp probeentnahmeEnde) {
237 this.probeentnahmeEnde = probeentnahmeEnde;
238 }
239
240 public Integer getProbenartId() {
241 return this.probenartId;
242 }
243
244 public void setProbenartId(Integer probenartId) {
245 this.probenartId = probenartId;
246 }
247
248 public Timestamp getSolldatumBeginn() {
249 return this.solldatumBeginn;
250 }
251
252 public void setSolldatumBeginn(Timestamp solldatumBeginn) {
253 this.solldatumBeginn = solldatumBeginn;
254 }
255
256 public Timestamp getSolldatumEnde() {
257 return this.solldatumEnde;
258 }
259
260 public void setSolldatumEnde(Timestamp solldatumEnde) {
261 this.solldatumEnde = solldatumEnde;
262 }
263
264 public Boolean getTest() {
265 return this.test;
266 }
267
268 public void setTest(Boolean test) {
269 this.test = test;
270 }
271
272 public Timestamp getTreeModified() {
273 return this.treeModified;
274 }
275
276 public void setTreeModified(Timestamp treeModified) {
277 this.treeModified = treeModified;
278 }
279
280 public String getUmwId() {
281 return this.umwId;
282 }
283
284 public void setUmwId(String umwId) {
285 this.umwId = umwId;
286 }
287
288 public boolean isReadonly() {
289 return readonly;
290 }
291
292 public void setReadonly(boolean readonly) {
293 this.readonly = readonly;
294 }
295
296 public boolean isOwner() {
297 return owner;
298 }
299
300 public void setOwner(boolean owner) {
301 this.owner = owner;
302 }
303 }
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)