Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentDensityFacet.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 | cb3965dbf22e |
children | e4606eae8ea5 |
comparison
equal
deleted
inserted
replaced
7893:56e7e6c18c26 | 7894:42076d94977e |
---|---|
37 } | 37 } |
38 | 38 |
39 public SedimentDensityFacet(int idx, String name, String description, | 39 public SedimentDensityFacet(int idx, String name, String description, |
40 ComputeType type, String stateId, String hash) { | 40 ComputeType type, String stateId, String hash) { |
41 super(idx, name, description, type, hash, stateId); | 41 super(idx, name, description, type, hash, stateId); |
42 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | |
43 this.metaData.put("Y", "chart.yaxis.label.sedimentdensity"); | |
42 } | 44 } |
43 | 45 |
44 @Override | 46 @Override |
45 public Object getData(Artifact artifact, CallContext context) { | 47 public Object getData(Artifact artifact, CallContext context) { |
46 logger.debug("Get data for sediment density at index: " + index); | 48 logger.debug("Get data for sediment density at index: " + index); |