Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/minfo/SedimentLoadFactory.java @ 5662:7e3cde8b564c
Cosmetics, docs, vimlines.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 11 Apr 2013 12:43:02 +0200 |
parents | b6297a67823e |
children | 62ac8fa61780 |
comparison
equal
deleted
inserted
replaced
5661:b6297a67823e | 5662:7e3cde8b564c |
---|---|
16 | 16 |
17 import de.intevation.flys.artifacts.cache.CacheFactory; | 17 import de.intevation.flys.artifacts.cache.CacheFactory; |
18 import de.intevation.flys.artifacts.model.StaticSedimentLoadCacheKey; | 18 import de.intevation.flys.artifacts.model.StaticSedimentLoadCacheKey; |
19 import de.intevation.flys.backend.SessionHolder; | 19 import de.intevation.flys.backend.SessionHolder; |
20 | 20 |
21 | 21 /** Pull Sediment Loads out of db. */ |
22 public class SedimentLoadFactory | 22 public class SedimentLoadFactory |
23 { | 23 { |
24 /** Private logger to use here. */ | 24 /** Private logger to use here. */ |
25 private static Logger log = Logger.getLogger(SedimentLoadFactory.class); | 25 private static Logger log = Logger.getLogger(SedimentLoadFactory.class); |
26 | 26 |
335 return load; | 335 return load; |
336 } | 336 } |
337 return new SedimentLoad(); | 337 return new SedimentLoad(); |
338 } | 338 } |
339 | 339 |
340 /** | 340 |
341 * | |
342 */ | |
343 protected static void getValues ( | 341 protected static void getValues ( |
344 String fraction, | 342 String fraction, |
345 SQLQuery query, | 343 SQLQuery query, |
346 SedimentLoad load | 344 SedimentLoad load |
347 ) { | 345 ) { |
373 load.setSuspSandBed(km, v); | 371 load.setSuspSandBed(km, v); |
374 } | 372 } |
375 } | 373 } |
376 } | 374 } |
377 } | 375 } |
376 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : |