Mercurial > dive4elements > river
comparison backend/src/main/java/de/intevation/seddb/model/Sprobe.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/Sprobe.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 java.math.BigDecimal; | |
6 import javax.persistence.AttributeOverride; | |
7 import javax.persistence.AttributeOverrides; | |
8 import javax.persistence.Column; | |
9 import javax.persistence.EmbeddedId; | |
10 import javax.persistence.Entity; | |
11 import javax.persistence.FetchType; | |
12 import javax.persistence.JoinColumn; | |
13 import javax.persistence.ManyToOne; | |
14 import javax.persistence.Table; | |
15 | |
16 /** | |
17 * Sprobe generated by hbm2java | |
18 */ | |
19 @Entity | |
20 @Table(name="SPROBE" | |
21 ,schema="SEDDB" | |
22 ) | |
23 public class Sprobe implements java.io.Serializable { | |
24 | |
25 | |
26 private SprobeId id; | |
27 private Slotrechte slotrechte; | |
28 private short wprozpkt; | |
29 private BigDecimal wpkt; | |
30 private BigDecimal vpkt; | |
31 private BigDecimal csandpkt; | |
32 private BigDecimal cschwebpkt; | |
33 private BigDecimal sandtrieb; | |
34 private BigDecimal schwebtrieb; | |
35 | |
36 public Sprobe() { | |
37 } | |
38 | |
39 | |
40 public Sprobe(SprobeId id, Slotrechte slotrechte, short wprozpkt, BigDecimal wpkt, BigDecimal vpkt, BigDecimal csandpkt, BigDecimal cschwebpkt) { | |
41 this.id = id; | |
42 this.slotrechte = slotrechte; | |
43 this.wprozpkt = wprozpkt; | |
44 this.wpkt = wpkt; | |
45 this.vpkt = vpkt; | |
46 this.csandpkt = csandpkt; | |
47 this.cschwebpkt = cschwebpkt; | |
48 } | |
49 public Sprobe(SprobeId id, Slotrechte slotrechte, short wprozpkt, BigDecimal wpkt, BigDecimal vpkt, BigDecimal csandpkt, BigDecimal cschwebpkt, BigDecimal sandtrieb, BigDecimal schwebtrieb) { | |
50 this.id = id; | |
51 this.slotrechte = slotrechte; | |
52 this.wprozpkt = wprozpkt; | |
53 this.wpkt = wpkt; | |
54 this.vpkt = vpkt; | |
55 this.csandpkt = csandpkt; | |
56 this.cschwebpkt = cschwebpkt; | |
57 this.sandtrieb = sandtrieb; | |
58 this.schwebtrieb = schwebtrieb; | |
59 } | |
60 | |
61 @EmbeddedId | |
62 | |
63 | |
64 @AttributeOverrides( { | |
65 @AttributeOverride(name="slotrechteid", column=@Column(name="SLOTRECHTEID", nullable=false, precision=11, scale=0) ), | |
66 @AttributeOverride(name="lfdnr", column=@Column(name="LFDNR", nullable=false, precision=5, scale=0) ) } ) | |
67 public SprobeId getId() { | |
68 return this.id; | |
69 } | |
70 | |
71 public void setId(SprobeId id) { | |
72 this.id = id; | |
73 } | |
74 | |
75 @ManyToOne(fetch=FetchType.LAZY) | |
76 @JoinColumn(name="SLOTRECHTEID", nullable=false, insertable=false, updatable=false) | |
77 public Slotrechte getSlotrechte() { | |
78 return this.slotrechte; | |
79 } | |
80 | |
81 public void setSlotrechte(Slotrechte slotrechte) { | |
82 this.slotrechte = slotrechte; | |
83 } | |
84 | |
85 | |
86 @Column(name="WPROZPKT", nullable=false, precision=3, scale=0) | |
87 public short getWprozpkt() { | |
88 return this.wprozpkt; | |
89 } | |
90 | |
91 public void setWprozpkt(short wprozpkt) { | |
92 this.wprozpkt = wprozpkt; | |
93 } | |
94 | |
95 | |
96 @Column(name="WPKT", nullable=false, precision=8, scale=3) | |
97 public BigDecimal getWpkt() { | |
98 return this.wpkt; | |
99 } | |
100 | |
101 public void setWpkt(BigDecimal wpkt) { | |
102 this.wpkt = wpkt; | |
103 } | |
104 | |
105 | |
106 @Column(name="VPKT", nullable=false, precision=6, scale=4) | |
107 public BigDecimal getVpkt() { | |
108 return this.vpkt; | |
109 } | |
110 | |
111 public void setVpkt(BigDecimal vpkt) { | |
112 this.vpkt = vpkt; | |
113 } | |
114 | |
115 | |
116 @Column(name="CSANDPKT", nullable=false, precision=8, scale=3) | |
117 public BigDecimal getCsandpkt() { | |
118 return this.csandpkt; | |
119 } | |
120 | |
121 public void setCsandpkt(BigDecimal csandpkt) { | |
122 this.csandpkt = csandpkt; | |
123 } | |
124 | |
125 | |
126 @Column(name="CSCHWEBPKT", nullable=false, precision=8, scale=3) | |
127 public BigDecimal getCschwebpkt() { | |
128 return this.cschwebpkt; | |
129 } | |
130 | |
131 public void setCschwebpkt(BigDecimal cschwebpkt) { | |
132 this.cschwebpkt = cschwebpkt; | |
133 } | |
134 | |
135 | |
136 @Column(name="SANDTRIEB", precision=8, scale=3) | |
137 public BigDecimal getSandtrieb() { | |
138 return this.sandtrieb; | |
139 } | |
140 | |
141 public void setSandtrieb(BigDecimal sandtrieb) { | |
142 this.sandtrieb = sandtrieb; | |
143 } | |
144 | |
145 | |
146 @Column(name="SCHWEBTRIEB", precision=8, scale=3) | |
147 public BigDecimal getSchwebtrieb() { | |
148 return this.schwebtrieb; | |
149 } | |
150 | |
151 public void setSchwebtrieb(BigDecimal schwebtrieb) { | |
152 this.schwebtrieb = schwebtrieb; | |
153 } | |
154 } |