Mercurial > dive4elements > river
view artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQ.java @ 6711:0f0f09badd29
Doc.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Tue, 30 Jul 2013 07:35:57 +0200 |
parents | af13ceeba52a |
children | b8f94e865875 |
line wrap: on
line source
/* Copyright (C) 2011, 2012, 2013 by Bundesanstalt für Gewässerkunde * Software engineering by Intevation GmbH * * This file is Free Software under the GNU AGPL (>=v3) * and comes with ABSOLUTELY NO WARRANTY! Check out the * documentation coming with Dive4Elements River for details. */ package org.dive4elements.river.artifacts.model.sq; import java.io.Serializable; public class SQ implements Serializable { protected double s; protected double q; public SQ() { } public SQ(double s, double q) { this.s = s; this.q = q; } public double getS() { return s; } public void setS(double s) { this.s = s; } public double getQ() { return q; } public void setQ(double q) { this.q = q; } public boolean isValid() { return !Double.isNaN(s) && !Double.isNaN(q); } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :