comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/PorosityFacet.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 e84726b48484
children 45cced06490c
comparison
equal deleted inserted replaced
7893:56e7e6c18c26 7894:42076d94977e
40 } 40 }
41 41
42 public PorosityFacet(int idx, String name, String description, 42 public PorosityFacet(int idx, String name, String description,
43 ComputeType type, String stateId, String hash) { 43 ComputeType type, String stateId, String hash) {
44 super(idx, name, description, type, hash, stateId); 44 super(idx, name, description, type, hash, stateId);
45 this.metaData.put("X", "chart.longitudinal.section.xaxis.label");
46 this.metaData.put("Y", "chart.bedquality.yaxis.label.porosity");
45 } 47 }
46 48
47 public Object getData(Artifact artifact, CallContext context) { 49 public Object getData(Artifact artifact, CallContext context) {
48 50
49 D4EArtifact flys = (D4EArtifact) artifact; 51 D4EArtifact flys = (D4EArtifact) artifact;

http://dive4elements.wald.intevation.org