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.model; felix@1087: felix@1087: /** felix@1087: * Implementation of a pair. felix@1087: */ felix@1087: public class NamedDouble felix@1087: extends NamedObjectImpl felix@1087: { felix@1087: protected double value; felix@1087: felix@1087: felix@1087: /** felix@1087: * @param name name for the given value. felix@1087: * @param value value. felix@1087: */ felix@1087: public NamedDouble(String name, double value) { felix@1087: super(name); felix@1087: this.value = value; felix@1087: } felix@1087: felix@1087: felix@1087: /** felix@1087: * Get the value. felix@1087: * @return the value. felix@1087: */ felix@1087: public double getValue() { felix@1087: return this.value; felix@1087: } felix@1087: } sascha@3083: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :