raimund@3035: package de.intevation.flys.artifacts.model.fixings; raimund@3035: raimund@3035: import de.intevation.flys.artifacts.math.Function; raimund@3035: raimund@3035: import java.io.Serializable; raimund@3035: raimund@3035: public class FixFunction raimund@3035: implements Serializable raimund@3035: { raimund@3035: protected String name; raimund@3035: protected String description; raimund@3035: protected Function mathFunction; raimund@3035: protected double maxQ; raimund@3035: raimund@3035: raimund@3035: public FixFunction ( raimund@3035: String name, raimund@3035: String description, raimund@3035: Function f, raimund@3035: double maxQ) { raimund@3035: this.name = name; raimund@3035: this.description = description; raimund@3035: this.mathFunction = f; raimund@3035: this.maxQ = maxQ; raimund@3035: } raimund@3035: raimund@3035: public String getName() { raimund@3035: return this.name; raimund@3035: } raimund@3035: raimund@3035: raimund@3035: public String getDescription() { raimund@3035: return this.description; raimund@3035: } raimund@3035: raimund@3035: raimund@3035: public Function getFunction() { raimund@3035: return this.mathFunction; raimund@3035: } raimund@3035: raimund@3035: raimund@3035: public double getMaxQ() { raimund@3035: return this.maxQ; raimund@3035: } raimund@3035: }