diff flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java @ 3035:b388d888330d

Implemented facets and splitted up the event facet.Implemented facets and splitted up the event facet. flys-artifacts/trunk@4604 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Wed, 06 Jun 2012 11:35:32 +0000
parents
children 4bd3d8bbb60c
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java	Wed Jun 06 11:35:32 2012 +0000
@@ -0,0 +1,45 @@
+package de.intevation.flys.artifacts.model.fixings;
+
+import de.intevation.flys.artifacts.math.Function;
+
+import java.io.Serializable;
+
+public class FixFunction
+implements   Serializable
+{
+    protected String name;
+    protected String description;
+    protected Function mathFunction;
+    protected double maxQ;
+
+
+    public FixFunction (
+        String name,
+        String description,
+        Function f,
+        double maxQ) {
+            this.name = name;
+            this.description = description;
+            this.mathFunction = f;
+            this.maxQ = maxQ;
+    }
+
+    public String getName() {
+        return this.name;
+    }
+
+
+    public String getDescription() {
+        return this.description;
+    }
+
+
+    public Function getFunction() {
+        return this.mathFunction;
+    }
+
+
+    public double getMaxQ() {
+        return this.maxQ;
+    }
+}

http://dive4elements.wald.intevation.org