teichmann@5863: /* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde teichmann@5863: * Software engineering by Intevation GmbH teichmann@5863: * teichmann@5863: * This file is Free Software under the GNU AGPL (>=v3) teichmann@5863: * and comes with ABSOLUTELY NO WARRANTY! Check out the teichmann@5863: * documentation coming with Dive4Elements River for details. teichmann@5863: */ teichmann@5863: teichmann@5831: package org.dive4elements.river.artifacts.access; felix@4647: felix@4647: import org.apache.log4j.Logger; felix@4647: teichmann@5831: import org.dive4elements.artifacts.CallContext; teichmann@5831: import org.dive4elements.river.artifacts.FLYSArtifact; teichmann@5865: import org.dive4elements.river.utils.RiverUtils; felix@4647: teichmann@5865: /** For the moment, light-weight wrapper around RiverUtils. */ teichmann@5865: // TODO employ 'Caching' like other Accesses, remove usage of RiverUtils. felix@4647: public class GaugeAccess felix@4647: extends RangeAccess felix@4647: { felix@4647: private static Logger logger = Logger.getLogger(GaugeAccess.class); felix@4647: felix@4647: public GaugeAccess(FLYSArtifact artifact, CallContext context) { felix@4647: super(artifact, context); felix@4647: } felix@4647: felix@4647: felix@4647: public String getGaugeName() { teichmann@5865: return RiverUtils.getGaugename(this.getArtifact()); felix@4647: } felix@4647: teichmann@5865: // TODO there is also getGauges in RiverUtils... felix@4647: } felix@4647: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf-8 :