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