Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/services/DistanceInfoService.java @ 3058:df4d6b286af8
Added states and transitions for S-Q-relation.
Added filter for locations/annotations.
flys-artifacts/trunk@4635 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 11 Jun 2012 12:19:46 +0000 |
parents | e92bc9b0ca1d |
children | 9136fc8f35f0 |
comparison
equal
deleted
inserted
replaced
3057:febc39e77672 | 3058:df4d6b286af8 |
---|---|
87 protected static FastAnnotations.Filter selectFilter(String name) { | 87 protected static FastAnnotations.Filter selectFilter(String name) { |
88 | 88 |
89 if (name != null) { | 89 if (name != null) { |
90 if ("locations".equals(name)) return FastAnnotations.IS_POINT; | 90 if ("locations".equals(name)) return FastAnnotations.IS_POINT; |
91 if ("distances".equals(name)) return FastAnnotations.IS_RANGE; | 91 if ("distances".equals(name)) return FastAnnotations.IS_RANGE; |
92 if ("measuringpoint".equals(name)) | |
93 return new FastAnnotations.NameFilter("Geschiebemessstelle"); | |
92 } | 94 } |
93 | 95 |
94 return FastAnnotations.ALL; | 96 return FastAnnotations.ALL; |
95 } | 97 } |
96 | 98 |