[Lada-commits] [PATCH] Changed from primitive datatype to class to make attribtes nullable
Wald Commits
scm-commit at wald.intevation.org
Fri Oct 28 11:07:47 CEST 2016
# HG changeset patch
# User Raimund Renkert <raimund.renkert at intevation.de>
# Date 1477645663 -7200
# Node ID 5a7488468cb287ab7709847b5c4e11bc3f25c286
# Parent a3d47e0e30a21e8e4564701e838654337fc7e39a
Changed from primitive datatype to class to make attribtes nullable.
diff -r a3d47e0e30a2 -r 5a7488468cb2 src/main/java/de/intevation/lada/model/land/ZusatzWert.java
--- a/src/main/java/de/intevation/lada/model/land/ZusatzWert.java Fri Oct 28 10:54:24 2016 +0200
+++ b/src/main/java/de/intevation/lada/model/land/ZusatzWert.java Fri Oct 28 11:07:43 2016 +0200
@@ -30,13 +30,13 @@
@Column(name="letzte_aenderung")
private Timestamp letzteAenderung;
- private float messfehler;
+ private Float messfehler;
@Column(name="messwert_pzs")
- private double messwertPzs;
+ private Double messwertPzs;
@Column(name="nwg_zu_messwert")
- private double nwgZuMesswert;
+ private Double nwgZuMesswert;
@Column(name="probe_id")
private Integer probeId;
@@ -79,27 +79,27 @@
this.letzteAenderung = letzteAenderung;
}
- public float getMessfehler() {
+ public Float getMessfehler() {
return this.messfehler;
}
- public void setMessfehler(float messfehler) {
+ public void setMessfehler(Float messfehler) {
this.messfehler = messfehler;
}
- public double getMesswertPzs() {
+ public Double getMesswertPzs() {
return this.messwertPzs;
}
- public void setMesswertPzs(double messwertPzs) {
+ public void setMesswertPzs(Double messwertPzs) {
this.messwertPzs = messwertPzs;
}
- public double getNwgZuMesswert() {
+ public Double getNwgZuMesswert() {
return this.nwgZuMesswert;
}
- public void setNwgZuMesswert(double nwgZuMesswert) {
+ public void setNwgZuMesswert(Double nwgZuMesswert) {
this.nwgZuMesswert = nwgZuMesswert;
}
More information about the Lada-commits
mailing list