Mercurial > dive4elements > river
view flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/NamedDouble.java @ 2081:aa9cc91c8193
#444 Take care on NullPointerExceptions in getWQMode. Take 'false' as default value if no 'wq_free' item is existing.
flys-artifacts/trunk@3597 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 05 Jan 2012 14:15:07 +0000 |
parents | 22149b0545b9 |
children | 4bd3d8bbb60c |
line wrap: on
line source
package de.intevation.flys.artifacts.model; /** * Implementation of a <String,double> pair. */ public class NamedDouble extends NamedObjectImpl { protected double value; /** * @param name name for the given value. * @param value value. */ public NamedDouble(String name, double value) { super(name); this.value = value; } /** * Get the value. * @return the value. */ public double getValue() { return this.value; } }