1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.grantsFundingSynopsisV20.impl;
10
11
12
13
14
15 public class AgencyContactDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public AgencyContactDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName AGENCYCONTACT$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0", "AgencyContact");
26
27
28
29
30
31 public gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact getAgencyContact()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact target = null;
37 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact)get_store().find_element_user(AGENCYCONTACT$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setAgencyContact(gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact agencyContact)
50 {
51 generatedSetterHelperImpl(agencyContact, AGENCYCONTACT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact addNewAgencyContact()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact target = null;
63 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact)get_store().add_element_user(AGENCYCONTACT$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class AgencyContactImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact
73 {
74 private static final long serialVersionUID = 1L;
75
76 public AgencyContactImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName AGENCYCONTACTDESCRIPTION$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0", "AgencyContactDescription");
83 private static final javax.xml.namespace.QName AGENCYEMAILADDRESS$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0", "AgencyEmailAddress");
85 private static final javax.xml.namespace.QName AGENCYEMAILDESCRIPTION$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0", "AgencyEmailDescription");
87
88
89
90
91
92 public java.lang.String getAgencyContactDescription()
93 {
94 synchronized (monitor())
95 {
96 check_orphaned();
97 org.apache.xmlbeans.SimpleValue target = null;
98 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYCONTACTDESCRIPTION$0, 0);
99 if (target == null)
100 {
101 return null;
102 }
103 return target.getStringValue();
104 }
105 }
106
107
108
109
110 public gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription xgetAgencyContactDescription()
111 {
112 synchronized (monitor())
113 {
114 check_orphaned();
115 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription target = null;
116 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription)get_store().find_element_user(AGENCYCONTACTDESCRIPTION$0, 0);
117 return target;
118 }
119 }
120
121
122
123
124 public void setAgencyContactDescription(java.lang.String agencyContactDescription)
125 {
126 synchronized (monitor())
127 {
128 check_orphaned();
129 org.apache.xmlbeans.SimpleValue target = null;
130 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYCONTACTDESCRIPTION$0, 0);
131 if (target == null)
132 {
133 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENCYCONTACTDESCRIPTION$0);
134 }
135 target.setStringValue(agencyContactDescription);
136 }
137 }
138
139
140
141
142 public void xsetAgencyContactDescription(gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription agencyContactDescription)
143 {
144 synchronized (monitor())
145 {
146 check_orphaned();
147 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription target = null;
148 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription)get_store().find_element_user(AGENCYCONTACTDESCRIPTION$0, 0);
149 if (target == null)
150 {
151 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription)get_store().add_element_user(AGENCYCONTACTDESCRIPTION$0);
152 }
153 target.set(agencyContactDescription);
154 }
155 }
156
157
158
159
160 public java.lang.String getAgencyEmailAddress()
161 {
162 synchronized (monitor())
163 {
164 check_orphaned();
165 org.apache.xmlbeans.SimpleValue target = null;
166 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYEMAILADDRESS$2, 0);
167 if (target == null)
168 {
169 return null;
170 }
171 return target.getStringValue();
172 }
173 }
174
175
176
177
178 public gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress xgetAgencyEmailAddress()
179 {
180 synchronized (monitor())
181 {
182 check_orphaned();
183 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress target = null;
184 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress)get_store().find_element_user(AGENCYEMAILADDRESS$2, 0);
185 return target;
186 }
187 }
188
189
190
191
192 public void setAgencyEmailAddress(java.lang.String agencyEmailAddress)
193 {
194 synchronized (monitor())
195 {
196 check_orphaned();
197 org.apache.xmlbeans.SimpleValue target = null;
198 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYEMAILADDRESS$2, 0);
199 if (target == null)
200 {
201 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENCYEMAILADDRESS$2);
202 }
203 target.setStringValue(agencyEmailAddress);
204 }
205 }
206
207
208
209
210 public void xsetAgencyEmailAddress(gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress agencyEmailAddress)
211 {
212 synchronized (monitor())
213 {
214 check_orphaned();
215 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress target = null;
216 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress)get_store().find_element_user(AGENCYEMAILADDRESS$2, 0);
217 if (target == null)
218 {
219 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress)get_store().add_element_user(AGENCYEMAILADDRESS$2);
220 }
221 target.set(agencyEmailAddress);
222 }
223 }
224
225
226
227
228 public java.lang.String getAgencyEmailDescription()
229 {
230 synchronized (monitor())
231 {
232 check_orphaned();
233 org.apache.xmlbeans.SimpleValue target = null;
234 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYEMAILDESCRIPTION$4, 0);
235 if (target == null)
236 {
237 return null;
238 }
239 return target.getStringValue();
240 }
241 }
242
243
244
245
246 public gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription xgetAgencyEmailDescription()
247 {
248 synchronized (monitor())
249 {
250 check_orphaned();
251 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription target = null;
252 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription)get_store().find_element_user(AGENCYEMAILDESCRIPTION$4, 0);
253 return target;
254 }
255 }
256
257
258
259
260 public void setAgencyEmailDescription(java.lang.String agencyEmailDescription)
261 {
262 synchronized (monitor())
263 {
264 check_orphaned();
265 org.apache.xmlbeans.SimpleValue target = null;
266 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYEMAILDESCRIPTION$4, 0);
267 if (target == null)
268 {
269 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENCYEMAILDESCRIPTION$4);
270 }
271 target.setStringValue(agencyEmailDescription);
272 }
273 }
274
275
276
277
278 public void xsetAgencyEmailDescription(gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription agencyEmailDescription)
279 {
280 synchronized (monitor())
281 {
282 check_orphaned();
283 gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription target = null;
284 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription)get_store().find_element_user(AGENCYEMAILDESCRIPTION$4, 0);
285 if (target == null)
286 {
287 target = (gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription)get_store().add_element_user(AGENCYEMAILDESCRIPTION$4);
288 }
289 target.set(agencyEmailDescription);
290 }
291 }
292
293
294
295
296
297 public static class AgencyContactDescriptionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyContactDescription
298 {
299 private static final long serialVersionUID = 1L;
300
301 public AgencyContactDescriptionImpl(org.apache.xmlbeans.SchemaType sType)
302 {
303 super(sType, false);
304 }
305
306 protected AgencyContactDescriptionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
307 {
308 super(sType, b);
309 }
310 }
311
312
313
314
315
316 public static class AgencyEmailAddressImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailAddress
317 {
318 private static final long serialVersionUID = 1L;
319
320 public AgencyEmailAddressImpl(org.apache.xmlbeans.SchemaType sType)
321 {
322 super(sType, false);
323 }
324
325 protected AgencyEmailAddressImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
326 {
327 super(sType, b);
328 }
329 }
330
331
332
333
334
335 public static class AgencyEmailDescriptionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.system.grantsFundingSynopsisV20.AgencyContactDocument.AgencyContact.AgencyEmailDescription
336 {
337 private static final long serialVersionUID = 1L;
338
339 public AgencyEmailDescriptionImpl(org.apache.xmlbeans.SchemaType sType)
340 {
341 super(sType, false);
342 }
343
344 protected AgencyEmailDescriptionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
345 {
346 super(sType, b);
347 }
348 }
349 }
350 }