comparison 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
comparison
equal deleted inserted replaced
3034:842502b3913a 3035:b388d888330d
1 package de.intevation.flys.artifacts.model.fixings;
2
3 import de.intevation.flys.artifacts.math.Function;
4
5 import java.io.Serializable;
6
7 public class FixFunction
8 implements Serializable
9 {
10 protected String name;
11 protected String description;
12 protected Function mathFunction;
13 protected double maxQ;
14
15
16 public FixFunction (
17 String name,
18 String description,
19 Function f,
20 double maxQ) {
21 this.name = name;
22 this.description = description;
23 this.mathFunction = f;
24 this.maxQ = maxQ;
25 }
26
27 public String getName() {
28 return this.name;
29 }
30
31
32 public String getDescription() {
33 return this.description;
34 }
35
36
37 public Function getFunction() {
38 return this.mathFunction;
39 }
40
41
42 public double getMaxQ() {
43 return this.maxQ;
44 }
45 }

http://dive4elements.wald.intevation.org