comparison flys-client/src/main/java/de/intevation/flys/client/shared/model/OutputSettings.java @ 1464:c899a7ffdc8f

Extract and parse the output settings from describe document and add settings objects to collection. flys-client/trunk@3503 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Raimund Renkert <raimund.renkert@intevation.de>
date Tue, 20 Dec 2011 15:32:08 +0000
parents 8da36efc839a
children 3304608baf35
comparison
equal deleted inserted replaced
1463:14ce1c2a9f6c 1464:c899a7ffdc8f
12 /** The output name. */ 12 /** The output name. */
13 protected String name; 13 protected String name;
14 14
15 /** The categories and settings container. */ 15 /** The categories and settings container. */
16 protected HashMap<String, List<Property> > categories; 16 protected HashMap<String, List<Property> > categories;
17
18 17
19 18
20 public OutputSettings() { 19 public OutputSettings() {
21 this.categories = new HashMap<String, List<Property> >(); 20 this.categories = new HashMap<String, List<Property> >();
22 } 21 }
37 return this.name; 36 return this.name;
38 } 37 }
39 38
40 39
41 public void setSettings(String category, List<Property> settings) { 40 public void setSettings(String category, List<Property> settings) {
41 if (this.categories == null) {
42 this.categories = new HashMap<String, List<Property> >();
43 }
42 this.categories.put(category, settings); 44 this.categories.put(category, settings);
43 } 45 }
44 46
45 47
46 public List<Property> getSettings(String category) { 48 public List<Property> getSettings(String category) {

http://dive4elements.wald.intevation.org