1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.grantsCommonElementsV10.impl;
10
11
12
13
14
15 public class SecurityMessageDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public SecurityMessageDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName SECURITYMESSAGE$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "SecurityMessage");
26
27
28
29
30
31 public gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage getSecurityMessage()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage target = null;
37 target = (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage)get_store().find_element_user(SECURITYMESSAGE$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setSecurityMessage(gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage securityMessage)
50 {
51 generatedSetterHelperImpl(securityMessage, SECURITYMESSAGE$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage addNewSecurityMessage()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage target = null;
63 target = (gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage)get_store().add_element_user(SECURITYMESSAGE$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class SecurityMessageImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsCommonElementsV10.SecurityMessageDocument.SecurityMessage
73 {
74 private static final long serialVersionUID = 1L;
75
76 public SecurityMessageImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName MESSAGECODE$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "MessageCode");
83 private static final javax.xml.namespace.QName MESSAGETEXT$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "MessageText");
85
86
87
88
89
90 public java.lang.String getMessageCode()
91 {
92 synchronized (monitor())
93 {
94 check_orphaned();
95 org.apache.xmlbeans.SimpleValue target = null;
96 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGECODE$0, 0);
97 if (target == null)
98 {
99 return null;
100 }
101 return target.getStringValue();
102 }
103 }
104
105
106
107
108 public gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType xgetMessageCode()
109 {
110 synchronized (monitor())
111 {
112 check_orphaned();
113 gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType target = null;
114 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType)get_store().find_element_user(MESSAGECODE$0, 0);
115 return target;
116 }
117 }
118
119
120
121
122 public void setMessageCode(java.lang.String messageCode)
123 {
124 synchronized (monitor())
125 {
126 check_orphaned();
127 org.apache.xmlbeans.SimpleValue target = null;
128 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGECODE$0, 0);
129 if (target == null)
130 {
131 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGECODE$0);
132 }
133 target.setStringValue(messageCode);
134 }
135 }
136
137
138
139
140 public void xsetMessageCode(gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType messageCode)
141 {
142 synchronized (monitor())
143 {
144 check_orphaned();
145 gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType target = null;
146 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType)get_store().find_element_user(MESSAGECODE$0, 0);
147 if (target == null)
148 {
149 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageCodeType)get_store().add_element_user(MESSAGECODE$0);
150 }
151 target.set(messageCode);
152 }
153 }
154
155
156
157
158 public java.lang.String getMessageText()
159 {
160 synchronized (monitor())
161 {
162 check_orphaned();
163 org.apache.xmlbeans.SimpleValue target = null;
164 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGETEXT$2, 0);
165 if (target == null)
166 {
167 return null;
168 }
169 return target.getStringValue();
170 }
171 }
172
173
174
175
176 public gov.grants.apply.system.grantsCommonTypesV10.MessageTextType xgetMessageText()
177 {
178 synchronized (monitor())
179 {
180 check_orphaned();
181 gov.grants.apply.system.grantsCommonTypesV10.MessageTextType target = null;
182 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageTextType)get_store().find_element_user(MESSAGETEXT$2, 0);
183 return target;
184 }
185 }
186
187
188
189
190 public void setMessageText(java.lang.String messageText)
191 {
192 synchronized (monitor())
193 {
194 check_orphaned();
195 org.apache.xmlbeans.SimpleValue target = null;
196 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(MESSAGETEXT$2, 0);
197 if (target == null)
198 {
199 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(MESSAGETEXT$2);
200 }
201 target.setStringValue(messageText);
202 }
203 }
204
205
206
207
208 public void xsetMessageText(gov.grants.apply.system.grantsCommonTypesV10.MessageTextType messageText)
209 {
210 synchronized (monitor())
211 {
212 check_orphaned();
213 gov.grants.apply.system.grantsCommonTypesV10.MessageTextType target = null;
214 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageTextType)get_store().find_element_user(MESSAGETEXT$2, 0);
215 if (target == null)
216 {
217 target = (gov.grants.apply.system.grantsCommonTypesV10.MessageTextType)get_store().add_element_user(MESSAGETEXT$2);
218 }
219 target.set(messageText);
220 }
221 }
222 }
223 }