Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/states/fixation/FixRealizingCompute.java @ 3462:13855a555d3b
Added new Output WaterlevelExport (CSV, WST and PDF) to FixRealizingCompute State.
flys-artifacts/trunk@5130 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 26 Jul 2012 09:26:47 +0000 |
parents | 1481322efc02 |
children | 8160e62bbb3a |
comparison
equal
deleted
inserted
replaced
3461:1481322efc02 | 3462:13855a555d3b |
---|---|
46 CallContext context, | 46 CallContext context, |
47 List<Facet> facets, | 47 List<Facet> facets, |
48 Object old | 48 Object old |
49 ) { | 49 ) { |
50 logger.debug("FixRealizingCompute.computeAdvance"); | 50 logger.debug("FixRealizingCompute.computeAdvance"); |
51 | |
52 String id = getID(); | |
51 | 53 |
52 CalculationResult res; | 54 CalculationResult res; |
53 | 55 |
54 FixRealizingAccess access = | 56 FixRealizingAccess access = |
55 new FixRealizingAccess(artifact); | 57 new FixRealizingAccess(artifact); |
106 facets.add(c); | 108 facets.add(c); |
107 } | 109 } |
108 } | 110 } |
109 | 111 |
110 if (wqkms.length > 0) { | 112 if (wqkms.length > 0) { |
111 facets.add(new DataFacet(CSV, "CSV data")); | 113 facets.add(new DataFacet(CSV, "CSV data", ComputeType.ADVANCE, hash, id)); |
112 facets.add(new DataFacet(WST, "WST data")); | 114 facets.add(new DataFacet(WST, "WST data", ComputeType.ADVANCE, hash, id)); |
115 facets.add(new DataFacet(PDF, "PDF data", ComputeType.ADVANCE, hash, id)); | |
113 } | 116 } |
114 | 117 |
115 return res; | 118 return res; |
116 } | 119 } |
117 } | 120 } |