Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDensityTopFacet.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 | 98ca61cb58fb |
children |
comparison
equal
deleted
inserted
replaced
8201:4b8c5a08de04 | 8202:e4606eae8ea5 |
---|---|
26 */ | 26 */ |
27 public class BedDensityTopFacet extends DataFacet { | 27 public class BedDensityTopFacet extends DataFacet { |
28 | 28 |
29 private static final long serialVersionUID = 1L; | 29 private static final long serialVersionUID = 1L; |
30 | 30 |
31 private static Logger logger = Logger.getLogger(BedDensityTopFacet.class); | 31 private static Logger log = Logger.getLogger(BedDensityTopFacet.class); |
32 | 32 |
33 public BedDensityTopFacet() { | 33 public BedDensityTopFacet() { |
34 } | 34 } |
35 | 35 |
36 public BedDensityTopFacet(int idx, String name, String description, | 36 public BedDensityTopFacet(int idx, String name, String description, |
39 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | 39 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); |
40 this.metaData.put("Y", "chart.bedquality.yaxis.label.density"); | 40 this.metaData.put("Y", "chart.bedquality.yaxis.label.density"); |
41 } | 41 } |
42 | 42 |
43 public Object getData(Artifact artifact, CallContext context) { | 43 public Object getData(Artifact artifact, CallContext context) { |
44 logger.debug("Get data for bed density at index: " + index); | 44 log.debug("Get data for bed density at index: " + index); |
45 | 45 |
46 D4EArtifact flys = (D4EArtifact) artifact; | 46 D4EArtifact flys = (D4EArtifact) artifact; |
47 | 47 |
48 CalculationResult res = (CalculationResult) flys.compute(context, hash, | 48 CalculationResult res = (CalculationResult) flys.compute(context, hash, |
49 stateId, type, false); | 49 stateId, type, false); |