[Lada-commits] [PATCH 3 of 7] Updated umwelt model
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 19 15:20:53 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1424355616 -3600
# Node ID 435e1399f88766233fd7fd67209e5a65f1ed8613
# Parent ddb83d20e52a52d3d2e41118e45bb32197164c38
Updated umwelt model.
diff -r ddb83d20e52a -r 435e1399f887 src/main/java/de/intevation/lada/model/stamm/Umwelt.java
--- a/src/main/java/de/intevation/lada/model/stamm/Umwelt.java Thu Feb 19 15:19:58 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/Umwelt.java Thu Feb 19 15:20:16 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;
@@ -33,9 +31,8 @@
@Column(name="umwelt_bereich")
private String umweltBereich;
- @ManyToOne
- @JoinColumn(name="meh_id")
- private MessEinheit messEinheit;
+ @Column(name="meh_id")
+ private Integer mehId;
public Umwelt() {
}
@@ -64,12 +61,12 @@
this.umweltBereich = umweltBereich;
}
- 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;
}
}
More information about the Lada-commits
mailing list