[Dive4elements-commits] [PATCH 6 of 6] Let Extreme- and FixRealizingResult implement WQKmsResult
Wald Commits
scm-commit at wald.intevation.org
Mon Nov 5 14:35:24 CET 2012
# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1352122788 -3600
# Node ID 6dad08f5436949504adc08ffa4e90ea1a89e918a
# Parent e4985122e76cc0a977f9ea555313ff1717a9fb13
Let Extreme- and FixRealizingResult implement WQKmsResult.
diff -r e4985122e76c -r 6dad08f54369 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/extreme/ExtremeResult.java
--- 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;
}
diff -r e4985122e76c -r 6dad08f54369 flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/fixings/FixRealizingResult.java
--- 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;
}
More information about the Dive4elements-commits
mailing list