Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
6091:75a38bc6baf2 | 6200:53fca3392c9f |
---|---|
27 Logger.getLogger(ImportBedHeightSingleValue.class); | 27 Logger.getLogger(ImportBedHeightSingleValue.class); |
28 | 28 |
29 | 29 |
30 protected ImportBedHeightSingle bedHeight; | 30 protected ImportBedHeightSingle bedHeight; |
31 | 31 |
32 protected BigDecimal station; | 32 protected Double station; |
33 protected BigDecimal height; | 33 protected Double height; |
34 protected BigDecimal uncertainty; | 34 protected Double uncertainty; |
35 protected BigDecimal dataGap; | 35 protected Double dataGap; |
36 protected BigDecimal soundingWidth; | 36 protected BigDecimal soundingWidth; |
37 protected BigDecimal width; | 37 protected Double width; |
38 | 38 |
39 protected BedHeightSingleValue peer; | 39 protected BedHeightSingleValue peer; |
40 | 40 |
41 | 41 |
42 public ImportBedHeightSingleValue( | 42 public ImportBedHeightSingleValue( |
43 ImportBedHeightSingle bedHeight, | 43 ImportBedHeightSingle bedHeight, |
44 BigDecimal station, | 44 Double station, |
45 BigDecimal height, | 45 Double height, |
46 BigDecimal uncertainty, | 46 Double uncertainty, |
47 BigDecimal dataGap, | 47 Double dataGap, |
48 BigDecimal soundingWidth, | 48 BigDecimal soundingWidth, |
49 BigDecimal width | 49 Double width |
50 ) { | 50 ) { |
51 this.bedHeight = bedHeight; | 51 this.bedHeight = bedHeight; |
52 this.station = station; | 52 this.station = station; |
53 this.height = height; | 53 this.height = height; |
54 this.uncertainty = uncertainty; | 54 this.uncertainty = uncertainty; |