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.fixings; raimund@3035: teichmann@5831: import org.dive4elements.river.artifacts.math.Function; raimund@3035: raimund@3035: public class FixFunction raimund@3035: { sascha@3215: protected String name; sascha@3215: protected String description; sascha@3215: protected Function function; sascha@3215: protected double maxQ; raimund@3035: raimund@3035: public FixFunction ( sascha@3215: String name, sascha@3215: String description, sascha@3215: Function function, sascha@3215: double maxQ sascha@3215: ) { sascha@3215: this.name = name; sascha@3215: this.description = description; sascha@3215: this.function = function; sascha@3215: this.maxQ = maxQ; raimund@3035: } raimund@3035: raimund@3035: public String getName() { sascha@3215: return name; raimund@3035: } raimund@3035: sascha@3215: public String getDescription() { sascha@3215: return description; sascha@3215: } raimund@3035: raimund@3035: public Function getFunction() { sascha@3215: return function; raimund@3035: } raimund@3035: raimund@3035: public double getMaxQ() { sascha@3215: return maxQ; raimund@3035: } raimund@3035: } sascha@3083: // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :