Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/StateBase.java @ 610:6484464d2059
Changed the mechanism for searching for specific parameter collections.
gnv-artifacts/trunk@676 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Thu, 11 Feb 2010 11:58:39 +0000 |
parents | 22e65fb4c64a |
children | e86d37008fd1 |
comparison
equal
deleted
inserted
replaced
609:22e65fb4c64a | 610:6484464d2059 |
---|---|
364 */ | 364 */ |
365 public void setPreSettings(Map<String, InputData> preSettings) { | 365 public void setPreSettings(Map<String, InputData> preSettings) { |
366 this.preSettings = preSettings; | 366 this.preSettings = preSettings; |
367 } | 367 } |
368 | 368 |
369 private String getInputValue4ID(Collection<InputData> inputData, String inputName){ | 369 protected String getInputValue4ID(Collection<InputData> inputData, String inputName){ |
370 Iterator<InputData> it = inputData.iterator(); | 370 Iterator<InputData> it = inputData.iterator(); |
371 while (it.hasNext()) { | 371 while (it.hasNext()) { |
372 InputData tmpItem = it.next(); | 372 InputData tmpItem = it.next(); |
373 if (tmpItem.getName().equals(inputName)){ | 373 if (tmpItem.getName().equals(inputName)){ |
374 return tmpItem.getValue(); | 374 return tmpItem.getValue(); |