comparison backend/src/main/java/de/intevation/seddb/model/Probebild.java @ 5838:5aa05a7a34b7

Rename modules to more fitting names.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Apr 2013 15:23:37 +0200
parents flys-backend/src/main/java/de/intevation/seddb/model/Probebild.java@18619c1e7c2a
children 4dd33b86dc61
comparison
equal deleted inserted replaced
5837:d9901a08d0a6 5838:5aa05a7a34b7
1 package org.dive4elements.seddb.model;
2 // Generated 14.06.2012 11:30:57 by Hibernate Tools 3.4.0.CR1
3
4
5 import javax.persistence.Column;
6 import javax.persistence.Entity;
7 import javax.persistence.FetchType;
8 import javax.persistence.Id;
9 import javax.persistence.JoinColumn;
10 import javax.persistence.ManyToOne;
11 import javax.persistence.Table;
12
13 /**
14 * Probebild generated by hbm2java
15 */
16 @Entity
17 @Table(name="PROBEBILD"
18 ,schema="SEDDB"
19 )
20 public class Probebild implements java.io.Serializable {
21
22
23 private long probebildid;
24 private Zzthema zzthema;
25 private Sohlprobe sohlprobe;
26 private int lfdnr;
27 private boolean istdigital;
28 private String pfad;
29 private String standort;
30 private String medium;
31 private String medpfad;
32 private String bemerkung;
33 private String typklein;
34 private String typmittel;
35 private String typgross;
36
37 public Probebild() {
38 }
39
40 public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital) {
41 this.probebildid = probebildid;
42 this.zzthema = zzthema;
43 this.sohlprobe = sohlprobe;
44 this.lfdnr = lfdnr;
45 this.istdigital = istdigital;
46 }
47 public Probebild(long probebildid, Zzthema zzthema, Sohlprobe sohlprobe, int lfdnr, boolean istdigital, String pfad, String standort, String medium, String medpfad, String bemerkung, String typklein, String typmittel, String typgross) {
48 this.probebildid = probebildid;
49 this.zzthema = zzthema;
50 this.sohlprobe = sohlprobe;
51 this.lfdnr = lfdnr;
52 this.istdigital = istdigital;
53 this.pfad = pfad;
54 this.standort = standort;
55 this.medium = medium;
56 this.medpfad = medpfad;
57 this.bemerkung = bemerkung;
58 this.typklein = typklein;
59 this.typmittel = typmittel;
60 this.typgross = typgross;
61 }
62
63 @Id
64
65
66 @Column(name="PROBEBILDID", unique=true, nullable=false, precision=11, scale=0)
67 public long getProbebildid() {
68 return this.probebildid;
69 }
70
71 public void setProbebildid(long probebildid) {
72 this.probebildid = probebildid;
73 }
74
75 @ManyToOne(fetch=FetchType.LAZY)
76 @JoinColumn(name="THEMAID", nullable=false)
77 public Zzthema getZzthema() {
78 return this.zzthema;
79 }
80
81 public void setZzthema(Zzthema zzthema) {
82 this.zzthema = zzthema;
83 }
84
85 @ManyToOne(fetch=FetchType.LAZY)
86 @JoinColumn(name="SOHLPROBEID", nullable=false)
87 public Sohlprobe getSohlprobe() {
88 return this.sohlprobe;
89 }
90
91 public void setSohlprobe(Sohlprobe sohlprobe) {
92 this.sohlprobe = sohlprobe;
93 }
94
95
96 @Column(name="LFDNR", nullable=false, precision=5, scale=0)
97 public int getLfdnr() {
98 return this.lfdnr;
99 }
100
101 public void setLfdnr(int lfdnr) {
102 this.lfdnr = lfdnr;
103 }
104
105
106 @Column(name="ISTDIGITAL", nullable=false, precision=1, scale=0)
107 public boolean isIstdigital() {
108 return this.istdigital;
109 }
110
111 public void setIstdigital(boolean istdigital) {
112 this.istdigital = istdigital;
113 }
114
115
116 @Column(name="PFAD", length=512)
117 public String getPfad() {
118 return this.pfad;
119 }
120
121 public void setPfad(String pfad) {
122 this.pfad = pfad;
123 }
124
125
126 @Column(name="STANDORT", length=50)
127 public String getStandort() {
128 return this.standort;
129 }
130
131 public void setStandort(String standort) {
132 this.standort = standort;
133 }
134
135
136 @Column(name="MEDIUM", length=50)
137 public String getMedium() {
138 return this.medium;
139 }
140
141 public void setMedium(String medium) {
142 this.medium = medium;
143 }
144
145
146 @Column(name="MEDPFAD", length=50)
147 public String getMedpfad() {
148 return this.medpfad;
149 }
150
151 public void setMedpfad(String medpfad) {
152 this.medpfad = medpfad;
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="TYPKLEIN", length=8)
167 public String getTypklein() {
168 return this.typklein;
169 }
170
171 public void setTypklein(String typklein) {
172 this.typklein = typklein;
173 }
174
175
176 @Column(name="TYPMITTEL", length=8)
177 public String getTypmittel() {
178 return this.typmittel;
179 }
180
181 public void setTypmittel(String typmittel) {
182 this.typmittel = typmittel;
183 }
184
185
186 @Column(name="TYPGROSS", length=8)
187 public String getTypgross() {
188 return this.typgross;
189 }
190
191 public void setTypgross(String typgross) {
192 this.typgross = typgross;
193 }
194 }

http://dive4elements.wald.intevation.org