View Javadoc
1   /*
2    * An XML document type.
3    * Localname: CertificationDebarment
4    * Namespace: http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1
5    * Java type: gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.edCertificationDebarmentV11.impl;
10  /**
11   * A document containing one CertificationDebarment(@http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class CertificationDebarmentDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public CertificationDebarmentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName CERTIFICATIONDEBARMENT$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "CertificationDebarment");
26      
27      
28      /**
29       * Gets the "CertificationDebarment" element
30       */
31      public gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment getCertificationDebarment()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment target = null;
37              target = (gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment)get_store().find_element_user(CERTIFICATIONDEBARMENT$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "CertificationDebarment" element
48       */
49      public void setCertificationDebarment(gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment certificationDebarment)
50      {
51          generatedSetterHelperImpl(certificationDebarment, CERTIFICATIONDEBARMENT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "CertificationDebarment" element
56       */
57      public gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment addNewCertificationDebarment()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment target = null;
63              target = (gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment)get_store().add_element_user(CERTIFICATIONDEBARMENT$0);
64              return target;
65          }
66      }
67      /**
68       * An XML CertificationDebarment(@http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class CertificationDebarmentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.edCertificationDebarmentV11.CertificationDebarmentDocument.CertificationDebarment
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public CertificationDebarmentImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName ORGANIZATIONNAME$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "OrganizationName");
83          private static final javax.xml.namespace.QName AUTHORIZEDREPRESENTATIVENAME$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "AuthorizedRepresentativeName");
85          private static final javax.xml.namespace.QName AUTHORIZEDREPRESENTATIVETITLE$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "AuthorizedRepresentativeTitle");
87          private static final javax.xml.namespace.QName ATTACHMENT$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "Attachment");
89          private static final javax.xml.namespace.QName AUTHORIZEDREPRESENTATIVESIGNATURE$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "AuthorizedRepresentativeSignature");
91          private static final javax.xml.namespace.QName SUBMITTEDDATE$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "SubmittedDate");
93          private static final javax.xml.namespace.QName FORMVERSION$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/ED_CertificationDebarment-V1.1", "FormVersion");
95          
96          
97          /**
98           * Gets the "OrganizationName" element
99           */
100         public java.lang.String getOrganizationName()
101         {
102             synchronized (monitor())
103             {
104                 check_orphaned();
105                 org.apache.xmlbeans.SimpleValue target = null;
106                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
107                 if (target == null)
108                 {
109                     return null;
110                 }
111                 return target.getStringValue();
112             }
113         }
114         
115         /**
116          * Gets (as xml) the "OrganizationName" element
117          */
118         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetOrganizationName()
119         {
120             synchronized (monitor())
121             {
122                 check_orphaned();
123                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
124                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
125                 return target;
126             }
127         }
128         
129         /**
130          * True if has "OrganizationName" element
131          */
132         public boolean isSetOrganizationName()
133         {
134             synchronized (monitor())
135             {
136                 check_orphaned();
137                 return get_store().count_elements(ORGANIZATIONNAME$0) != 0;
138             }
139         }
140         
141         /**
142          * Sets the "OrganizationName" element
143          */
144         public void setOrganizationName(java.lang.String organizationName)
145         {
146             synchronized (monitor())
147             {
148                 check_orphaned();
149                 org.apache.xmlbeans.SimpleValue target = null;
150                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
151                 if (target == null)
152                 {
153                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ORGANIZATIONNAME$0);
154                 }
155                 target.setStringValue(organizationName);
156             }
157         }
158         
159         /**
160          * Sets (as xml) the "OrganizationName" element
161          */
162         public void xsetOrganizationName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType organizationName)
163         {
164             synchronized (monitor())
165             {
166                 check_orphaned();
167                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
168                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(ORGANIZATIONNAME$0, 0);
169                 if (target == null)
170                 {
171                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(ORGANIZATIONNAME$0);
172                 }
173                 target.set(organizationName);
174             }
175         }
176         
177         /**
178          * Unsets the "OrganizationName" element
179          */
180         public void unsetOrganizationName()
181         {
182             synchronized (monitor())
183             {
184                 check_orphaned();
185                 get_store().remove_element(ORGANIZATIONNAME$0, 0);
186             }
187         }
188         
189         /**
190          * Gets the "AuthorizedRepresentativeName" element
191          */
192         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getAuthorizedRepresentativeName()
193         {
194             synchronized (monitor())
195             {
196                 check_orphaned();
197                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
198                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(AUTHORIZEDREPRESENTATIVENAME$2, 0);
199                 if (target == null)
200                 {
201                     return null;
202                 }
203                 return target;
204             }
205         }
206         
207         /**
208          * Sets the "AuthorizedRepresentativeName" element
209          */
210         public void setAuthorizedRepresentativeName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType authorizedRepresentativeName)
211         {
212             generatedSetterHelperImpl(authorizedRepresentativeName, AUTHORIZEDREPRESENTATIVENAME$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
213         }
214         
215         /**
216          * Appends and returns a new empty "AuthorizedRepresentativeName" element
217          */
218         public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewAuthorizedRepresentativeName()
219         {
220             synchronized (monitor())
221             {
222                 check_orphaned();
223                 gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
224                 target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(AUTHORIZEDREPRESENTATIVENAME$2);
225                 return target;
226             }
227         }
228         
229         /**
230          * Gets the "AuthorizedRepresentativeTitle" element
231          */
232         public java.lang.String getAuthorizedRepresentativeTitle()
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(AUTHORIZEDREPRESENTATIVETITLE$4, 0);
239                 if (target == null)
240                 {
241                     return null;
242                 }
243                 return target.getStringValue();
244             }
245         }
246         
247         /**
248          * Gets (as xml) the "AuthorizedRepresentativeTitle" element
249          */
250         public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetAuthorizedRepresentativeTitle()
251         {
252             synchronized (monitor())
253             {
254                 check_orphaned();
255                 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
256                 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(AUTHORIZEDREPRESENTATIVETITLE$4, 0);
257                 return target;
258             }
259         }
260         
261         /**
262          * Sets the "AuthorizedRepresentativeTitle" element
263          */
264         public void setAuthorizedRepresentativeTitle(java.lang.String authorizedRepresentativeTitle)
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(AUTHORIZEDREPRESENTATIVETITLE$4, 0);
271                 if (target == null)
272                 {
273                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AUTHORIZEDREPRESENTATIVETITLE$4);
274                 }
275                 target.setStringValue(authorizedRepresentativeTitle);
276             }
277         }
278         
279         /**
280          * Sets (as xml) the "AuthorizedRepresentativeTitle" element
281          */
282         public void xsetAuthorizedRepresentativeTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType authorizedRepresentativeTitle)
283         {
284             synchronized (monitor())
285             {
286                 check_orphaned();
287                 gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
288                 target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(AUTHORIZEDREPRESENTATIVETITLE$4, 0);
289                 if (target == null)
290                 {
291                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(AUTHORIZEDREPRESENTATIVETITLE$4);
292                 }
293                 target.set(authorizedRepresentativeTitle);
294             }
295         }
296         
297         /**
298          * Gets the "Attachment" element
299          */
300         public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getAttachment()
301         {
302             synchronized (monitor())
303             {
304                 check_orphaned();
305                 gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
306                 target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(ATTACHMENT$6, 0);
307                 if (target == null)
308                 {
309                     return null;
310                 }
311                 return target;
312             }
313         }
314         
315         /**
316          * True if has "Attachment" element
317          */
318         public boolean isSetAttachment()
319         {
320             synchronized (monitor())
321             {
322                 check_orphaned();
323                 return get_store().count_elements(ATTACHMENT$6) != 0;
324             }
325         }
326         
327         /**
328          * Sets the "Attachment" element
329          */
330         public void setAttachment(gov.grants.apply.system.attachmentsV10.AttachedFileDataType attachment)
331         {
332             generatedSetterHelperImpl(attachment, ATTACHMENT$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
333         }
334         
335         /**
336          * Appends and returns a new empty "Attachment" element
337          */
338         public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewAttachment()
339         {
340             synchronized (monitor())
341             {
342                 check_orphaned();
343                 gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
344                 target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(ATTACHMENT$6);
345                 return target;
346             }
347         }
348         
349         /**
350          * Unsets the "Attachment" element
351          */
352         public void unsetAttachment()
353         {
354             synchronized (monitor())
355             {
356                 check_orphaned();
357                 get_store().remove_element(ATTACHMENT$6, 0);
358             }
359         }
360         
361         /**
362          * Gets the "AuthorizedRepresentativeSignature" element
363          */
364         public java.lang.String getAuthorizedRepresentativeSignature()
365         {
366             synchronized (monitor())
367             {
368                 check_orphaned();
369                 org.apache.xmlbeans.SimpleValue target = null;
370                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8, 0);
371                 if (target == null)
372                 {
373                     return null;
374                 }
375                 return target.getStringValue();
376             }
377         }
378         
379         /**
380          * Gets (as xml) the "AuthorizedRepresentativeSignature" element
381          */
382         public gov.grants.apply.system.globalLibraryV20.SignatureDataType xgetAuthorizedRepresentativeSignature()
383         {
384             synchronized (monitor())
385             {
386                 check_orphaned();
387                 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
388                 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8, 0);
389                 return target;
390             }
391         }
392         
393         /**
394          * Sets the "AuthorizedRepresentativeSignature" element
395          */
396         public void setAuthorizedRepresentativeSignature(java.lang.String authorizedRepresentativeSignature)
397         {
398             synchronized (monitor())
399             {
400                 check_orphaned();
401                 org.apache.xmlbeans.SimpleValue target = null;
402                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8, 0);
403                 if (target == null)
404                 {
405                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8);
406                 }
407                 target.setStringValue(authorizedRepresentativeSignature);
408             }
409         }
410         
411         /**
412          * Sets (as xml) the "AuthorizedRepresentativeSignature" element
413          */
414         public void xsetAuthorizedRepresentativeSignature(gov.grants.apply.system.globalLibraryV20.SignatureDataType authorizedRepresentativeSignature)
415         {
416             synchronized (monitor())
417             {
418                 check_orphaned();
419                 gov.grants.apply.system.globalLibraryV20.SignatureDataType target = null;
420                 target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().find_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8, 0);
421                 if (target == null)
422                 {
423                     target = (gov.grants.apply.system.globalLibraryV20.SignatureDataType)get_store().add_element_user(AUTHORIZEDREPRESENTATIVESIGNATURE$8);
424                 }
425                 target.set(authorizedRepresentativeSignature);
426             }
427         }
428         
429         /**
430          * Gets the "SubmittedDate" element
431          */
432         public java.util.Calendar getSubmittedDate()
433         {
434             synchronized (monitor())
435             {
436                 check_orphaned();
437                 org.apache.xmlbeans.SimpleValue target = null;
438                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTEDDATE$10, 0);
439                 if (target == null)
440                 {
441                     return null;
442                 }
443                 return target.getCalendarValue();
444             }
445         }
446         
447         /**
448          * Gets (as xml) the "SubmittedDate" element
449          */
450         public org.apache.xmlbeans.XmlDate xgetSubmittedDate()
451         {
452             synchronized (monitor())
453             {
454                 check_orphaned();
455                 org.apache.xmlbeans.XmlDate target = null;
456                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SUBMITTEDDATE$10, 0);
457                 return target;
458             }
459         }
460         
461         /**
462          * True if has "SubmittedDate" element
463          */
464         public boolean isSetSubmittedDate()
465         {
466             synchronized (monitor())
467             {
468                 check_orphaned();
469                 return get_store().count_elements(SUBMITTEDDATE$10) != 0;
470             }
471         }
472         
473         /**
474          * Sets the "SubmittedDate" element
475          */
476         public void setSubmittedDate(java.util.Calendar submittedDate)
477         {
478             synchronized (monitor())
479             {
480                 check_orphaned();
481                 org.apache.xmlbeans.SimpleValue target = null;
482                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SUBMITTEDDATE$10, 0);
483                 if (target == null)
484                 {
485                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SUBMITTEDDATE$10);
486                 }
487                 target.setCalendarValue(submittedDate);
488             }
489         }
490         
491         /**
492          * Sets (as xml) the "SubmittedDate" element
493          */
494         public void xsetSubmittedDate(org.apache.xmlbeans.XmlDate submittedDate)
495         {
496             synchronized (monitor())
497             {
498                 check_orphaned();
499                 org.apache.xmlbeans.XmlDate target = null;
500                 target = (org.apache.xmlbeans.XmlDate)get_store().find_element_user(SUBMITTEDDATE$10, 0);
501                 if (target == null)
502                 {
503                     target = (org.apache.xmlbeans.XmlDate)get_store().add_element_user(SUBMITTEDDATE$10);
504                 }
505                 target.set(submittedDate);
506             }
507         }
508         
509         /**
510          * Unsets the "SubmittedDate" element
511          */
512         public void unsetSubmittedDate()
513         {
514             synchronized (monitor())
515             {
516                 check_orphaned();
517                 get_store().remove_element(SUBMITTEDDATE$10, 0);
518             }
519         }
520         
521         /**
522          * Gets the "FormVersion" attribute
523          */
524         public java.lang.String getFormVersion()
525         {
526             synchronized (monitor())
527             {
528                 check_orphaned();
529                 org.apache.xmlbeans.SimpleValue target = null;
530                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
531                 if (target == null)
532                 {
533                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$12);
534                 }
535                 if (target == null)
536                 {
537                     return null;
538                 }
539                 return target.getStringValue();
540             }
541         }
542         
543         /**
544          * Gets (as xml) the "FormVersion" attribute
545          */
546         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
547         {
548             synchronized (monitor())
549             {
550                 check_orphaned();
551                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
552                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
553                 if (target == null)
554                 {
555                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$12);
556                 }
557                 return target;
558             }
559         }
560         
561         /**
562          * Sets the "FormVersion" attribute
563          */
564         public void setFormVersion(java.lang.String formVersion)
565         {
566             synchronized (monitor())
567             {
568                 check_orphaned();
569                 org.apache.xmlbeans.SimpleValue target = null;
570                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
571                 if (target == null)
572                 {
573                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$12);
574                 }
575                 target.setStringValue(formVersion);
576             }
577         }
578         
579         /**
580          * Sets (as xml) the "FormVersion" attribute
581          */
582         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
583         {
584             synchronized (monitor())
585             {
586                 check_orphaned();
587                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
588                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
589                 if (target == null)
590                 {
591                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$12);
592                 }
593                 target.set(formVersion);
594             }
595         }
596     }
597 }