1 | |
|
2 | |
|
3 | |
|
4 | |
|
5 | |
|
6 | |
|
7 | |
|
8 | |
|
9 | |
|
10 | |
|
11 | |
|
12 | |
|
13 | |
|
14 | |
|
15 | |
|
16 | |
package org.kuali.rice.core.config.xsd; |
17 | |
|
18 | |
import javax.xml.bind.annotation.XmlAccessType; |
19 | |
import javax.xml.bind.annotation.XmlAccessorType; |
20 | |
import javax.xml.bind.annotation.XmlAttribute; |
21 | |
import javax.xml.bind.annotation.XmlType; |
22 | |
import javax.xml.bind.annotation.XmlValue; |
23 | |
|
24 | |
@XmlAccessorType(XmlAccessType.FIELD) |
25 | |
@XmlType(name = "Param", namespace = "http://rice.kuali.org/xsd/core/config", propOrder = { |
26 | |
"value" |
27 | |
}) |
28 | 0 | public class Param { |
29 | |
|
30 | |
@XmlAttribute(required = true) |
31 | |
protected String name; |
32 | |
|
33 | |
@XmlAttribute |
34 | |
protected Boolean override; |
35 | |
|
36 | |
@XmlAttribute |
37 | |
protected Boolean random; |
38 | |
|
39 | |
@XmlAttribute |
40 | |
protected Boolean system; |
41 | |
|
42 | |
@XmlValue |
43 | |
protected String value; |
44 | |
|
45 | |
|
46 | |
public String getName() { |
47 | 0 | return name; |
48 | |
} |
49 | |
|
50 | |
public void setName(String name) { |
51 | 0 | this.name = name; |
52 | 0 | } |
53 | |
|
54 | |
public Boolean isOverride() { |
55 | 0 | if (override == null) { |
56 | 0 | return true; |
57 | |
} else { |
58 | 0 | return override; |
59 | |
} |
60 | |
} |
61 | |
|
62 | |
public void setOverride(Boolean override) { |
63 | 0 | this.override = override; |
64 | 0 | } |
65 | |
|
66 | |
public Boolean isRandom() { |
67 | 0 | if (random == null) { |
68 | 0 | return false; |
69 | |
} else { |
70 | 0 | return random; |
71 | |
} |
72 | |
} |
73 | |
|
74 | |
public void setRandom(Boolean random) { |
75 | 0 | this.random = random; |
76 | 0 | } |
77 | |
|
78 | |
public Boolean isSystem() { |
79 | 0 | if (system == null) { |
80 | 0 | return false; |
81 | |
} else { |
82 | 0 | return system; |
83 | |
} |
84 | |
} |
85 | |
|
86 | |
public void setSystem(Boolean system) { |
87 | 0 | this.system = system; |
88 | 0 | } |
89 | |
|
90 | |
public String getValue() { |
91 | 0 | return value; |
92 | |
} |
93 | |
|
94 | |
public void setValue(String value) { |
95 | 0 | this.value = value; |
96 | 0 | } |
97 | |
|
98 | |
} |