comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedHeightFactory.java @ 6563:ec32ccf7a753

More doc fixes.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Thu, 11 Jul 2013 21:54:41 +0200
parents 4f67b9ceb9e2
children 4ac054834294
comparison
equal deleted inserted replaced
6562:4f67b9ceb9e2 6563:ec32ccf7a753
60 private BedHeightFactory() { 60 private BedHeightFactory() {
61 } 61 }
62 62
63 63
64 /** 64 /**
65 * Get WKms for given column and wst_id, caring about the cache. 65 * Get BedHeight for given type and height_id, caring about the cache.
66 */ 66 */
67 public static BedHeight getHeight(String type, int height_id, int time) { 67 public static BedHeight getHeight(String type, int height_id, int time) {
68 log.debug("BedHeightFactory.getHeight"); 68 log.debug("BedHeightFactory.getHeight");
69 Cache cache = CacheFactory.getCache(StaticBedHeightCacheKey.CACHE_NAME); 69 Cache cache = CacheFactory.getCache(StaticBedHeightCacheKey.CACHE_NAME);
70 70
90 cache.put(element); 90 cache.put(element);
91 } 91 }
92 return values; 92 return values;
93 } 93 }
94 94
95 /** Get name for a WKms. */ 95 /** Get name for a BedHeight. */
96 public static String getHeightName(String type, int height_id) { 96 public static String getHeightName(String type, int height_id) {
97 log.debug("BedHeightFactory.getHeightName height_id/" + height_id); 97 log.debug("BedHeightFactory.getHeightName height_id/" + height_id);
98 98
99 String name = null; 99 String name = null;
100 Session session = SessionHolder.HOLDER.get(); 100 Session session = SessionHolder.HOLDER.get();

http://dive4elements.wald.intevation.org