Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeFacet.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 |
---|---|
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.artifactdatabase.state.Facet; | 16 import org.dive4elements.artifactdatabase.state.Facet; |
17 | 17 |
18 import org.dive4elements.river.artifacts.FLYSArtifact; | 18 import org.dive4elements.river.artifacts.D4EArtifact; |
19 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; | 19 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; |
20 | 20 |
21 | 21 |
22 /** | 22 /** |
23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> | 23 * @author <a href="mailto:ingo.weinzierl@intevation.de">Ingo Weinzierl</a> |
66 if (logger.isDebugEnabled()) { | 66 if (logger.isDebugEnabled()) { |
67 logger.debug("Get data for historical discharge curves at index: " + | 67 logger.debug("Get data for historical discharge curves at index: " + |
68 index + " / stateId: " + stateId); | 68 index + " / stateId: " + stateId); |
69 } | 69 } |
70 | 70 |
71 FLYSArtifact flys = (FLYSArtifact) artifact; | 71 D4EArtifact flys = (D4EArtifact) artifact; |
72 | 72 |
73 CalculationResult res = (CalculationResult) | 73 CalculationResult res = (CalculationResult) |
74 flys.compute(context, hash, stateId, type, false); | 74 flys.compute(context, hash, stateId, type, false); |
75 | 75 |
76 HistoricalDischargeData data = (HistoricalDischargeData) res.getData(); | 76 HistoricalDischargeData data = (HistoricalDischargeData) res.getData(); |