comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixFunction.java @ 3215:750e98fc8b76

FixA: Tweaked the derivate diagram a bit and added chart info. flys-artifacts/trunk@4838 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Fri, 29 Jun 2012 15:40:43 +0000
parents 4bd3d8bbb60c
children
comparison
equal deleted inserted replaced
3214:3287019ad04b 3215:750e98fc8b76
1 package de.intevation.flys.artifacts.model.fixings; 1 package de.intevation.flys.artifacts.model.fixings;
2 2
3 import de.intevation.flys.artifacts.math.Function; 3 import de.intevation.flys.artifacts.math.Function;
4 4
5 import java.io.Serializable;
6
7 public class FixFunction 5 public class FixFunction
8 implements Serializable
9 { 6 {
10 protected String name; 7 protected String name;
11 protected String description; 8 protected String description;
12 protected Function mathFunction; 9 protected Function function;
13 protected double maxQ; 10 protected double maxQ;
14
15 11
16 public FixFunction ( 12 public FixFunction (
17 String name, 13 String name,
18 String description, 14 String description,
19 Function f, 15 Function function,
20 double maxQ) { 16 double maxQ
21 this.name = name; 17 ) {
22 this.description = description; 18 this.name = name;
23 this.mathFunction = f; 19 this.description = description;
24 this.maxQ = maxQ; 20 this.function = function;
21 this.maxQ = maxQ;
25 } 22 }
26 23
27 public String getName() { 24 public String getName() {
28 return this.name; 25 return name;
29 } 26 }
30 27
31
32 public String getDescription() { 28 public String getDescription() {
33 return this.description; 29 return description;
34 } 30 }
35 31
36
37 public Function getFunction() { 32 public Function getFunction() {
38 return this.mathFunction; 33 return function;
39 } 34 }
40 35
41
42 public double getMaxQ() { 36 public double getMaxQ() {
43 return this.maxQ; 37 return maxQ;
44 } 38 }
45 } 39 }
46 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 40 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org