[Lada-commits] [PATCH 3 of 4] Updated pflichtmessgroesse model
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 19 09:14:18 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1424333692 -3600
# Node ID 7792ac182167065b1f958c5567644be12c6f8eda
# Parent 7b3911b0d06e5a21a6e8d7fbeb3590ce11ef0810
Updated pflichtmessgroesse model.
diff -r 7b3911b0d06e -r 7792ac182167 src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java
--- a/src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java Thu Feb 19 09:14:30 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/PflichtMessgroesse.java Thu Feb 19 09:14:52 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;
@@ -31,18 +29,14 @@
@Column(name="messgroesse_id")
private Integer messgroesseId;
- @ManyToOne
- @JoinColumn(name="datenbasis_id")
- private Datenbasis datenbasis;
+ @Column(name="datenbasis_id")
+ private Integer datenbasisId;
- @ManyToOne
- @JoinColumn(name="mmt_id")
- private MessMethode messMethode;
+ @Column(name="mmt_id")
+ private String mmtId;
- //bi-directional many-to-one association to Umwelt
- @ManyToOne
- @JoinColumn(name="umw_id")
- private Umwelt umwelt;
+ @Column(name="umw_id")
+ private String umweltId;
public PflichtMessgroesse() {
}
@@ -63,28 +57,27 @@
this.messgroesseId = messgroesseId;
}
- public Datenbasis getDatenbasi() {
- return this.datenbasis;
+ public Integer getDatenbasisId() {
+ return this.datenbasisId;
}
- public void setDatenbasi(Datenbasis datenbasi) {
- this.datenbasis = datenbasi;
+ public void setDatenbasisId(Integer datenbasisId) {
+ this.datenbasisId = datenbasisId;
}
- public MessMethode getMessMethode() {
- return this.messMethode;
+ public String getMmtId() {
+ return this.mmtId;
}
- public void setMessMethode(MessMethode messMethode) {
- this.messMethode = messMethode;
+ public void setMmtId(String mmtId) {
+ this.mmtId = mmtId;
}
- public Umwelt getUmwelt() {
- return this.umwelt;
+ public String getUmweltId() {
+ return this.umweltId;
}
- public void setUmwelt(Umwelt umwelt) {
- this.umwelt = umwelt;
+ public void setUmweltId(String umweltId) {
+ this.umweltId = umweltId;
}
-
}
More information about the Lada-commits
mailing list