Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/access/GaugeAccess.java @ 4649:64664e8244ff
Merged
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Wed, 05 Dec 2012 23:58:26 +0100 |
parents | 1fea4243721c |
children | 756aba0d2a7a |
comparison
equal
deleted
inserted
replaced
4648:c04db3178d09 | 4649:64664e8244ff |
---|---|
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 : |