View Javadoc
1   /*
2    * An XML document type.
3    * Localname: AdditionalAssurances
4    * Namespace: http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1
5    * Java type: gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.ssaAdditionalAssurancesV11.impl;
10  /**
11   * A document containing one AdditionalAssurances(@http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class AdditionalAssurancesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public AdditionalAssurancesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName ADDITIONALASSURANCES$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "AdditionalAssurances");
26      
27      
28      /**
29       * Gets the "AdditionalAssurances" element
30       */
31      public gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances getAdditionalAssurances()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances target = null;
37              target = (gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances)get_store().find_element_user(ADDITIONALASSURANCES$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "AdditionalAssurances" element
48       */
49      public void setAdditionalAssurances(gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances additionalAssurances)
50      {
51          generatedSetterHelperImpl(additionalAssurances, ADDITIONALASSURANCES$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "AdditionalAssurances" element
56       */
57      public gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances addNewAdditionalAssurances()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances target = null;
63              target = (gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances)get_store().add_element_user(ADDITIONALASSURANCES$0);
64              return target;
65          }
66      }
67      /**
68       * An XML AdditionalAssurances(@http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class AdditionalAssurancesImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaAdditionalAssurancesV11.AdditionalAssurancesDocument.AdditionalAssurances
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public AdditionalAssurancesImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName AUTHORIZEDREPRESENTATIVESIGNATURE$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "AuthorizedRepresentativeSignature");
83          private static final javax.xml.namespace.QName APPLICANTTITLE$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "ApplicantTitle");
85          private static final javax.xml.namespace.QName ORGANIZATIONNAME$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "OrganizationName");
87          private static final javax.xml.namespace.QName SUBMITTEDDATE$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "SubmittedDate");
89          private static final javax.xml.namespace.QName FORMVERSION$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_AdditionalAssurances-V1.1", "FormVersion");
91          
92          
93          /**
94           * Gets the "AuthorizedRepresentativeSignature" element
95           */
96          public java.lang.String getAuthorizedRepresentativeSignature()
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(AUTHORIZEDREPRESENTATIVESIGNATURE$0, 0);
103                 if (target == null)
104                 {
105                     return null;
106                 }
107                 return target.getStringValue();
108             }
109         }
110         
111         /**
112          * Gets (as xml) the "AuthorizedRepresentativeSignature" element
113          */
114         public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetAuthorizedRepresentativeSignature()
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(AUTHORIZEDREPRESENTATIVESIGNATURE$0, 0);
121                 return target;
122             }
123         }
124         
125         /**
126          * Sets the "AuthorizedRepresentativeSignature" element
127          */
128         public void setAuthorizedRepresentativeSignature(java.lang.String authorizedRepresentativeSignature)
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(AUTHORIZEDREPRESENTATIVESIGNATURE$0, 0);
135                 if (target == null)
136                 {
137                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$0);
138                 }
139                 target.setStringValue(authorizedRepresentativeSignature);
140             }
141         }
142         
143         /**
144          * Sets (as xml) the "AuthorizedRepresentativeSignature" element
145          */
146         public void xsetAuthorizedRepresentativeSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType authorizedRepresentativeSignature)
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(AUTHORIZEDREPRESENTATIVESIGNATURE$0, 0);
153                 if (target == null)
154                 {
155                     target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$0);
156                 }
157                 target.set(authorizedRepresentativeSignature);
158             }
159         }
160         
161         /**
162          * Gets the "ApplicantTitle" element
163          */
164         public java.lang.String getApplicantTitle()
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(APPLICANTTITLE$2, 0);
171                 if (target == null)
172                 {
173                     return null;
174                 }
175                 return target.getStringValue();
176             }
177         }
178         
179         /**
180          * Gets (as xml) the "ApplicantTitle" element
181          */
182         public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetApplicantTitle()
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(APPLICANTTITLE$2, 0);
189                 return target;
190             }
191         }
192         
193         /**
194          * Sets the "ApplicantTitle" element
195          */
196         public void setApplicantTitle(java.lang.String applicantTitle)
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(APPLICANTTITLE$2, 0);
203                 if (target == null)
204                 {
205                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(APPLICANTTITLE$2);
206                 }
207                 target.setStringValue(applicantTitle);
208             }
209         }
210         
211         /**
212          * Sets (as xml) the "ApplicantTitle" element
213          */
214         public void xsetApplicantTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType applicantTitle)
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(APPLICANTTITLE$2, 0);
221                 if (target == null)
222                 {
223                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(APPLICANTTITLE$2);
224                 }
225                 target.set(applicantTitle);
226             }
227         }
228         
229         /**
230          * Gets the "OrganizationName" element
231          */
232         public java.lang.String getOrganizationName()
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(ORGANIZATIONNAME$4, 0);
239                 if (target == null)
240                 {
241                     return null;
242                 }
243                 return target.getStringValue();
244             }
245         }
246         
247         /**
248          * Gets (as xml) the "OrganizationName" element
249          */
250         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetOrganizationName()
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(ORGANIZATIONNAME$4, 0);
257                 return target;
258             }
259         }
260         
261         /**
262          * Sets the "OrganizationName" element
263          */
264         public void setOrganizationName(java.lang.String organizationName)
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(ORGANIZATIONNAME$4, 0);
271                 if (target == null)
272                 {
273                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGANIZATIONNAME$4);
274                 }
275                 target.setStringValue(organizationName);
276             }
277         }
278         
279         /**
280          * Sets (as xml) the "OrganizationName" element
281          */
282         public void xsetOrganizationName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType organizationName)
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(ORGANIZATIONNAME$4, 0);
289                 if (target == null)
290                 {
291                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(ORGANIZATIONNAME$4);
292                 }
293                 target.set(organizationName);
294             }
295         }
296         
297         /**
298          * Gets the "SubmittedDate" element
299          */
300         public java.util.Calendar getSubmittedDate()
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(SUBMITTEDDATE$6, 0);
307                 if (target == null)
308                 {
309                     return null;
310                 }
311                 return target.getCalendarValue();
312             }
313         }
314         
315         /**
316          * Gets (as xml) the "SubmittedDate" element
317          */
318         public org.apache.xmlbeans.XmlDate xgetSubmittedDate()
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(SUBMITTEDDATE$6, 0);
325                 return target;
326             }
327         }
328         
329         /**
330          * Sets the "SubmittedDate" element
331          */
332         public void setSubmittedDate(java.util.Calendar submittedDate)
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(SUBMITTEDDATE$6, 0);
339                 if (target == null)
340                 {
341                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUBMITTEDDATE$6);
342                 }
343                 target.setCalendarValue(submittedDate);
344             }
345         }
346         
347         /**
348          * Sets (as xml) the "SubmittedDate" element
349          */
350         public void xsetSubmittedDate(org.apache.xmlbeans.XmlDate submittedDate)
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(SUBMITTEDDATE$6, 0);
357                 if (target == null)
358                 {
359                     target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(SUBMITTEDDATE$6);
360                 }
361                 target.set(submittedDate);
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 }