Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/sq/SQOutlierMeasurementFacet.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.model.CalculationResult; | 18 import org.dive4elements.river.artifacts.model.CalculationResult; |
19 import org.dive4elements.river.artifacts.model.DataFacet; | 19 import org.dive4elements.river.artifacts.model.DataFacet; |
20 import org.dive4elements.river.artifacts.model.FacetTypes; | 20 import org.dive4elements.river.artifacts.model.FacetTypes; |
21 | 21 |
51 | 51 |
52 @Override | 52 @Override |
53 public Object getData(Artifact artifact, CallContext context) { | 53 public Object getData(Artifact artifact, CallContext context) { |
54 log.debug("SQOutlierMeasurementFacet.getData"); | 54 log.debug("SQOutlierMeasurementFacet.getData"); |
55 | 55 |
56 if (!(artifact instanceof FLYSArtifact)) { | 56 if (!(artifact instanceof D4EArtifact)) { |
57 return null; | 57 return null; |
58 } | 58 } |
59 | 59 |
60 FLYSArtifact flys = (FLYSArtifact) artifact; | 60 D4EArtifact flys = (D4EArtifact) artifact; |
61 | 61 |
62 CalculationResult res = (CalculationResult) flys.compute( | 62 CalculationResult res = (CalculationResult) flys.compute( |
63 context, ComputeType.ADVANCE, false); | 63 context, ComputeType.ADVANCE, false); |
64 | 64 |
65 int idx = this.index >> 16; | 65 int idx = this.index >> 16; |