Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/BedDiameterDataFacet.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 | a56fe3bc6700 |
children | 98ca61cb58fb |
comparison
equal
deleted
inserted
replaced
7893:56e7e6c18c26 | 7894:42076d94977e |
---|---|
26 ComputeType type, | 26 ComputeType type, |
27 String stateId, | 27 String stateId, |
28 String hash | 28 String hash |
29 ) { | 29 ) { |
30 super(ndx, name, description, type, hash, stateId); | 30 super(ndx, name, description, type, hash, stateId); |
31 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | |
32 this.metaData.put("Y", "chart.bedquality.yaxis.label.diameter"); | |
31 } | 33 } |
32 | 34 |
33 public Object getData(Artifact artifact, CallContext context) { | 35 public Object getData(Artifact artifact, CallContext context) { |
34 D4EArtifact d4e = (D4EArtifact) artifact; | 36 D4EArtifact d4e = (D4EArtifact) artifact; |
35 BedQualityAccess access = new BedQualityAccess(d4e, context); | 37 BedQualityAccess access = new BedQualityAccess(d4e, context); |