Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/BedHeightSingleValue.java @ 6298:f095b58c95d9 double-precision
Bedheight single parser: do not reject lines with missing values
author | Tom Gottfried <tom.gottfried@intevation.de> |
---|---|
date | Wed, 12 Jun 2013 14:25:58 +0200 |
parents | a3fb76cf79b6 |
children | 4b26fd60105f |
comparison
equal
deleted
inserted
replaced
6274:3d8f9e3bbf2e | 6298:f095b58c95d9 |
---|---|
9 package org.dive4elements.river.model; | 9 package org.dive4elements.river.model; |
10 | 10 |
11 import java.util.List; | 11 import java.util.List; |
12 | 12 |
13 import java.io.Serializable; | 13 import java.io.Serializable; |
14 import java.math.BigDecimal; | 14 //import java.math.BigDecimal; |
15 | 15 |
16 import javax.persistence.Entity; | 16 import javax.persistence.Entity; |
17 import javax.persistence.Id; | 17 import javax.persistence.Id; |
18 import javax.persistence.Table; | 18 import javax.persistence.Table; |
19 import javax.persistence.GeneratedValue; | 19 import javax.persistence.GeneratedValue; |
45 | 45 |
46 private Double station; | 46 private Double station; |
47 private Double height; | 47 private Double height; |
48 private Double uncertainty; | 48 private Double uncertainty; |
49 private Double dataGap; | 49 private Double dataGap; |
50 private BigDecimal soundingWidth; | 50 // private BigDecimal soundingWidth; |
51 private Double soundingWidth; | |
51 private Double width; | 52 private Double width; |
52 | 53 |
53 | 54 |
54 public BedHeightSingleValue() { | 55 public BedHeightSingleValue() { |
55 } | 56 } |
58 BedHeightSingle bedHeight, | 59 BedHeightSingle bedHeight, |
59 Double station, | 60 Double station, |
60 Double height, | 61 Double height, |
61 Double uncertainty, | 62 Double uncertainty, |
62 Double dataGap, | 63 Double dataGap, |
63 BigDecimal soundingWidth, | 64 // BigDecimal soundingWidth, |
65 Double soundingWidth, | |
64 Double width | 66 Double width |
65 ) { | 67 ) { |
66 this.bedHeight = bedHeight; | 68 this.bedHeight = bedHeight; |
67 this.station = station; | 69 this.station = station; |
68 this.height = height; | 70 this.height = height; |
134 public void setDataGap(Double dataGap) { | 136 public void setDataGap(Double dataGap) { |
135 this.dataGap = dataGap; | 137 this.dataGap = dataGap; |
136 } | 138 } |
137 | 139 |
138 @Column(name="sounding_width") | 140 @Column(name="sounding_width") |
139 public BigDecimal getSoundingWidth() { | 141 // public BigDecimal getSoundingWidth() { |
142 public Double getSoundingWidth() { | |
140 return soundingWidth; | 143 return soundingWidth; |
141 } | 144 } |
142 | 145 |
143 public void setSoundingWidth(BigDecimal soundingWidth) { | 146 //public void setSoundingWidth(BigDecimal soundingWidth) { |
147 public void setSoundingWidth(Double soundingWidth) { | |
144 this.soundingWidth = soundingWidth; | 148 this.soundingWidth = soundingWidth; |
145 } | 149 } |
146 | 150 |
147 @Column(name="width") | 151 @Column(name="width") |
148 public Double getWidth() { | 152 public Double getWidth() { |