[Lada-commits] [PATCH 2 of 3] Updated staat model
Wald Commits
scm-commit at wald.intevation.org
Thu Feb 19 14:49:16 CET 2015
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1424353793 -3600
# Node ID b28ad2ee8920645e65163b2dcfcdabec5023aca0
# Parent 90e6bc0d653e02c2b443c0e84c02241860f37f60
Updated staat model.
diff -r 90e6bc0d653e -r b28ad2ee8920 src/main/java/de/intevation/lada/model/stamm/Staat.java
--- a/src/main/java/de/intevation/lada/model/stamm/Staat.java Thu Feb 19 14:49:36 2015 +0100
+++ b/src/main/java/de/intevation/lada/model/stamm/Staat.java Thu Feb 19 14:49:53 2015 +0100
@@ -47,10 +47,8 @@
@Column(name="staat_kurz")
private String staatKurz;
- //bi-directional many-to-one association to KoordinatenArt
- @ManyToOne
- @JoinColumn(name="kda_id")
- private KoordinatenArt koordinatenArt;
+ @Column(name="kda_id")
+ private Integer koordinatenartId;
public Staat() {
}
@@ -119,12 +117,12 @@
this.staatKurz = staatKurz;
}
- public KoordinatenArt getKoordinatenArt() {
- return this.koordinatenArt;
+ public Integer getKoordinatenartId() {
+ return this.koordinatenartId;
}
- public void setKoordinatenArt(KoordinatenArt koordinatenArt) {
- this.koordinatenArt = koordinatenArt;
+ public void setKoordinatenartId(Integer koordinatenartId) {
+ this.koordinatenartId = koordinatenartId;
}
}
More information about the Lada-commits
mailing list