Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/FlowVelocityFilterFacet.java @ 8202:e4606eae8ea5
sed src/**/*.java 's/logger/log/g'
author | Sascha L. Teichmann <teichmann@intevation.de> |
---|---|
date | Fri, 05 Sep 2014 12:58:17 +0200 |
parents | 42076d94977e |
children | 5e38e2924c07 |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
26 /** | 26 /** |
27 * Facet of a FlowVelocity curve. | 27 * Facet of a FlowVelocity curve. |
28 */ | 28 */ |
29 public class FlowVelocityFilterFacet extends DataFacet { | 29 public class FlowVelocityFilterFacet extends DataFacet { |
30 | 30 |
31 private static Logger logger = Logger.getLogger(FlowVelocityFilterFacet.class); | 31 private static Logger log = Logger.getLogger(FlowVelocityFilterFacet.class); |
32 | 32 |
33 public FlowVelocityFilterFacet() { | 33 public FlowVelocityFilterFacet() { |
34 // required for clone operation deepCopy() | 34 // required for clone operation deepCopy() |
35 } | 35 } |
36 | 36 |
48 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label"); | 48 this.metaData.put("Y", "chart.flow_velocity.section.yaxis.label"); |
49 } | 49 } |
50 | 50 |
51 | 51 |
52 public Object getData(Artifact artifact, CallContext context) { | 52 public Object getData(Artifact artifact, CallContext context) { |
53 logger.debug("Get data for flow velocity at index: " + index); | 53 log.debug("Get data for flow velocity at index: " + index); |
54 | 54 |
55 Double start = (Double)context.getContextValue("startkm"); | 55 Double start = (Double)context.getContextValue("startkm"); |
56 Double end = (Double)context.getContextValue("endkm"); | 56 Double end = (Double)context.getContextValue("endkm"); |
57 D4EArtifact flys = (D4EArtifact) artifact; | 57 D4EArtifact flys = (D4EArtifact) artifact; |
58 | 58 |