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