View Javadoc
1   /*
2    * An XML document type.
3    * Localname: CreatePackageInfo
4    * Namespace: http://apply.grants.gov/system/AgencyManagePackage-V1.0
5    * Java type: gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.agencyManagePackageV10.impl;
10  /**
11   * A document containing one CreatePackageInfo(@http://apply.grants.gov/system/AgencyManagePackage-V1.0) element.
12   *
13   * This is a complex type.
14   */
15  public class CreatePackageInfoDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public CreatePackageInfoDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName CREATEPACKAGEINFO$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "CreatePackageInfo");
26      
27      
28      /**
29       * Gets the "CreatePackageInfo" element
30       */
31      public gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo getCreatePackageInfo()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo target = null;
37              target = (gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo)get_store().find_element_user(CREATEPACKAGEINFO$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "CreatePackageInfo" element
48       */
49      public void setCreatePackageInfo(gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo createPackageInfo)
50      {
51          generatedSetterHelperImpl(createPackageInfo, CREATEPACKAGEINFO$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "CreatePackageInfo" element
56       */
57      public gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo addNewCreatePackageInfo()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo target = null;
63              target = (gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo)get_store().add_element_user(CREATEPACKAGEINFO$0);
64              return target;
65          }
66      }
67      /**
68       * An XML CreatePackageInfo(@http://apply.grants.gov/system/AgencyManagePackage-V1.0).
69       *
70       * This is a complex type.
71       */
72      public static class CreatePackageInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.agencyManagePackageV10.CreatePackageInfoDocument.CreatePackageInfo
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public CreatePackageInfoImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName CFDANUMBER$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "CFDANumber");
83          private static final javax.xml.namespace.QName COMPETITIONINFO$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "CompetitionInfo");
85          private static final javax.xml.namespace.QName ELECTRONICSIGNATUREREQUIRED$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "ElectronicSignatureRequired");
87          private static final javax.xml.namespace.QName EXPECTEDAPPLICATIONCOUNT$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "ExpectedApplicationCount");
89          private static final javax.xml.namespace.QName EXPECTEDAPPLICATIONSIZEMB$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "ExpectedApplicationSizeMB");
91          private static final javax.xml.namespace.QName OPENINGDATE$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "OpeningDate");
93          private static final javax.xml.namespace.QName CLOSINGDATE$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "ClosingDate");
95          private static final javax.xml.namespace.QName GRACEPERIODDAYS$14 = 
96              new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "GracePeriodDays");
97          private static final javax.xml.namespace.QName AGENCYCONTACTINFO$16 = 
98              new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "AgencyContactInfo");
99          private static final javax.xml.namespace.QName TEMPLATENAME$18 = 
100             new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "TemplateName");
101         private static final javax.xml.namespace.QName INSTRUCTIONFILEINFO$20 = 
102             new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "InstructionFileInfo");
103         private static final javax.xml.namespace.QName OPENTOAPPLICANT$22 = 
104             new javax.xml.namespace.QName("http://apply.grants.gov/system/AgencyManagePackage-V1.0", "OpenToApplicant");
105         
106         
107         /**
108          * Gets the "CFDANumber" element
109          */
110         public java.lang.String getCFDANumber()
111         {
112             synchronized (monitor())
113             {
114                 check_orphaned();
115                 org.apache.xmlbeans.SimpleValue target = null;
116                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CFDANUMBER$0, 0);
117                 if (target == null)
118                 {
119                     return null;
120                 }
121                 return target.getStringValue();
122             }
123         }
124         
125         /**
126          * Gets (as xml) the "CFDANumber" element
127          */
128         public gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType xgetCFDANumber()
129         {
130             synchronized (monitor())
131             {
132                 check_orphaned();
133                 gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType target = null;
134                 target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().find_element_user(CFDANUMBER$0, 0);
135                 return target;
136             }
137         }
138         
139         /**
140          * True if has "CFDANumber" element
141          */
142         public boolean isSetCFDANumber()
143         {
144             synchronized (monitor())
145             {
146                 check_orphaned();
147                 return get_store().count_elements(CFDANUMBER$0) != 0;
148             }
149         }
150         
151         /**
152          * Sets the "CFDANumber" element
153          */
154         public void setCFDANumber(java.lang.String cfdaNumber)
155         {
156             synchronized (monitor())
157             {
158                 check_orphaned();
159                 org.apache.xmlbeans.SimpleValue target = null;
160                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CFDANUMBER$0, 0);
161                 if (target == null)
162                 {
163                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CFDANUMBER$0);
164                 }
165                 target.setStringValue(cfdaNumber);
166             }
167         }
168         
169         /**
170          * Sets (as xml) the "CFDANumber" element
171          */
172         public void xsetCFDANumber(gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType cfdaNumber)
173         {
174             synchronized (monitor())
175             {
176                 check_orphaned();
177                 gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType target = null;
178                 target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().find_element_user(CFDANUMBER$0, 0);
179                 if (target == null)
180                 {
181                     target = (gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType)get_store().add_element_user(CFDANUMBER$0);
182                 }
183                 target.set(cfdaNumber);
184             }
185         }
186         
187         /**
188          * Unsets the "CFDANumber" element
189          */
190         public void unsetCFDANumber()
191         {
192             synchronized (monitor())
193             {
194                 check_orphaned();
195                 get_store().remove_element(CFDANUMBER$0, 0);
196             }
197         }
198         
199         /**
200          * Gets the "CompetitionInfo" element
201          */
202         public gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo getCompetitionInfo()
203         {
204             synchronized (monitor())
205             {
206                 check_orphaned();
207                 gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo target = null;
208                 target = (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo)get_store().find_element_user(COMPETITIONINFO$2, 0);
209                 if (target == null)
210                 {
211                     return null;
212                 }
213                 return target;
214             }
215         }
216         
217         /**
218          * True if has "CompetitionInfo" element
219          */
220         public boolean isSetCompetitionInfo()
221         {
222             synchronized (monitor())
223             {
224                 check_orphaned();
225                 return get_store().count_elements(COMPETITIONINFO$2) != 0;
226             }
227         }
228         
229         /**
230          * Sets the "CompetitionInfo" element
231          */
232         public void setCompetitionInfo(gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo competitionInfo)
233         {
234             generatedSetterHelperImpl(competitionInfo, COMPETITIONINFO$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
235         }
236         
237         /**
238          * Appends and returns a new empty "CompetitionInfo" element
239          */
240         public gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo addNewCompetitionInfo()
241         {
242             synchronized (monitor())
243             {
244                 check_orphaned();
245                 gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo target = null;
246                 target = (gov.grants.apply.system.grantsCommonElementsV10.CompetitionInfoDocument.CompetitionInfo)get_store().add_element_user(COMPETITIONINFO$2);
247                 return target;
248             }
249         }
250         
251         /**
252          * Unsets the "CompetitionInfo" element
253          */
254         public void unsetCompetitionInfo()
255         {
256             synchronized (monitor())
257             {
258                 check_orphaned();
259                 get_store().remove_element(COMPETITIONINFO$2, 0);
260             }
261         }
262         
263         /**
264          * Gets the "ElectronicSignatureRequired" element
265          */
266         public gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired.Enum getElectronicSignatureRequired()
267         {
268             synchronized (monitor())
269             {
270                 check_orphaned();
271                 org.apache.xmlbeans.SimpleValue target = null;
272                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ELECTRONICSIGNATUREREQUIRED$4, 0);
273                 if (target == null)
274                 {
275                     return null;
276                 }
277                 return (gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired.Enum)target.getEnumValue();
278             }
279         }
280         
281         /**
282          * Gets (as xml) the "ElectronicSignatureRequired" element
283          */
284         public gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired xgetElectronicSignatureRequired()
285         {
286             synchronized (monitor())
287             {
288                 check_orphaned();
289                 gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired target = null;
290                 target = (gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired)get_store().find_element_user(ELECTRONICSIGNATUREREQUIRED$4, 0);
291                 return target;
292             }
293         }
294         
295         /**
296          * Sets the "ElectronicSignatureRequired" element
297          */
298         public void setElectronicSignatureRequired(gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired.Enum electronicSignatureRequired)
299         {
300             synchronized (monitor())
301             {
302                 check_orphaned();
303                 org.apache.xmlbeans.SimpleValue target = null;
304                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(ELECTRONICSIGNATUREREQUIRED$4, 0);
305                 if (target == null)
306                 {
307                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(ELECTRONICSIGNATUREREQUIRED$4);
308                 }
309                 target.setEnumValue(electronicSignatureRequired);
310             }
311         }
312         
313         /**
314          * Sets (as xml) the "ElectronicSignatureRequired" element
315          */
316         public void xsetElectronicSignatureRequired(gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired electronicSignatureRequired)
317         {
318             synchronized (monitor())
319             {
320                 check_orphaned();
321                 gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired target = null;
322                 target = (gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired)get_store().find_element_user(ELECTRONICSIGNATUREREQUIRED$4, 0);
323                 if (target == null)
324                 {
325                     target = (gov.grants.apply.system.agencyManagePackageV10.ElectronicSignatureRequiredDocument.ElectronicSignatureRequired)get_store().add_element_user(ELECTRONICSIGNATUREREQUIRED$4);
326                 }
327                 target.set(electronicSignatureRequired);
328             }
329         }
330         
331         /**
332          * Gets the "ExpectedApplicationCount" element
333          */
334         public java.lang.String getExpectedApplicationCount()
335         {
336             synchronized (monitor())
337             {
338                 check_orphaned();
339                 org.apache.xmlbeans.SimpleValue target = null;
340                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPECTEDAPPLICATIONCOUNT$6, 0);
341                 if (target == null)
342                 {
343                     return null;
344                 }
345                 return target.getStringValue();
346             }
347         }
348         
349         /**
350          * Gets (as xml) the "ExpectedApplicationCount" element
351          */
352         public gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount xgetExpectedApplicationCount()
353         {
354             synchronized (monitor())
355             {
356                 check_orphaned();
357                 gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount target = null;
358                 target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount)get_store().find_element_user(EXPECTEDAPPLICATIONCOUNT$6, 0);
359                 return target;
360             }
361         }
362         
363         /**
364          * Sets the "ExpectedApplicationCount" element
365          */
366         public void setExpectedApplicationCount(java.lang.String expectedApplicationCount)
367         {
368             synchronized (monitor())
369             {
370                 check_orphaned();
371                 org.apache.xmlbeans.SimpleValue target = null;
372                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPECTEDAPPLICATIONCOUNT$6, 0);
373                 if (target == null)
374                 {
375                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXPECTEDAPPLICATIONCOUNT$6);
376                 }
377                 target.setStringValue(expectedApplicationCount);
378             }
379         }
380         
381         /**
382          * Sets (as xml) the "ExpectedApplicationCount" element
383          */
384         public void xsetExpectedApplicationCount(gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount expectedApplicationCount)
385         {
386             synchronized (monitor())
387             {
388                 check_orphaned();
389                 gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount target = null;
390                 target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount)get_store().find_element_user(EXPECTEDAPPLICATIONCOUNT$6, 0);
391                 if (target == null)
392                 {
393                     target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationCountDocument.ExpectedApplicationCount)get_store().add_element_user(EXPECTEDAPPLICATIONCOUNT$6);
394                 }
395                 target.set(expectedApplicationCount);
396             }
397         }
398         
399         /**
400          * Gets the "ExpectedApplicationSizeMB" element
401          */
402         public java.lang.String getExpectedApplicationSizeMB()
403         {
404             synchronized (monitor())
405             {
406                 check_orphaned();
407                 org.apache.xmlbeans.SimpleValue target = null;
408                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPECTEDAPPLICATIONSIZEMB$8, 0);
409                 if (target == null)
410                 {
411                     return null;
412                 }
413                 return target.getStringValue();
414             }
415         }
416         
417         /**
418          * Gets (as xml) the "ExpectedApplicationSizeMB" element
419          */
420         public gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB xgetExpectedApplicationSizeMB()
421         {
422             synchronized (monitor())
423             {
424                 check_orphaned();
425                 gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB target = null;
426                 target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB)get_store().find_element_user(EXPECTEDAPPLICATIONSIZEMB$8, 0);
427                 return target;
428             }
429         }
430         
431         /**
432          * True if has "ExpectedApplicationSizeMB" element
433          */
434         public boolean isSetExpectedApplicationSizeMB()
435         {
436             synchronized (monitor())
437             {
438                 check_orphaned();
439                 return get_store().count_elements(EXPECTEDAPPLICATIONSIZEMB$8) != 0;
440             }
441         }
442         
443         /**
444          * Sets the "ExpectedApplicationSizeMB" element
445          */
446         public void setExpectedApplicationSizeMB(java.lang.String expectedApplicationSizeMB)
447         {
448             synchronized (monitor())
449             {
450                 check_orphaned();
451                 org.apache.xmlbeans.SimpleValue target = null;
452                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(EXPECTEDAPPLICATIONSIZEMB$8, 0);
453                 if (target == null)
454                 {
455                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(EXPECTEDAPPLICATIONSIZEMB$8);
456                 }
457                 target.setStringValue(expectedApplicationSizeMB);
458             }
459         }
460         
461         /**
462          * Sets (as xml) the "ExpectedApplicationSizeMB" element
463          */
464         public void xsetExpectedApplicationSizeMB(gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB expectedApplicationSizeMB)
465         {
466             synchronized (monitor())
467             {
468                 check_orphaned();
469                 gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB target = null;
470                 target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB)get_store().find_element_user(EXPECTEDAPPLICATIONSIZEMB$8, 0);
471                 if (target == null)
472                 {
473                     target = (gov.grants.apply.system.agencyManagePackageV10.ExpectedApplicationSizeMBDocument.ExpectedApplicationSizeMB)get_store().add_element_user(EXPECTEDAPPLICATIONSIZEMB$8);
474                 }
475                 target.set(expectedApplicationSizeMB);
476             }
477         }
478         
479         /**
480          * Unsets the "ExpectedApplicationSizeMB" element
481          */
482         public void unsetExpectedApplicationSizeMB()
483         {
484             synchronized (monitor())
485             {
486                 check_orphaned();
487                 get_store().remove_element(EXPECTEDAPPLICATIONSIZEMB$8, 0);
488             }
489         }
490         
491         /**
492          * Gets the "OpeningDate" element
493          */
494         public java.lang.String getOpeningDate()
495         {
496             synchronized (monitor())
497             {
498                 check_orphaned();
499                 org.apache.xmlbeans.SimpleValue target = null;
500                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENINGDATE$10, 0);
501                 if (target == null)
502                 {
503                     return null;
504                 }
505                 return target.getStringValue();
506             }
507         }
508         
509         /**
510          * Gets (as xml) the "OpeningDate" element
511          */
512         public gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType xgetOpeningDate()
513         {
514             synchronized (monitor())
515             {
516                 check_orphaned();
517                 gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType target = null;
518                 target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().find_element_user(OPENINGDATE$10, 0);
519                 return target;
520             }
521         }
522         
523         /**
524          * True if has "OpeningDate" element
525          */
526         public boolean isSetOpeningDate()
527         {
528             synchronized (monitor())
529             {
530                 check_orphaned();
531                 return get_store().count_elements(OPENINGDATE$10) != 0;
532             }
533         }
534         
535         /**
536          * Sets the "OpeningDate" element
537          */
538         public void setOpeningDate(java.lang.String openingDate)
539         {
540             synchronized (monitor())
541             {
542                 check_orphaned();
543                 org.apache.xmlbeans.SimpleValue target = null;
544                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENINGDATE$10, 0);
545                 if (target == null)
546                 {
547                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPENINGDATE$10);
548                 }
549                 target.setStringValue(openingDate);
550             }
551         }
552         
553         /**
554          * Sets (as xml) the "OpeningDate" element
555          */
556         public void xsetOpeningDate(gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType openingDate)
557         {
558             synchronized (monitor())
559             {
560                 check_orphaned();
561                 gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType target = null;
562                 target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().find_element_user(OPENINGDATE$10, 0);
563                 if (target == null)
564                 {
565                     target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().add_element_user(OPENINGDATE$10);
566                 }
567                 target.set(openingDate);
568             }
569         }
570         
571         /**
572          * Unsets the "OpeningDate" element
573          */
574         public void unsetOpeningDate()
575         {
576             synchronized (monitor())
577             {
578                 check_orphaned();
579                 get_store().remove_element(OPENINGDATE$10, 0);
580             }
581         }
582         
583         /**
584          * Gets the "ClosingDate" element
585          */
586         public java.lang.String getClosingDate()
587         {
588             synchronized (monitor())
589             {
590                 check_orphaned();
591                 org.apache.xmlbeans.SimpleValue target = null;
592                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLOSINGDATE$12, 0);
593                 if (target == null)
594                 {
595                     return null;
596                 }
597                 return target.getStringValue();
598             }
599         }
600         
601         /**
602          * Gets (as xml) the "ClosingDate" element
603          */
604         public gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType xgetClosingDate()
605         {
606             synchronized (monitor())
607             {
608                 check_orphaned();
609                 gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType target = null;
610                 target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().find_element_user(CLOSINGDATE$12, 0);
611                 return target;
612             }
613         }
614         
615         /**
616          * Sets the "ClosingDate" element
617          */
618         public void setClosingDate(java.lang.String closingDate)
619         {
620             synchronized (monitor())
621             {
622                 check_orphaned();
623                 org.apache.xmlbeans.SimpleValue target = null;
624                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CLOSINGDATE$12, 0);
625                 if (target == null)
626                 {
627                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CLOSINGDATE$12);
628                 }
629                 target.setStringValue(closingDate);
630             }
631         }
632         
633         /**
634          * Sets (as xml) the "ClosingDate" element
635          */
636         public void xsetClosingDate(gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType closingDate)
637         {
638             synchronized (monitor())
639             {
640                 check_orphaned();
641                 gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType target = null;
642                 target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().find_element_user(CLOSINGDATE$12, 0);
643                 if (target == null)
644                 {
645                     target = (gov.grants.apply.system.agencyManagePackageV10.OpportunityDateType)get_store().add_element_user(CLOSINGDATE$12);
646                 }
647                 target.set(closingDate);
648             }
649         }
650         
651         /**
652          * Gets the "GracePeriodDays" element
653          */
654         public java.lang.String getGracePeriodDays()
655         {
656             synchronized (monitor())
657             {
658                 check_orphaned();
659                 org.apache.xmlbeans.SimpleValue target = null;
660                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRACEPERIODDAYS$14, 0);
661                 if (target == null)
662                 {
663                     return null;
664                 }
665                 return target.getStringValue();
666             }
667         }
668         
669         /**
670          * Gets (as xml) the "GracePeriodDays" element
671          */
672         public gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays xgetGracePeriodDays()
673         {
674             synchronized (monitor())
675             {
676                 check_orphaned();
677                 gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays target = null;
678                 target = (gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays)get_store().find_element_user(GRACEPERIODDAYS$14, 0);
679                 return target;
680             }
681         }
682         
683         /**
684          * True if has "GracePeriodDays" element
685          */
686         public boolean isSetGracePeriodDays()
687         {
688             synchronized (monitor())
689             {
690                 check_orphaned();
691                 return get_store().count_elements(GRACEPERIODDAYS$14) != 0;
692             }
693         }
694         
695         /**
696          * Sets the "GracePeriodDays" element
697          */
698         public void setGracePeriodDays(java.lang.String gracePeriodDays)
699         {
700             synchronized (monitor())
701             {
702                 check_orphaned();
703                 org.apache.xmlbeans.SimpleValue target = null;
704                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GRACEPERIODDAYS$14, 0);
705                 if (target == null)
706                 {
707                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GRACEPERIODDAYS$14);
708                 }
709                 target.setStringValue(gracePeriodDays);
710             }
711         }
712         
713         /**
714          * Sets (as xml) the "GracePeriodDays" element
715          */
716         public void xsetGracePeriodDays(gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays gracePeriodDays)
717         {
718             synchronized (monitor())
719             {
720                 check_orphaned();
721                 gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays target = null;
722                 target = (gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays)get_store().find_element_user(GRACEPERIODDAYS$14, 0);
723                 if (target == null)
724                 {
725                     target = (gov.grants.apply.system.agencyManagePackageV10.GracePeriodDaysDocument.GracePeriodDays)get_store().add_element_user(GRACEPERIODDAYS$14);
726                 }
727                 target.set(gracePeriodDays);
728             }
729         }
730         
731         /**
732          * Unsets the "GracePeriodDays" element
733          */
734         public void unsetGracePeriodDays()
735         {
736             synchronized (monitor())
737             {
738                 check_orphaned();
739                 get_store().remove_element(GRACEPERIODDAYS$14, 0);
740             }
741         }
742         
743         /**
744          * Gets the "AgencyContactInfo" element
745          */
746         public java.lang.String getAgencyContactInfo()
747         {
748             synchronized (monitor())
749             {
750                 check_orphaned();
751                 org.apache.xmlbeans.SimpleValue target = null;
752                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYCONTACTINFO$16, 0);
753                 if (target == null)
754                 {
755                     return null;
756                 }
757                 return target.getStringValue();
758             }
759         }
760         
761         /**
762          * Gets (as xml) the "AgencyContactInfo" element
763          */
764         public gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType xgetAgencyContactInfo()
765         {
766             synchronized (monitor())
767             {
768                 check_orphaned();
769                 gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType target = null;
770                 target = (gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType)get_store().find_element_user(AGENCYCONTACTINFO$16, 0);
771                 return target;
772             }
773         }
774         
775         /**
776          * Sets the "AgencyContactInfo" element
777          */
778         public void setAgencyContactInfo(java.lang.String agencyContactInfo)
779         {
780             synchronized (monitor())
781             {
782                 check_orphaned();
783                 org.apache.xmlbeans.SimpleValue target = null;
784                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(AGENCYCONTACTINFO$16, 0);
785                 if (target == null)
786                 {
787                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(AGENCYCONTACTINFO$16);
788                 }
789                 target.setStringValue(agencyContactInfo);
790             }
791         }
792         
793         /**
794          * Sets (as xml) the "AgencyContactInfo" element
795          */
796         public void xsetAgencyContactInfo(gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType agencyContactInfo)
797         {
798             synchronized (monitor())
799             {
800                 check_orphaned();
801                 gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType target = null;
802                 target = (gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType)get_store().find_element_user(AGENCYCONTACTINFO$16, 0);
803                 if (target == null)
804                 {
805                     target = (gov.grants.apply.system.grantsCommonTypesV10.AgencyContactInfoType)get_store().add_element_user(AGENCYCONTACTINFO$16);
806                 }
807                 target.set(agencyContactInfo);
808             }
809         }
810         
811         /**
812          * Gets the "TemplateName" element
813          */
814         public java.lang.String getTemplateName()
815         {
816             synchronized (monitor())
817             {
818                 check_orphaned();
819                 org.apache.xmlbeans.SimpleValue target = null;
820                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEMPLATENAME$18, 0);
821                 if (target == null)
822                 {
823                     return null;
824                 }
825                 return target.getStringValue();
826             }
827         }
828         
829         /**
830          * Gets (as xml) the "TemplateName" element
831          */
832         public gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType xgetTemplateName()
833         {
834             synchronized (monitor())
835             {
836                 check_orphaned();
837                 gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType target = null;
838                 target = (gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType)get_store().find_element_user(TEMPLATENAME$18, 0);
839                 return target;
840             }
841         }
842         
843         /**
844          * Sets the "TemplateName" element
845          */
846         public void setTemplateName(java.lang.String templateName)
847         {
848             synchronized (monitor())
849             {
850                 check_orphaned();
851                 org.apache.xmlbeans.SimpleValue target = null;
852                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TEMPLATENAME$18, 0);
853                 if (target == null)
854                 {
855                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TEMPLATENAME$18);
856                 }
857                 target.setStringValue(templateName);
858             }
859         }
860         
861         /**
862          * Sets (as xml) the "TemplateName" element
863          */
864         public void xsetTemplateName(gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType templateName)
865         {
866             synchronized (monitor())
867             {
868                 check_orphaned();
869                 gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType target = null;
870                 target = (gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType)get_store().find_element_user(TEMPLATENAME$18, 0);
871                 if (target == null)
872                 {
873                     target = (gov.grants.apply.system.grantsCommonTypesV10.TemplateNameType)get_store().add_element_user(TEMPLATENAME$18);
874                 }
875                 target.set(templateName);
876             }
877         }
878         
879         /**
880          * Gets the "InstructionFileInfo" element
881          */
882         public gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo getInstructionFileInfo()
883         {
884             synchronized (monitor())
885             {
886                 check_orphaned();
887                 gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo target = null;
888                 target = (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo)get_store().find_element_user(INSTRUCTIONFILEINFO$20, 0);
889                 if (target == null)
890                 {
891                     return null;
892                 }
893                 return target;
894             }
895         }
896         
897         /**
898          * Sets the "InstructionFileInfo" element
899          */
900         public void setInstructionFileInfo(gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo instructionFileInfo)
901         {
902             generatedSetterHelperImpl(instructionFileInfo, INSTRUCTIONFILEINFO$20, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
903         }
904         
905         /**
906          * Appends and returns a new empty "InstructionFileInfo" element
907          */
908         public gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo addNewInstructionFileInfo()
909         {
910             synchronized (monitor())
911             {
912                 check_orphaned();
913                 gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo target = null;
914                 target = (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo)get_store().add_element_user(INSTRUCTIONFILEINFO$20);
915                 return target;
916             }
917         }
918         
919         /**
920          * Gets the "OpenToApplicant" element
921          */
922         public gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant.Enum getOpenToApplicant()
923         {
924             synchronized (monitor())
925             {
926                 check_orphaned();
927                 org.apache.xmlbeans.SimpleValue target = null;
928                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENTOAPPLICANT$22, 0);
929                 if (target == null)
930                 {
931                     return null;
932                 }
933                 return (gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant.Enum)target.getEnumValue();
934             }
935         }
936         
937         /**
938          * Gets (as xml) the "OpenToApplicant" element
939          */
940         public gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant xgetOpenToApplicant()
941         {
942             synchronized (monitor())
943             {
944                 check_orphaned();
945                 gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant target = null;
946                 target = (gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant)get_store().find_element_user(OPENTOAPPLICANT$22, 0);
947                 return target;
948             }
949         }
950         
951         /**
952          * Sets the "OpenToApplicant" element
953          */
954         public void setOpenToApplicant(gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant.Enum openToApplicant)
955         {
956             synchronized (monitor())
957             {
958                 check_orphaned();
959                 org.apache.xmlbeans.SimpleValue target = null;
960                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(OPENTOAPPLICANT$22, 0);
961                 if (target == null)
962                 {
963                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(OPENTOAPPLICANT$22);
964                 }
965                 target.setEnumValue(openToApplicant);
966             }
967         }
968         
969         /**
970          * Sets (as xml) the "OpenToApplicant" element
971          */
972         public void xsetOpenToApplicant(gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant openToApplicant)
973         {
974             synchronized (monitor())
975             {
976                 check_orphaned();
977                 gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant target = null;
978                 target = (gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant)get_store().find_element_user(OPENTOAPPLICANT$22, 0);
979                 if (target == null)
980                 {
981                     target = (gov.grants.apply.system.agencyManagePackageV10.OpenToApplicantDocument.OpenToApplicant)get_store().add_element_user(OPENTOAPPLICANT$22);
982                 }
983                 target.set(openToApplicant);
984             }
985         }
986     }
987 }