changeset 4401:6dad08f54369

Let Extreme- and FixRealizingResult implement WQKmsResult.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Mon, 05 Nov 2012 14:39:48 +0100
parents e4985122e76c
children c84630d544a1
files flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java	Mon Nov 05 12:25:39 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java	Mon Nov 05 14:39:48 2012 +0100
@@ -3,12 +3,13 @@
 import java.io.Serializable;
 
 import de.intevation.flys.artifacts.model.WQKms;
+import de.intevation.flys.artifacts.model.WQKmsResult;
 
 import de.intevation.flys.utils.KMIndex;
 
 /** Result from an extreme value (extrapolation) calculation. */
 public class ExtremeResult
-implements   Serializable
+implements   Serializable, WQKmsResult
 {
     /** Curves that refer to actual values and a function for extrapolation. */
     protected KMIndex<Curve> curves;
@@ -46,6 +47,7 @@
      *
      * @return The wqkms.
      */
+    @Override
     public WQKms[] getWQKms() {
         return this.wqkms;
     }
--- a/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java	Mon Nov 05 12:25:39 2012 +0100
+++ b/flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java	Mon Nov 05 14:39:48 2012 +0100
@@ -3,11 +3,13 @@
 import de.intevation.flys.artifacts.model.WQKms;
 
 import de.intevation.flys.artifacts.model.Parameters;
+import de.intevation.flys.artifacts.model.WQKmsResult;
 
 import de.intevation.flys.utils.KMIndex;
 
 public class FixRealizingResult
 extends      FixResult
+implements   WQKmsResult
 {
     public WQKms [] wqkms;
 
@@ -24,6 +26,7 @@
         this.wqkms = wqkms;
     }
 
+    @Override
     public WQKms [] getWQKms() {
         return wqkms;
     }

http://dive4elements.wald.intevation.org