Mercurial > lada > lada-server
changeset 515:12f7cc76a969
Updated probenzusatz model.
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Thu, 19 Feb 2015 14:13:01 +0100 |
parents | 6774e6aa350d |
children | f921a0db3729 |
files | src/main/java/de/intevation/lada/model/stamm/ProbenZusatz.java |
diffstat | 1 files changed, 6 insertions(+), 9 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/de/intevation/lada/model/stamm/ProbenZusatz.java Thu Feb 19 14:12:34 2015 +0100 +++ b/src/main/java/de/intevation/lada/model/stamm/ProbenZusatz.java Thu Feb 19 14:13:01 2015 +0100 @@ -12,8 +12,6 @@ import javax.persistence.Column; import javax.persistence.Entity; import javax.persistence.Id; -import javax.persistence.JoinColumn; -import javax.persistence.ManyToOne; import javax.persistence.Table; @@ -35,9 +33,8 @@ private String zusatzwert; - @ManyToOne - @JoinColumn(name="meh_id") - private MessEinheit messEinheit; + @Column(name="meh_id") + private Integer mehId; public ProbenZusatz() { } @@ -74,12 +71,12 @@ this.zusatzwert = zusatzwert; } - public MessEinheit getMessEinheit() { - return this.messEinheit; + public Integer getMehId() { + return this.mehId; } - public void setMessEinheit(MessEinheit messEinheit) { - this.messEinheit = messEinheit; + public void setMehId(Integer mehId) { + this.mehId = mehId; } }