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