comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/GaugeAccess.java @ 4647:1fea4243721c

Add stubs for GaugeAccess and RangeAccess, for they do not get lost. These cannot be used as is, but is a starting stone for proper implementation and refactoring.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Wed, 05 Dec 2012 13:57:50 +0100
parents
children 756aba0d2a7a
comparison
equal deleted inserted replaced
4646:d70284c92728 4647:1fea4243721c
1 package de.intevation.flys.artifacts.access;
2
3 import java.util.Arrays;
4
5 import org.apache.log4j.Logger;
6
7 import de.intevation.artifacts.CallContext;
8 import de.intevation.flys.artifacts.FLYSArtifact;
9 import de.intevation.flys.utils.FLYSUtils;
10 import de.intevation.flys.utils.StringUtil;
11
12 /** For the moment, light-weight wrapper around FLYSUtils. */
13 // TODO employ 'Caching' like other Accesses, remove usage of FLYSUtils.
14 public class GaugeAccess
15 extends RangeAccess
16 {
17 private static Logger logger = Logger.getLogger(GaugeAccess.class);
18
19 public GaugeAccess(FLYSArtifact artifact, CallContext context) {
20 super(artifact, context);
21 }
22
23
24 public String getGaugeName() {
25 return FLYSUtils.getGaugename(this.getArtifact());
26 }
27
28 // TODO there is also getGauges in FLYSUtils...
29 }
30 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :

http://dive4elements.wald.intevation.org