Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/model/minfo/SedimentLoadUnknownFacet.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 | b468dc65154a |
children | 963ede7b32bb |
comparison
equal
deleted
inserted
replaced
7893:56e7e6c18c26 | 7894:42076d94977e |
---|---|
20 } | 20 } |
21 | 21 |
22 public SedimentLoadUnknownFacet(int idx, String name, String description, | 22 public SedimentLoadUnknownFacet(int idx, String name, String description, |
23 ComputeType type, String stateId, String hash) { | 23 ComputeType type, String stateId, String hash) { |
24 super(idx, name, description, type, hash, stateId); | 24 super(idx, name, description, type, hash, stateId); |
25 this.metaData.put("X", "chart.longitudinal.section.xaxis.label"); | |
26 this.metaData.put("Y", ""); | |
25 } | 27 } |
26 | 28 |
27 /** Get data from SedimentLoad with unknown type, from factory. */ | 29 /** Get data from SedimentLoad with unknown type, from factory. */ |
28 @Override | 30 @Override |
29 public Object getData(Artifact artifact, CallContext context) { | 31 public Object getData(Artifact artifact, CallContext context) { |