comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/HistoricalDischargeDifferenceFacet.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.apache.log4j.Logger; 11 import org.apache.log4j.Logger;
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 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; 17 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType;
18 18
19 19
20 /** 20 /**
21 * Difference of historical discharge curve to ... 21 * Difference of historical discharge curve to ...
55 if (logger.isDebugEnabled()) { 55 if (logger.isDebugEnabled()) {
56 logger.debug("Get data for historical discharge difference curves" + 56 logger.debug("Get data for historical discharge difference curves" +
57 " at index: " + index + " / stateId: " + stateId); 57 " at index: " + index + " / stateId: " + stateId);
58 } 58 }
59 59
60 FLYSArtifact flys = (FLYSArtifact) artifact; 60 D4EArtifact flys = (D4EArtifact) artifact;
61 61
62 CalculationResult res = (CalculationResult) 62 CalculationResult res = (CalculationResult)
63 flys.compute(context, hash, stateId, type, false); 63 flys.compute(context, hash, stateId, type, false);
64 64
65 HistoricalDischargeData data = (HistoricalDischargeData) res.getData(); 65 HistoricalDischargeData data = (HistoricalDischargeData) res.getData();

http://dive4elements.wald.intevation.org