Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/transition/DefaultInputValue.java @ 81:9b41f3688610
Added Support for TimeSeriesMesh
gnv-artifacts/trunk@106 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Tim Englich <tim.englich@intevation.de> |
---|---|
date | Mon, 21 Sep 2009 11:50:47 +0000 |
parents | 969faa37a11b |
children | bd284d8306db |
comparison
equal
deleted
inserted
replaced
80:29a7ba731838 | 81:9b41f3688610 |
---|---|
13 */ | 13 */ |
14 private static final long serialVersionUID = -8518824299166180986L; | 14 private static final long serialVersionUID = -8518824299166180986L; |
15 private String name = null; | 15 private String name = null; |
16 private String type = null; | 16 private String type = null; |
17 private boolean multiselect = false; | 17 private boolean multiselect = false; |
18 private int usedInQueries = 1; | |
18 | 19 |
19 | 20 |
20 /** | 21 /** |
21 * Constructor | 22 * Constructor |
22 */ | 23 */ |
23 public DefaultInputValue(String name, String type, boolean multiselect){ | 24 public DefaultInputValue(String name, String type, boolean multiselect, int usedInQueries){ |
24 this.name = name; | 25 this.name = name; |
25 this.type = type; | 26 this.type = type; |
26 this.multiselect = multiselect; | 27 this.multiselect = multiselect; |
28 this.usedInQueries = usedInQueries; | |
27 } | 29 } |
28 | 30 |
29 /** | 31 /** |
30 * @see de.intevation.gnv.transition.InputValue#getName() | 32 * @see de.intevation.gnv.transition.InputValue#getName() |
31 */ | 33 */ |
53 */ | 55 */ |
54 public boolean isMultiselect() { | 56 public boolean isMultiselect() { |
55 return this.multiselect; | 57 return this.multiselect; |
56 } | 58 } |
57 | 59 |
60 public int usedInQueries() { | |
61 return this.usedInQueries; | |
62 } | |
63 | |
58 } | 64 } |