Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierCurveFacet.java @ 5867:59ff03ff48f1
River artifacts: Renamed FLYSArtifact(Collection) to D4EArtifact(Collection).
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Sun, 28 Apr 2013 15:23:01 +0200 |
parents | 4897a58c8746 |
children | af13ceeba52a |
comparison
equal
deleted
inserted
replaced
5866:9a6741ccf6d4 | 5867:59ff03ff48f1 |
---|---|
11 import org.dive4elements.artifactdatabase.state.Facet; | 11 import org.dive4elements.artifactdatabase.state.Facet; |
12 | 12 |
13 import org.dive4elements.artifacts.Artifact; | 13 import org.dive4elements.artifacts.Artifact; |
14 import org.dive4elements.artifacts.CallContext; | 14 import org.dive4elements.artifacts.CallContext; |
15 | 15 |
16 import org.dive4elements.river.artifacts.FLYSArtifact; | 16 import org.dive4elements.river.artifacts.D4EArtifact; |
17 | 17 |
18 import org.dive4elements.river.artifacts.math.fitting.Function; | 18 import org.dive4elements.river.artifacts.math.fitting.Function; |
19 import org.dive4elements.river.artifacts.math.fitting.FunctionFactory; | 19 import org.dive4elements.river.artifacts.math.fitting.FunctionFactory; |
20 | 20 |
21 import org.dive4elements.river.artifacts.model.CalculationResult; | 21 import org.dive4elements.river.artifacts.model.CalculationResult; |
58 | 58 |
59 @Override | 59 @Override |
60 public Object getData(Artifact artifact, CallContext context) { | 60 public Object getData(Artifact artifact, CallContext context) { |
61 log.debug("SQOutlierCurveFacet.getData"); | 61 log.debug("SQOutlierCurveFacet.getData"); |
62 | 62 |
63 if (!(artifact instanceof FLYSArtifact)) { | 63 if (!(artifact instanceof D4EArtifact)) { |
64 return null; | 64 return null; |
65 } | 65 } |
66 | 66 |
67 FLYSArtifact flys = (FLYSArtifact) artifact; | 67 D4EArtifact flys = (D4EArtifact) artifact; |
68 | 68 |
69 CalculationResult res = (CalculationResult) flys.compute( | 69 CalculationResult res = (CalculationResult) flys.compute( |
70 context, ComputeType.ADVANCE, false); | 70 context, ComputeType.ADVANCE, false); |
71 | 71 |
72 int idx = this.index >> 16; | 72 int idx = this.index >> 16; |