View Javadoc
1   /*
2    * An XML document type.
3    * Localname: AD_3031
4    * Namespace: http://apply.grants.gov/forms/AD_3031-V1.0
5    * Java type: gov.grants.apply.forms.ad3031V10.AD3031Document
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.ad3031V10.impl;
10  /**
11   * A document containing one AD_3031(@http://apply.grants.gov/forms/AD_3031-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class AD3031DocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3031V10.AD3031Document
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public AD3031DocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName AD3031$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "AD_3031");
26      
27      
28      /**
29       * Gets the "AD_3031" element
30       */
31      public gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 getAD3031()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 target = null;
37              target = (gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031)get_store().find_element_user(AD3031$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "AD_3031" element
48       */
49      public void setAD3031(gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 ad3031)
50      {
51          generatedSetterHelperImpl(ad3031, AD3031$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "AD_3031" element
56       */
57      public gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 addNewAD3031()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031 target = null;
63              target = (gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031)get_store().add_element_user(AD3031$0);
64              return target;
65          }
66      }
67      /**
68       * An XML AD_3031(@http://apply.grants.gov/forms/AD_3031-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class AD3031Impl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ad3031V10.AD3031Document.AD3031
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public AD3031Impl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName AORSIGNATURE$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "AORSignature");
83          private static final javax.xml.namespace.QName TITLE$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "Title");
85          private static final javax.xml.namespace.QName BUSINESSNAME$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "BusinessName");
87          private static final javax.xml.namespace.QName DATESIGNED$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "DateSigned");
89          private static final javax.xml.namespace.QName FORMVERSION$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/AD_3031-V1.0", "FormVersion");
91          
92          
93          /**
94           * Gets the "AORSignature" element
95           */
96          public java.lang.String getAORSignature()
97          {
98              synchronized (monitor())
99              {
100                 check_orphaned();
101                 org.apache.xmlbeans.SimpleValue target = null;
102                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$0, 0);
103                 if (target == null)
104                 {
105                     return null;
106                 }
107                 return target.getStringValue();
108             }
109         }
110         
111         /**
112          * Gets (as xml) the "AORSignature" element
113          */
114         public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetAORSignature()
115         {
116             synchronized (monitor())
117             {
118                 check_orphaned();
119                 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
120                 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$0, 0);
121                 return target;
122             }
123         }
124         
125         /**
126          * Sets the "AORSignature" element
127          */
128         public void setAORSignature(java.lang.String aorSignature)
129         {
130             synchronized (monitor())
131             {
132                 check_orphaned();
133                 org.apache.xmlbeans.SimpleValue target = null;
134                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AORSIGNATURE$0, 0);
135                 if (target == null)
136                 {
137                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AORSIGNATURE$0);
138                 }
139                 target.setStringValue(aorSignature);
140             }
141         }
142         
143         /**
144          * Sets (as xml) the "AORSignature" element
145          */
146         public void xsetAORSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType aorSignature)
147         {
148             synchronized (monitor())
149             {
150                 check_orphaned();
151                 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
152                 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AORSIGNATURE$0, 0);
153                 if (target == null)
154                 {
155                     target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(AORSIGNATURE$0);
156                 }
157                 target.set(aorSignature);
158             }
159         }
160         
161         /**
162          * Gets the "Title" element
163          */
164         public java.lang.String getTitle()
165         {
166             synchronized (monitor())
167             {
168                 check_orphaned();
169                 org.apache.xmlbeans.SimpleValue target = null;
170                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
171                 if (target == null)
172                 {
173                     return null;
174                 }
175                 return target.getStringValue();
176             }
177         }
178         
179         /**
180          * Gets (as xml) the "Title" element
181          */
182         public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetTitle()
183         {
184             synchronized (monitor())
185             {
186                 check_orphaned();
187                 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
188                 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
189                 return target;
190             }
191         }
192         
193         /**
194          * Sets the "Title" element
195          */
196         public void setTitle(java.lang.String title)
197         {
198             synchronized (monitor())
199             {
200                 check_orphaned();
201                 org.apache.xmlbeans.SimpleValue target = null;
202                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TITLE$2, 0);
203                 if (target == null)
204                 {
205                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TITLE$2);
206                 }
207                 target.setStringValue(title);
208             }
209         }
210         
211         /**
212          * Sets (as xml) the "Title" element
213          */
214         public void xsetTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType title)
215         {
216             synchronized (monitor())
217             {
218                 check_orphaned();
219                 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
220                 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(TITLE$2, 0);
221                 if (target == null)
222                 {
223                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(TITLE$2);
224                 }
225                 target.set(title);
226             }
227         }
228         
229         /**
230          * Gets the "BusinessName" element
231          */
232         public java.lang.String getBusinessName()
233         {
234             synchronized (monitor())
235             {
236                 check_orphaned();
237                 org.apache.xmlbeans.SimpleValue target = null;
238                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSNAME$4, 0);
239                 if (target == null)
240                 {
241                     return null;
242                 }
243                 return target.getStringValue();
244             }
245         }
246         
247         /**
248          * Gets (as xml) the "BusinessName" element
249          */
250         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetBusinessName()
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
256                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(BUSINESSNAME$4, 0);
257                 return target;
258             }
259         }
260         
261         /**
262          * Sets the "BusinessName" element
263          */
264         public void setBusinessName(java.lang.String businessName)
265         {
266             synchronized (monitor())
267             {
268                 check_orphaned();
269                 org.apache.xmlbeans.SimpleValue target = null;
270                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(BUSINESSNAME$4, 0);
271                 if (target == null)
272                 {
273                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(BUSINESSNAME$4);
274                 }
275                 target.setStringValue(businessName);
276             }
277         }
278         
279         /**
280          * Sets (as xml) the "BusinessName" element
281          */
282         public void xsetBusinessName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType businessName)
283         {
284             synchronized (monitor())
285             {
286                 check_orphaned();
287                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
288                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(BUSINESSNAME$4, 0);
289                 if (target == null)
290                 {
291                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(BUSINESSNAME$4);
292                 }
293                 target.set(businessName);
294             }
295         }
296         
297         /**
298          * Gets the "DateSigned" element
299          */
300         public java.util.Calendar getDateSigned()
301         {
302             synchronized (monitor())
303             {
304                 check_orphaned();
305                 org.apache.xmlbeans.SimpleValue target = null;
306                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$6, 0);
307                 if (target == null)
308                 {
309                     return null;
310                 }
311                 return target.getCalendarValue();
312             }
313         }
314         
315         /**
316          * Gets (as xml) the "DateSigned" element
317          */
318         public org.apache.xmlbeans.XmlDate xgetDateSigned()
319         {
320             synchronized (monitor())
321             {
322                 check_orphaned();
323                 org.apache.xmlbeans.XmlDate target = null;
324                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$6, 0);
325                 return target;
326             }
327         }
328         
329         /**
330          * Sets the "DateSigned" element
331          */
332         public void setDateSigned(java.util.Calendar dateSigned)
333         {
334             synchronized (monitor())
335             {
336                 check_orphaned();
337                 org.apache.xmlbeans.SimpleValue target = null;
338                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(DATESIGNED$6, 0);
339                 if (target == null)
340                 {
341                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(DATESIGNED$6);
342                 }
343                 target.setCalendarValue(dateSigned);
344             }
345         }
346         
347         /**
348          * Sets (as xml) the "DateSigned" element
349          */
350         public void xsetDateSigned(org.apache.xmlbeans.XmlDate dateSigned)
351         {
352             synchronized (monitor())
353             {
354                 check_orphaned();
355                 org.apache.xmlbeans.XmlDate target = null;
356                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(DATESIGNED$6, 0);
357                 if (target == null)
358                 {
359                     target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(DATESIGNED$6);
360                 }
361                 target.set(dateSigned);
362             }
363         }
364         
365         /**
366          * Gets the "FormVersion" attribute
367          */
368         public java.lang.String getFormVersion()
369         {
370             synchronized (monitor())
371             {
372                 check_orphaned();
373                 org.apache.xmlbeans.SimpleValue target = null;
374                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
375                 if (target == null)
376                 {
377                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$8);
378                 }
379                 if (target == null)
380                 {
381                     return null;
382                 }
383                 return target.getStringValue();
384             }
385         }
386         
387         /**
388          * Gets (as xml) the "FormVersion" attribute
389          */
390         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
391         {
392             synchronized (monitor())
393             {
394                 check_orphaned();
395                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
396                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
397                 if (target == null)
398                 {
399                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$8);
400                 }
401                 return target;
402             }
403         }
404         
405         /**
406          * Sets the "FormVersion" attribute
407          */
408         public void setFormVersion(java.lang.String formVersion)
409         {
410             synchronized (monitor())
411             {
412                 check_orphaned();
413                 org.apache.xmlbeans.SimpleValue target = null;
414                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$8);
415                 if (target == null)
416                 {
417                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$8);
418                 }
419                 target.setStringValue(formVersion);
420             }
421         }
422         
423         /**
424          * Sets (as xml) the "FormVersion" attribute
425          */
426         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
427         {
428             synchronized (monitor())
429             {
430                 check_orphaned();
431                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
432                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$8);
433                 if (target == null)
434                 {
435                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$8);
436                 }
437                 target.set(formVersion);
438             }
439         }
440     }
441 }