comparison gnv-artifacts/src/main/java/de/intevation/gnv/state/DefaultInputValue.java @ 815:22c18083225e

Removed compiler warnings while JavaDoc generation. gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Ingo Weinzierl <ingo.weinzierl@intevation.de>
date Mon, 12 Apr 2010 06:59:33 +0000
parents feae2f9d6c6f
children 05bf8534a35a
comparison
equal deleted inserted replaced
814:9d427dd2a96a 815:22c18083225e
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 private int usedInQueries = 1;
19 private String defaultValue = "N/N"; 19 private String defaultValue = "N/N";
20 20
21 /** 21
22 *
23 * @param name
24 * @param type
25 * @param defaultValue
26 * @param multiselect
27 */
28 public DefaultInputValue(String name, String type, String defaultValue, 22 public DefaultInputValue(String name, String type, String defaultValue,
29 boolean multiselect) { 23 boolean multiselect) {
30 this(name, type, multiselect, 1); 24 this(name, type, multiselect, 1);
31 this.defaultValue = defaultValue; 25 this.defaultValue = defaultValue;
32 26
33 } 27 }
34 28
35 /** 29
36 * Constructor
37 * @param name
38 * @param type
39 * @param multiselect
40 * @param usedInQueries
41 */
42 public DefaultInputValue(String name, String type, boolean multiselect, 30 public DefaultInputValue(String name, String type, boolean multiselect,
43 int usedInQueries) { 31 int usedInQueries) {
44 this.name = name; 32 this.name = name;
45 this.type = type; 33 this.type = type;
46 this.multiselect = multiselect; 34 this.multiselect = multiselect;
47 this.usedInQueries = usedInQueries; 35 this.usedInQueries = usedInQueries;
48 } 36 }
49 37
50 /** 38
51 * @return
52 */
53 public String getName() { 39 public String getName() {
54 return this.name; 40 return this.name;
55 } 41 }
56 42
57 /** 43
58 * @return
59 */
60 public String getType() { 44 public String getType() {
61 return this.type; 45 return this.type;
62 } 46 }
63 47
64 /** 48 /**
70 public String toString() { 54 public String toString() {
71 return "InputValue " + this.name + " ==> " + this.type 55 return "InputValue " + this.name + " ==> " + this.type
72 + "==> multiselect: " + this.multiselect; 56 + "==> multiselect: " + this.multiselect;
73 } 57 }
74 58
75 /** 59
76 * @return
77 */
78 public boolean isMultiselect() { 60 public boolean isMultiselect() {
79 return this.multiselect; 61 return this.multiselect;
80 } 62 }
81 63
82 /** 64
83 *
84 * @return
85 */
86 public int usedInQueries() { 65 public int usedInQueries() {
87 return this.usedInQueries; 66 return this.usedInQueries;
88 } 67 }
89 68
90 /** 69
91 *
92 * @return
93 */
94 public String getDefaultValue() { 70 public String getDefaultValue() {
95 return this.defaultValue; 71 return this.defaultValue;
96 } 72 }
97 73
98 } 74 }

http://dive4elements.wald.intevation.org