Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedloadDiameterFacet.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.artifactdatabase.state.Facet; | 13 import org.dive4elements.artifactdatabase.state.Facet; |
14 import org.dive4elements.artifacts.Artifact; | 14 import org.dive4elements.artifacts.Artifact; |
15 import org.dive4elements.artifacts.CallContext; | 15 import org.dive4elements.artifacts.CallContext; |
16 import org.dive4elements.river.artifacts.FLYSArtifact; | 16 import org.dive4elements.river.artifacts.D4EArtifact; |
17 import org.dive4elements.river.artifacts.model.CalculationResult; | 17 import org.dive4elements.river.artifacts.model.CalculationResult; |
18 import org.dive4elements.river.artifacts.model.DataFacet; | 18 import org.dive4elements.river.artifacts.model.DataFacet; |
19 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; | 19 import org.dive4elements.river.artifacts.states.DefaultState.ComputeType; |
20 | 20 |
21 | 21 |
40 } | 40 } |
41 | 41 |
42 public Object getData(Artifact artifact, CallContext context) { | 42 public Object getData(Artifact artifact, CallContext context) { |
43 logger.debug("Get data for bedload diameter at index: " + index); | 43 logger.debug("Get data for bedload diameter at index: " + index); |
44 | 44 |
45 FLYSArtifact flys = (FLYSArtifact) artifact; | 45 D4EArtifact flys = (D4EArtifact) artifact; |
46 | 46 |
47 CalculationResult res = (CalculationResult) flys.compute(context, hash, | 47 CalculationResult res = (CalculationResult) flys.compute(context, hash, |
48 stateId, type, false); | 48 stateId, type, false); |
49 | 49 |
50 int ndx = index >> 8; | 50 int ndx = index >> 8; |