Mercurial > dive4elements > river
diff artifacts/src/main/java/org/dive4elements/river/artifacts/access/GaugeAccess.java @ 5838:5aa05a7a34b7
Rename modules to more fitting names.
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Thu, 25 Apr 2013 15:23:37 +0200 |
parents | flys-artifacts/src/main/java/org/dive4elements/river/artifacts/access/GaugeAccess.java@bd047b71ab37 |
children | 4897a58c8746 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/artifacts/src/main/java/org/dive4elements/river/artifacts/access/GaugeAccess.java Thu Apr 25 15:23:37 2013 +0200 @@ -0,0 +1,27 @@ +package org.dive4elements.river.artifacts.access; + +import org.apache.log4j.Logger; + +import org.dive4elements.artifacts.CallContext; +import org.dive4elements.river.artifacts.FLYSArtifact; +import org.dive4elements.river.utils.FLYSUtils; + +/** For the moment, light-weight wrapper around FLYSUtils. */ +// TODO employ 'Caching' like other Accesses, remove usage of FLYSUtils. +public class GaugeAccess +extends RangeAccess +{ + private static Logger logger = Logger.getLogger(GaugeAccess.class); + + public GaugeAccess(FLYSArtifact artifact, CallContext context) { + super(artifact, context); + } + + + public String getGaugeName() { + return FLYSUtils.getGaugename(this.getArtifact()); + } + + // TODO there is also getGauges in FLYSUtils... +} +// vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :