Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiffYearFilterFacet.java @ 7894:42076d94977e facet-metadata
Added metadata to facets.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Wed, 21 May 2014 11:43:10 +0200 |
parents | 1aba75321441 |
children |
comparison
equal
deleted
inserted
replaced
7893:56e7e6c18c26 | 7894:42076d94977e |
---|---|
32 } | 32 } |
33 | 33 |
34 public BedDiffYearFilterFacet(int idx, String name, String description, | 34 public BedDiffYearFilterFacet(int idx, String name, String description, |
35 ComputeType type, String stateId, String hash) { | 35 ComputeType type, String stateId, String hash) { |
36 super(idx, name, description, type, hash, stateId); | 36 super(idx, name, description, type, hash, stateId); |
37 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | |
38 this.metaData.put("Y", "chart.beddifference.height.yaxis.label"); | |
37 } | 39 } |
38 | 40 |
39 public Object getData(Artifact artifact, CallContext context) { | 41 public Object getData(Artifact artifact, CallContext context) { |
40 logger.debug("Get data for bed density at index: " + index); | 42 logger.debug("Get data for bed density at index: " + index); |
41 | 43 |