Mercurial > dive4elements > river
comparison backend/src/main/java/org/dive4elements/river/model/BedHeightValue.java @ 8721:1083cb887ffb
(issue1754) Do not filter BedHeightSoundings to range.
This is more symetric to WINFO Raw data and fixes the problematic
master artifact information loss from issue1754 as the information
from the master (range) is no longer required.
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 27 Apr 2015 17:35:28 +0200 |
parents | 6d8d7425a6b5 |
children | ff27548d078c |
comparison
equal
deleted
inserted
replaced
8720:3d0ef0a66503 | 8721:1083cb887ffb |
---|---|
138 | 138 |
139 public void setSoundingWidth(Double soundingWidth) { | 139 public void setSoundingWidth(Double soundingWidth) { |
140 this.soundingWidth = soundingWidth; | 140 this.soundingWidth = soundingWidth; |
141 } | 141 } |
142 | 142 |
143 public static List<BedHeightValue> getBedHeightValues( | |
144 BedHeight single) { | |
145 Session session = SessionHolder.HOLDER.get(); | |
146 | |
147 Query query = session.createQuery( | |
148 "from BedHeightValue where bedHeight=:single"); | |
149 | |
150 query.setParameter("single", single); | |
151 return query.list(); | |
152 } | |
153 | |
143 | 154 |
144 public static List<BedHeightValue> getBedHeightValues( | 155 public static List<BedHeightValue> getBedHeightValues( |
145 BedHeight single, | 156 BedHeight single, |
146 double kmLo, | 157 double kmLo, |
147 double kmHi | 158 double kmHi |