Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/LKommentarMId.java @ 246:7a1bbd96cecd
Get id for LKommentarM manually from database.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Mon, 15 Jul 2013 15:36:54 +0200 |
parents | 034db67bc1e8 |
children | 183f8116d9a6 |
comparison
equal
deleted
inserted
replaced
245:1963f002e4c0 | 246:7a1bbd96cecd |
---|---|
10 */ | 10 */ |
11 @Embeddable | 11 @Embeddable |
12 public class LKommentarMId implements java.io.Serializable { | 12 public class LKommentarMId implements java.io.Serializable { |
13 | 13 |
14 private String probeId; | 14 private String probeId; |
15 private short messungsId; | 15 private Integer messungsId; |
16 private int KId; | 16 private int KId; |
17 | 17 |
18 public LKommentarMId() { | 18 public LKommentarMId() { |
19 } | 19 } |
20 | 20 |
21 public LKommentarMId(String probeId, short messungsId, int KId) { | 21 public LKommentarMId(String probeId, Integer messungsId, int KId) { |
22 this.probeId = probeId; | 22 this.probeId = probeId; |
23 this.messungsId = messungsId; | 23 this.messungsId = messungsId; |
24 this.KId = KId; | 24 this.KId = KId; |
25 } | 25 } |
26 | 26 |
32 public void setProbeId(String probeId) { | 32 public void setProbeId(String probeId) { |
33 this.probeId = probeId; | 33 this.probeId = probeId; |
34 } | 34 } |
35 | 35 |
36 @Column(name = "messungs_id", nullable = false) | 36 @Column(name = "messungs_id", nullable = false) |
37 public short getMessungsId() { | 37 public Integer getMessungsId() { |
38 return this.messungsId; | 38 return this.messungsId; |
39 } | 39 } |
40 | 40 |
41 public void setMessungsId(short messungsId) { | 41 public void setMessungsId(Integer messungsId) { |
42 this.messungsId = messungsId; | 42 this.messungsId = messungsId; |
43 } | 43 } |
44 | 44 |
45 @Column(name = "k_id", nullable = false) | 45 @Column(name = "k_id", nullable = false) |
46 public int getKId() { | 46 public int getKId() { |