Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/model/WaterlevelFacet.java @ 705:853dceead0f4
Only generate facets when needed.
flys-artifacts/trunk@2157 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 18 Jun 2011 17:03:17 +0000 |
parents | b972eba2ed8a |
children | 3b7e9ddf6bb1 |
comparison
equal
deleted
inserted
replaced
704:eab5e5089d77 | 705:853dceead0f4 |
---|---|
24 public Object getData(Artifact artifact, CallContext context) { | 24 public Object getData(Artifact artifact, CallContext context) { |
25 logger.debug("Get data for waterlevels at index: " + index); | 25 logger.debug("Get data for waterlevels at index: " + index); |
26 | 26 |
27 WINFOArtifact winfo = (WINFOArtifact) artifact; | 27 WINFOArtifact winfo = (WINFOArtifact) artifact; |
28 | 28 |
29 WQKms[] wqkms = (WQKms[]) winfo.compute(context, ComputeType.ADVANCE); | 29 WQKms[] wqkms = |
30 (WQKms[])winfo.compute(context, ComputeType.ADVANCE, false); | |
30 | 31 |
31 return wqkms[index]; | 32 return wqkms[index]; |
32 } | 33 } |
33 } | 34 } |
34 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : | 35 // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 : |