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 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 return name;
48 }
49
50 public void setName(String name) {
51 this.name = name;
52 }
53
54 public Boolean isOverride() {
55 if (override == null) {
56 return true;
57 } else {
58 return override;
59 }
60 }
61
62 public void setOverride(Boolean override) {
63 this.override = override;
64 }
65
66 public Boolean isRandom() {
67 if (random == null) {
68 return false;
69 } else {
70 return random;
71 }
72 }
73
74 public void setRandom(Boolean random) {
75 this.random = random;
76 }
77
78 public Boolean isSystem() {
79 if (system == null) {
80 return false;
81 } else {
82 return system;
83 }
84 }
85
86 public void setSystem(Boolean system) {
87 this.system = system;
88 }
89
90 public String getValue() {
91 return value;
92 }
93
94 public void setValue(String value) {
95 this.value = value;
96 }
97
98 }