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