# HG changeset patch # User Felix Wolfsteller # 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 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; }