Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/fixings/FixAnalysisPeriodsFacet.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.fixings; | 9 package org.dive4elements.river.artifacts.model.fixings; |
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.access.FixAnalysisAccess; | 16 import org.dive4elements.river.artifacts.access.FixAnalysisAccess; |
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.DateRange; | 19 import org.dive4elements.river.artifacts.model.DateRange; |
65 */ | 65 */ |
66 @Override | 66 @Override |
67 public Object getData(Artifact artifact, CallContext context) { | 67 public Object getData(Artifact artifact, CallContext context) { |
68 logger.debug("FixAnalysisPeriodsFacet.getData"); | 68 logger.debug("FixAnalysisPeriodsFacet.getData"); |
69 | 69 |
70 if (artifact instanceof FLYSArtifact) { | 70 if (artifact instanceof D4EArtifact) { |
71 FLYSArtifact flys = (FLYSArtifact)artifact; | 71 D4EArtifact flys = (D4EArtifact)artifact; |
72 FixAnalysisAccess access = new FixAnalysisAccess(flys, context); | 72 FixAnalysisAccess access = new FixAnalysisAccess(flys, context); |
73 | 73 |
74 CalculationResult res = | 74 CalculationResult res = |
75 (CalculationResult) flys.compute(context, | 75 (CalculationResult) flys.compute(context, |
76 ComputeType.ADVANCE, | 76 ComputeType.ADVANCE, |