Mercurial > dive4elements > river
comparison flys-client/src/main/java/de/intevation/flys/client/server/FixingsOverviewServiceImpl.java @ 2536:256b458cc7ea
Changed data field 'name' to 'description' in fix overview.
flys-client/trunk@4448 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Raimund Renkert <raimund.renkert@intevation.de> |
---|---|
date | Mon, 21 May 2012 09:17:24 +0000 |
parents | 87ac5c532523 |
children | d20f16a430a9 |
comparison
equal
deleted
inserted
replaced
2535:d0a9acddbea2 | 2536:256b458cc7ea |
---|---|
53 protected static final String XPATH_EVENT = "/fixings/events/event"; | 53 protected static final String XPATH_EVENT = "/fixings/events/event"; |
54 protected static final String XPATH_SECTORS = "sector"; | 54 protected static final String XPATH_SECTORS = "sector"; |
55 | 55 |
56 protected static final String XPATH_CID = "@cid"; | 56 protected static final String XPATH_CID = "@cid"; |
57 protected static final String XPATH_DATE = "@date"; | 57 protected static final String XPATH_DATE = "@date"; |
58 protected static final String XPATH_NAME = "@name"; | 58 protected static final String XPATH_DESCRIPTION = "@description"; |
59 protected static final String XPATH_CLS = "@class"; | 59 protected static final String XPATH_CLS = "@class"; |
60 protected static final String XPATH_FROM = "@from"; | 60 protected static final String XPATH_FROM = "@from"; |
61 protected static final String XPATH_TO = "@to"; | 61 protected static final String XPATH_TO = "@to"; |
62 | 62 |
63 @Override | 63 @Override |
170 Node n = events.item(i); | 170 Node n = events.item(i); |
171 List<Sector> sectors = getSectors(n); | 171 List<Sector> sectors = getSectors(n); |
172 String cid = XMLUtils.xpathString(n, XPATH_CID, null); | 172 String cid = XMLUtils.xpathString(n, XPATH_CID, null); |
173 log.debug("'" + cid + "'"); | 173 log.debug("'" + cid + "'"); |
174 String date = XMLUtils.xpathString(n, XPATH_DATE, null); | 174 String date = XMLUtils.xpathString(n, XPATH_DATE, null); |
175 String name = XMLUtils.xpathString(n, XPATH_NAME, null); | 175 String name = XMLUtils.xpathString(n, XPATH_DESCRIPTION, null); |
176 list.add(new FixEvent( | 176 list.add(new FixEvent( |
177 cid, | 177 cid, |
178 date, | 178 date, |
179 name, | 179 name, |
180 sectors)); | 180 sectors)); |