Mercurial > dive4elements > river
comparison artifacts/src/main/java/org/dive4elements/river/artifacts/states/minfo/DifferenceSelect.java @ 7919:868f55932fe6
Removed serverside path for bed height epochs.
author | Raimund Renkert <rrenkert@intevation.de> |
---|---|
date | Fri, 06 Jun 2014 16:59:16 +0200 |
parents | a0078e5e3b39 |
children | b5cba2690347 |
comparison
equal
deleted
inserted
replaced
7918:5813c206ff64 | 7919:868f55932fe6 |
---|---|
51 List<Facet> facets, | 51 List<Facet> facets, |
52 Object old | 52 Object old |
53 ) { | 53 ) { |
54 //Get data and do stuff, do not calculate | 54 //Get data and do stuff, do not calculate |
55 return ""; | 55 return ""; |
56 } | |
57 | |
58 @Override | |
59 protected Element[] createItems( | |
60 XMLUtils.ElementCreator ec, | |
61 Artifact artifact, | |
62 String name, | |
63 CallContext context) | |
64 { | |
65 Element[] elements = new Element[1]; | |
66 BedHeightAccess bha = new BedHeightAccess((D4EArtifact)artifact); | |
67 String time = bha.getYearEpoch(); | |
68 elements[0] = createItem( | |
69 ec, | |
70 new String[] {"year-epoch", time}); | |
71 | |
72 return elements; | |
73 } | 56 } |
74 | 57 |
75 /** | 58 /** |
76 * Creates the data element used for the static part of DESCRIBE document. | 59 * Creates the data element used for the static part of DESCRIBE document. |
77 */ | 60 */ |