Mercurial > dive4elements > river
diff backend/src/main/java/org/dive4elements/river/importer/ImportBedHeightSingleValue.java @ 6200:53fca3392c9f
Schema change and Importer: use double to prevent rounding at import time
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Fri, 24 May 2013 16:03:52 +0200 |
parents | 4c3ccf2b0304 |
children | dc166b225775 |
line wrap: on
line diff
--- a/backend/src/main/java/org/dive4elements/river/importer/ImportBedHeightSingleValue.java Fri May 24 13:57:40 2013 +0200 +++ b/backend/src/main/java/org/dive4elements/river/importer/ImportBedHeightSingleValue.java Fri May 24 16:03:52 2013 +0200 @@ -29,24 +29,24 @@ protected ImportBedHeightSingle bedHeight; - protected BigDecimal station; - protected BigDecimal height; - protected BigDecimal uncertainty; - protected BigDecimal dataGap; + protected Double station; + protected Double height; + protected Double uncertainty; + protected Double dataGap; protected BigDecimal soundingWidth; - protected BigDecimal width; + protected Double width; protected BedHeightSingleValue peer; public ImportBedHeightSingleValue( ImportBedHeightSingle bedHeight, - BigDecimal station, - BigDecimal height, - BigDecimal uncertainty, - BigDecimal dataGap, + Double station, + Double height, + Double uncertainty, + Double dataGap, BigDecimal soundingWidth, - BigDecimal width + Double width ) { this.bedHeight = bedHeight; this.station = station;