Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffMorphSubFacet.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 | 5acaf44062b5 |
children | 8a14605fb64a |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
13 | 13 |
14 public class BedDiffMorphSubFacet | 14 public class BedDiffMorphSubFacet |
15 extends DataFacet | 15 extends DataFacet |
16 implements FacetTypes | 16 implements FacetTypes |
17 { | 17 { |
18 private static Logger logger = Logger.getLogger(BedDiffMorphSubFacet.class); | 18 private static Logger log = Logger.getLogger(BedDiffMorphSubFacet.class); |
19 | 19 |
20 public BedDiffMorphSubFacet() { | 20 public BedDiffMorphSubFacet() { |
21 } | 21 } |
22 | 22 |
23 public BedDiffMorphSubFacet(int idx, String name, String description, | 23 public BedDiffMorphSubFacet(int idx, String name, String description, |
26 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | 26 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); |
27 this.metaData.put("Y", "chart.beddifference.yaxis.label.morph"); | 27 this.metaData.put("Y", "chart.beddifference.yaxis.label.morph"); |
28 } | 28 } |
29 | 29 |
30 public Object getData(Artifact artifact, CallContext context) { | 30 public Object getData(Artifact artifact, CallContext context) { |
31 logger.debug("Get data for bed density at index: " + index); | 31 log.debug("Get data for bed density at index: " + index); |
32 | 32 |
33 D4EArtifact flys = (D4EArtifact) artifact; | 33 D4EArtifact flys = (D4EArtifact) artifact; |
34 | 34 |
35 CalculationResult res = (CalculationResult) flys.compute(context, hash, | 35 CalculationResult res = (CalculationResult) flys.compute(context, hash, |
36 stateId, type, false); | 36 stateId, type, false); |