Mercurial > lada > lada-server
comparison src/main/java/de/intevation/lada/model/ZusatzWert.java @ 944:af0883b73551
Fix typo.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 18 May 2016 14:12:41 +0200 |
parents | 54e83373bfae |
children | 60648364134e |
comparison
equal
deleted
inserted
replaced
943:0f6773f74b62 | 944:af0883b73551 |
---|---|
15 import javax.persistence.GenerationType; | 15 import javax.persistence.GenerationType; |
16 import javax.persistence.Id; | 16 import javax.persistence.Id; |
17 import javax.persistence.MappedSuperclass; | 17 import javax.persistence.MappedSuperclass; |
18 import javax.persistence.Table; | 18 import javax.persistence.Table; |
19 import javax.persistence.Transient; | 19 import javax.persistence.Transient; |
20 | |
21 import de.intevation.lada.util.data.MathUtil; | |
20 | 22 |
21 | 23 |
22 /** | 24 /** |
23 * The persistent class for the zusatz_wert database table. | 25 * The persistent class for the zusatz_wert database table. |
24 */ | 26 */ |
85 public Double getMesswertPzs() { | 87 public Double getMesswertPzs() { |
86 return this.messwertPzs; | 88 return this.messwertPzs; |
87 } | 89 } |
88 | 90 |
89 public void setMesswertPzs(Double messwertPzs) { | 91 public void setMesswertPzs(Double messwertPzs) { |
90 this.messwertPzs = messwertPzs; | 92 this.messwertPzs = MathUtil.roundDoubleToThree(messwertPzs); |
91 } | 93 } |
92 | 94 |
93 public Double getNwgZuMesswert() { | 95 public Double getNwgZuMesswert() { |
94 return this.nwgZuMesswert; | 96 return this.nwgZuMesswert; |
95 } | 97 } |
96 | 98 |
97 public void setNwgZuMesswert(Double nwgZuMesswert) { | 99 public void setNwgZuMesswert(Double nwgZuMesswert) { |
98 this.nwgZuMesswert = nwgZuMesswert; | 100 this.nwgZuMesswert = MathUtil.roundDoubleToThree(nwgZuMesswert); |
99 } | 101 } |
100 | 102 |
101 public Integer getProbeId() { | 103 public Integer getProbeId() { |
102 return this.probeId; | 104 return this.probeId; |
103 } | 105 } |