comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java @ 4259:5cc9453456a7

First complete but untested version of the 'Auslagerung extremer Wasserspiegellagen' calculation.
author Sascha L. Teichmann <teichmann@intevation.de>
date Thu, 25 Oct 2012 17:25:37 +0200
parents d52c4ca93ffb
children 7d0dd96210b5
comparison
equal deleted inserted replaced
4258:2c6e571f366a 4259:5cc9453456a7
1 package de.intevation.flys.artifacts.model.extreme; 1 package de.intevation.flys.artifacts.model.extreme;
2 2
3 import java.io.Serializable; 3 import java.io.Serializable;
4 4
5 import de.intevation.flys.artifacts.model.WQKms;
6
7 import de.intevation.flys.utils.KMIndex;
8
5 public class ExtremeResult 9 public class ExtremeResult
6 implements Serializable 10 implements Serializable
7 { 11 {
12 protected KMIndex<Curve> curves;
13 protected WQKms [] wqkms;
14
8 public ExtremeResult() { 15 public ExtremeResult() {
16 }
17
18 public ExtremeResult(KMIndex<Curve> curves, WQKms [] wqkms) {
19 this.curves = curves;
20 this.wqkms = wqkms;
21 }
22
23 /**
24 * Gets the curves for this instance.
25 *
26 * @return The curves.
27 */
28 public KMIndex<Curve> getCurves() {
29 return this.curves;
30 }
31
32 /**
33 * Sets the curves for this instance.
34 *
35 * @param curves The curves.
36 */
37 public void setCurves(KMIndex<Curve> curves) {
38 this.curves = curves;
39 }
40
41 /**
42 * Gets the wqkms for this instance.
43 *
44 * @return The wqkms.
45 */
46 public WQKms[] getWQKms() {
47 return this.wqkms;
48 }
49
50 /**
51 * Gets the wqkms for this instance.
52 *
53 * @param index The index to get.
54 * @return The wqkms.
55 */
56 public WQKms getWQKms(int index) {
57 return this.wqkms[index];
58 }
59
60 /**
61 * Sets the wqkms for this instance.
62 *
63 * @param wqkms The wqkms.
64 */
65 public void setWQKms(WQKms[] wqkms) {
66 this.wqkms = wqkms;
67 }
68
69 /**
70 * Sets the wqkms for this instance.
71 *
72 * @param index The index to set.
73 * @param wqkms The wqkms.
74 */
75 public void setWQKms(int index, WQKms wqkms) {
76 this.wqkms[index] = wqkms;
9 } 77 }
10 } 78 }
11 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : 79 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :

http://dive4elements.wald.intevation.org