comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java @ 1726:e3b9164a85fe

Fetch name of static WKms. flys-artifacts/trunk@3008 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 18 Oct 2011 14:03:43 +0000
parents d9afb16d1fd4
children 2e5ebdeb8af9
comparison
equal deleted inserted replaced
1725:d9afb16d1fd4 1726:e3b9164a85fe
199 * @return WKms according to parameterization (can be null); 199 * @return WKms according to parameterization (can be null);
200 */ 200 */
201 public WKms getWKms(int idx) { 201 public WKms getWKms(int idx) {
202 logger.debug("StaticWKmsArtifact.getWKms"); 202 logger.debug("StaticWKmsArtifact.getWKms");
203 203
204 // TODO KIND is not needed.
205 return WKmsFactory.getWKms( 204 return WKmsFactory.getWKms(
206 WKmsFactory.KIND_PROTECTION,
207 Integer.valueOf(getDataAsString("col_pos")), 205 Integer.valueOf(getDataAsString("col_pos")),
208 Integer.valueOf(getDataAsString("wst_id"))); 206 Integer.valueOf(getDataAsString("wst_id")));
209 } 207 }
210 } 208 }
211 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 : 209 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org