comparison src/main/java/de/intevation/lada/model/land/Probe.java @ 1028:1c41c7b8f7c2 schema-update

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