View Javadoc
1   /*
2    * An XML document type.
3    * Localname: HUD_ROSS
4    * Namespace: http://apply.grants.gov/forms/HUD_ROSS-V1.1
5    * Java type: gov.grants.apply.forms.hudROSSV11.HUDROSSDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.hudROSSV11.impl;
10  /**
11   * A document containing one HUD_ROSS(@http://apply.grants.gov/forms/HUD_ROSS-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class HUDROSSDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public HUDROSSDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName HUDROSS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "HUD_ROSS");
26      
27      
28      /**
29       * Gets the "HUD_ROSS" element
30       */
31      public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS getHUDROSS()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS target = null;
37              target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS)get_store().find_element_user(HUDROSS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "HUD_ROSS" element
48       */
49      public void setHUDROSS(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS hudross)
50      {
51          generatedSetterHelperImpl(hudross, HUDROSS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "HUD_ROSS" element
56       */
57      public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS addNewHUDROSS()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS target = null;
63              target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS)get_store().add_element_user(HUDROSS$0);
64              return target;
65          }
66      }
67      /**
68       * An XML HUD_ROSS(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
69       *
70       * This is a complex type.
71       */
72      public static class HUDROSSImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public HUDROSSImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName PHAAPPLICANTNAME$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAApplicantName");
83          private static final javax.xml.namespace.QName PHAGRANTINDICATOR$2 = 
84              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAGrantIndicator");
85          private static final javax.xml.namespace.QName APPLICANTS$4 = 
86              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Applicants");
87          private static final javax.xml.namespace.QName RESEARCHSTAFFS$6 = 
88              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaffs");
89          private static final javax.xml.namespace.QName CONTRACTORS$8 = 
90              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Contractors");
91          private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATOR$10 = 
92              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministrator");
93          private static final javax.xml.namespace.QName FORMVERSION$12 = 
94              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "FormVersion");
95          
96          
97          /**
98           * Gets the "PHAApplicantName" element
99           */
100         public java.lang.String getPHAApplicantName()
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(PHAAPPLICANTNAME$0, 0);
107                 if (target == null)
108                 {
109                     return null;
110                 }
111                 return target.getStringValue();
112             }
113         }
114         
115         /**
116          * Gets (as xml) the "PHAApplicantName" element
117          */
118         public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAApplicantName()
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(PHAAPPLICANTNAME$0, 0);
125                 return target;
126             }
127         }
128         
129         /**
130          * Sets the "PHAApplicantName" element
131          */
132         public void setPHAApplicantName(java.lang.String phaApplicantName)
133         {
134             synchronized (monitor())
135             {
136                 check_orphaned();
137                 org.apache.xmlbeans.SimpleValue target = null;
138                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
139                 if (target == null)
140                 {
141                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPPLICANTNAME$0);
142                 }
143                 target.setStringValue(phaApplicantName);
144             }
145         }
146         
147         /**
148          * Sets (as xml) the "PHAApplicantName" element
149          */
150         public void xsetPHAApplicantName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaApplicantName)
151         {
152             synchronized (monitor())
153             {
154                 check_orphaned();
155                 gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
156                 target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPPLICANTNAME$0, 0);
157                 if (target == null)
158                 {
159                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHAAPPLICANTNAME$0);
160                 }
161                 target.set(phaApplicantName);
162             }
163         }
164         
165         /**
166          * Gets the "PHAGrantIndicator" element
167          */
168         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum getPHAGrantIndicator()
169         {
170             synchronized (monitor())
171             {
172                 check_orphaned();
173                 org.apache.xmlbeans.SimpleValue target = null;
174                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
175                 if (target == null)
176                 {
177                     return null;
178                 }
179                 return (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum)target.getEnumValue();
180             }
181         }
182         
183         /**
184          * Gets (as xml) the "PHAGrantIndicator" element
185          */
186         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator xgetPHAGrantIndicator()
187         {
188             synchronized (monitor())
189             {
190                 check_orphaned();
191                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator target = null;
192                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
193                 return target;
194             }
195         }
196         
197         /**
198          * Sets the "PHAGrantIndicator" element
199          */
200         public void setPHAGrantIndicator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator.Enum phaGrantIndicator)
201         {
202             synchronized (monitor())
203             {
204                 check_orphaned();
205                 org.apache.xmlbeans.SimpleValue target = null;
206                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
207                 if (target == null)
208                 {
209                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAGRANTINDICATOR$2);
210                 }
211                 target.setEnumValue(phaGrantIndicator);
212             }
213         }
214         
215         /**
216          * Sets (as xml) the "PHAGrantIndicator" element
217          */
218         public void xsetPHAGrantIndicator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator phaGrantIndicator)
219         {
220             synchronized (monitor())
221             {
222                 check_orphaned();
223                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator target = null;
224                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().find_element_user(PHAGRANTINDICATOR$2, 0);
225                 if (target == null)
226                 {
227                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator)get_store().add_element_user(PHAGRANTINDICATOR$2);
228                 }
229                 target.set(phaGrantIndicator);
230             }
231         }
232         
233         /**
234          * Gets the "Applicants" element
235          */
236         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants getApplicants()
237         {
238             synchronized (monitor())
239             {
240                 check_orphaned();
241                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants target = null;
242                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants)get_store().find_element_user(APPLICANTS$4, 0);
243                 if (target == null)
244                 {
245                     return null;
246                 }
247                 return target;
248             }
249         }
250         
251         /**
252          * True if has "Applicants" element
253          */
254         public boolean isSetApplicants()
255         {
256             synchronized (monitor())
257             {
258                 check_orphaned();
259                 return get_store().count_elements(APPLICANTS$4) != 0;
260             }
261         }
262         
263         /**
264          * Sets the "Applicants" element
265          */
266         public void setApplicants(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants applicants)
267         {
268             generatedSetterHelperImpl(applicants, APPLICANTS$4, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
269         }
270         
271         /**
272          * Appends and returns a new empty "Applicants" element
273          */
274         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants addNewApplicants()
275         {
276             synchronized (monitor())
277             {
278                 check_orphaned();
279                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants target = null;
280                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants)get_store().add_element_user(APPLICANTS$4);
281                 return target;
282             }
283         }
284         
285         /**
286          * Unsets the "Applicants" element
287          */
288         public void unsetApplicants()
289         {
290             synchronized (monitor())
291             {
292                 check_orphaned();
293                 get_store().remove_element(APPLICANTS$4, 0);
294             }
295         }
296         
297         /**
298          * Gets the "ResearchStaffs" element
299          */
300         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs getResearchStaffs()
301         {
302             synchronized (monitor())
303             {
304                 check_orphaned();
305                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs target = null;
306                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs)get_store().find_element_user(RESEARCHSTAFFS$6, 0);
307                 if (target == null)
308                 {
309                     return null;
310                 }
311                 return target;
312             }
313         }
314         
315         /**
316          * True if has "ResearchStaffs" element
317          */
318         public boolean isSetResearchStaffs()
319         {
320             synchronized (monitor())
321             {
322                 check_orphaned();
323                 return get_store().count_elements(RESEARCHSTAFFS$6) != 0;
324             }
325         }
326         
327         /**
328          * Sets the "ResearchStaffs" element
329          */
330         public void setResearchStaffs(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs researchStaffs)
331         {
332             generatedSetterHelperImpl(researchStaffs, RESEARCHSTAFFS$6, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
333         }
334         
335         /**
336          * Appends and returns a new empty "ResearchStaffs" element
337          */
338         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs addNewResearchStaffs()
339         {
340             synchronized (monitor())
341             {
342                 check_orphaned();
343                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs target = null;
344                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs)get_store().add_element_user(RESEARCHSTAFFS$6);
345                 return target;
346             }
347         }
348         
349         /**
350          * Unsets the "ResearchStaffs" element
351          */
352         public void unsetResearchStaffs()
353         {
354             synchronized (monitor())
355             {
356                 check_orphaned();
357                 get_store().remove_element(RESEARCHSTAFFS$6, 0);
358             }
359         }
360         
361         /**
362          * Gets the "Contractors" element
363          */
364         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors getContractors()
365         {
366             synchronized (monitor())
367             {
368                 check_orphaned();
369                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors target = null;
370                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors)get_store().find_element_user(CONTRACTORS$8, 0);
371                 if (target == null)
372                 {
373                     return null;
374                 }
375                 return target;
376             }
377         }
378         
379         /**
380          * True if has "Contractors" element
381          */
382         public boolean isSetContractors()
383         {
384             synchronized (monitor())
385             {
386                 check_orphaned();
387                 return get_store().count_elements(CONTRACTORS$8) != 0;
388             }
389         }
390         
391         /**
392          * Sets the "Contractors" element
393          */
394         public void setContractors(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors contractors)
395         {
396             generatedSetterHelperImpl(contractors, CONTRACTORS$8, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
397         }
398         
399         /**
400          * Appends and returns a new empty "Contractors" element
401          */
402         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors addNewContractors()
403         {
404             synchronized (monitor())
405             {
406                 check_orphaned();
407                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors target = null;
408                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors)get_store().add_element_user(CONTRACTORS$8);
409                 return target;
410             }
411         }
412         
413         /**
414          * Unsets the "Contractors" element
415          */
416         public void unsetContractors()
417         {
418             synchronized (monitor())
419             {
420                 check_orphaned();
421                 get_store().remove_element(CONTRACTORS$8, 0);
422             }
423         }
424         
425         /**
426          * Gets the "PHAContractAdministrator" element
427          */
428         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator getPHAContractAdministrator()
429         {
430             synchronized (monitor())
431             {
432                 check_orphaned();
433                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator target = null;
434                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator)get_store().find_element_user(PHACONTRACTADMINISTRATOR$10, 0);
435                 if (target == null)
436                 {
437                     return null;
438                 }
439                 return target;
440             }
441         }
442         
443         /**
444          * True if has "PHAContractAdministrator" element
445          */
446         public boolean isSetPHAContractAdministrator()
447         {
448             synchronized (monitor())
449             {
450                 check_orphaned();
451                 return get_store().count_elements(PHACONTRACTADMINISTRATOR$10) != 0;
452             }
453         }
454         
455         /**
456          * Sets the "PHAContractAdministrator" element
457          */
458         public void setPHAContractAdministrator(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator phaContractAdministrator)
459         {
460             generatedSetterHelperImpl(phaContractAdministrator, PHACONTRACTADMINISTRATOR$10, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
461         }
462         
463         /**
464          * Appends and returns a new empty "PHAContractAdministrator" element
465          */
466         public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator addNewPHAContractAdministrator()
467         {
468             synchronized (monitor())
469             {
470                 check_orphaned();
471                 gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator target = null;
472                 target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator)get_store().add_element_user(PHACONTRACTADMINISTRATOR$10);
473                 return target;
474             }
475         }
476         
477         /**
478          * Unsets the "PHAContractAdministrator" element
479          */
480         public void unsetPHAContractAdministrator()
481         {
482             synchronized (monitor())
483             {
484                 check_orphaned();
485                 get_store().remove_element(PHACONTRACTADMINISTRATOR$10, 0);
486             }
487         }
488         
489         /**
490          * Gets the "FormVersion" attribute
491          */
492         public java.lang.String getFormVersion()
493         {
494             synchronized (monitor())
495             {
496                 check_orphaned();
497                 org.apache.xmlbeans.SimpleValue target = null;
498                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
499                 if (target == null)
500                 {
501                     target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$12);
502                 }
503                 if (target == null)
504                 {
505                     return null;
506                 }
507                 return target.getStringValue();
508             }
509         }
510         
511         /**
512          * Gets (as xml) the "FormVersion" attribute
513          */
514         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
515         {
516             synchronized (monitor())
517             {
518                 check_orphaned();
519                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
520                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
521                 if (target == null)
522                 {
523                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$12);
524                 }
525                 return target;
526             }
527         }
528         
529         /**
530          * Sets the "FormVersion" attribute
531          */
532         public void setFormVersion(java.lang.String formVersion)
533         {
534             synchronized (monitor())
535             {
536                 check_orphaned();
537                 org.apache.xmlbeans.SimpleValue target = null;
538                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$12);
539                 if (target == null)
540                 {
541                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$12);
542                 }
543                 target.setStringValue(formVersion);
544             }
545         }
546         
547         /**
548          * Sets (as xml) the "FormVersion" attribute
549          */
550         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
551         {
552             synchronized (monitor())
553             {
554                 check_orphaned();
555                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
556                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$12);
557                 if (target == null)
558                 {
559                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$12);
560                 }
561                 target.set(formVersion);
562             }
563         }
564         /**
565          * An XML PHAGrantIndicator(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
566          *
567          * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$PHAGrantIndicator.
568          */
569         public static class PHAGrantIndicatorImpl extends org.apache.xmlbeans.impl.values.JavaStringEnumerationHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAGrantIndicator
570         {
571             private static final long serialVersionUID = 1L;
572             
573             public PHAGrantIndicatorImpl(org.apache.xmlbeans.SchemaType sType)
574             {
575                 super(sType, false);
576             }
577             
578             protected PHAGrantIndicatorImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
579             {
580                 super(sType, b);
581             }
582         }
583         /**
584          * An XML Applicants(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
585          *
586          * This is a complex type.
587          */
588         public static class ApplicantsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants
589         {
590             private static final long serialVersionUID = 1L;
591             
592             public ApplicantsImpl(org.apache.xmlbeans.SchemaType sType)
593             {
594                 super(sType);
595             }
596             
597             private static final javax.xml.namespace.QName APPLICANT$0 = 
598                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Applicant");
599             
600             
601             /**
602              * Gets array of all "Applicant" elements
603              */
604             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] getApplicantArray()
605             {
606                 synchronized (monitor())
607                 {
608                     check_orphaned();
609                     java.util.List targetList = new java.util.ArrayList();
610                     get_store().find_all_element_users(APPLICANT$0, targetList);
611                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[targetList.size()];
612                     targetList.toArray(result);
613                     return result;
614                 }
615             }
616             
617             /**
618              * Gets ith "Applicant" element
619              */
620             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant getApplicantArray(int i)
621             {
622                 synchronized (monitor())
623                 {
624                     check_orphaned();
625                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
626                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().find_element_user(APPLICANT$0, i);
627                     if (target == null)
628                     {
629                       throw new IndexOutOfBoundsException();
630                     }
631                     return target;
632                 }
633             }
634             
635             /**
636              * Returns number of "Applicant" element
637              */
638             public int sizeOfApplicantArray()
639             {
640                 synchronized (monitor())
641                 {
642                     check_orphaned();
643                     return get_store().count_elements(APPLICANT$0);
644                 }
645             }
646             
647             /**
648              * Sets array of all "Applicant" element  WARNING: This method is not atomicaly synchronized.
649              */
650             public void setApplicantArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant[] applicantArray)
651             {
652                 check_orphaned();
653                 arraySetterHelper(applicantArray, APPLICANT$0);
654             }
655             
656             /**
657              * Sets ith "Applicant" element
658              */
659             public void setApplicantArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant applicant)
660             {
661                 generatedSetterHelperImpl(applicant, APPLICANT$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
662             }
663             
664             /**
665              * Inserts and returns a new empty value (as xml) as the ith "Applicant" element
666              */
667             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant insertNewApplicant(int i)
668             {
669                 synchronized (monitor())
670                 {
671                     check_orphaned();
672                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
673                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().insert_element_user(APPLICANT$0, i);
674                     return target;
675                 }
676             }
677             
678             /**
679              * Appends and returns a new empty value (as xml) as the last "Applicant" element
680              */
681             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant addNewApplicant()
682             {
683                 synchronized (monitor())
684                 {
685                     check_orphaned();
686                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant target = null;
687                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant)get_store().add_element_user(APPLICANT$0);
688                     return target;
689                 }
690             }
691             
692             /**
693              * Removes the ith "Applicant" element
694              */
695             public void removeApplicant(int i)
696             {
697                 synchronized (monitor())
698                 {
699                     check_orphaned();
700                     get_store().remove_element(APPLICANT$0, i);
701                 }
702             }
703             /**
704              * An XML Applicant(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
705              *
706              * This is a complex type.
707              */
708             public static class ApplicantImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant
709             {
710                 private static final long serialVersionUID = 1L;
711                 
712                 public ApplicantImpl(org.apache.xmlbeans.SchemaType sType)
713                 {
714                     super(sType);
715                 }
716                 
717                 private static final javax.xml.namespace.QName APPLICANTNAME$0 = 
718                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ApplicantName");
719                 private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONORGANIZATION$2 = 
720                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonOrganization");
721                 private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONPOSITION$4 = 
722                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonPosition");
723                 private static final javax.xml.namespace.QName PHAAPLCNTSTAFFGRANTACTIVITY$6 = 
724                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffGrantActivity");
725                 private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8 = 
726                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonGrantPrcntg");
727                 private static final javax.xml.namespace.QName PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10 = 
728                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAAplcntStaffPersonCostToGrant");
729                 
730                 
731                 /**
732                  * Gets the "ApplicantName" element
733                  */
734                 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getApplicantName()
735                 {
736                     synchronized (monitor())
737                     {
738                       check_orphaned();
739                       gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
740                       target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(APPLICANTNAME$0, 0);
741                       if (target == null)
742                       {
743                         return null;
744                       }
745                       return target;
746                     }
747                 }
748                 
749                 /**
750                  * Sets the "ApplicantName" element
751                  */
752                 public void setApplicantName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType applicantName)
753                 {
754                     generatedSetterHelperImpl(applicantName, APPLICANTNAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
755                 }
756                 
757                 /**
758                  * Appends and returns a new empty "ApplicantName" element
759                  */
760                 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewApplicantName()
761                 {
762                     synchronized (monitor())
763                     {
764                       check_orphaned();
765                       gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
766                       target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(APPLICANTNAME$0);
767                       return target;
768                     }
769                 }
770                 
771                 /**
772                  * Gets the "PHAAplcntStaffPersonOrganization" element
773                  */
774                 public java.lang.String getPHAAplcntStaffPersonOrganization()
775                 {
776                     synchronized (monitor())
777                     {
778                       check_orphaned();
779                       org.apache.xmlbeans.SimpleValue target = null;
780                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
781                       if (target == null)
782                       {
783                         return null;
784                       }
785                       return target.getStringValue();
786                     }
787                 }
788                 
789                 /**
790                  * Gets (as xml) the "PHAAplcntStaffPersonOrganization" element
791                  */
792                 public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAAplcntStaffPersonOrganization()
793                 {
794                     synchronized (monitor())
795                     {
796                       check_orphaned();
797                       gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
798                       target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
799                       return target;
800                     }
801                 }
802                 
803                 /**
804                  * Sets the "PHAAplcntStaffPersonOrganization" element
805                  */
806                 public void setPHAAplcntStaffPersonOrganization(java.lang.String phaAplcntStaffPersonOrganization)
807                 {
808                     synchronized (monitor())
809                     {
810                       check_orphaned();
811                       org.apache.xmlbeans.SimpleValue target = null;
812                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
813                       if (target == null)
814                       {
815                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2);
816                       }
817                       target.setStringValue(phaAplcntStaffPersonOrganization);
818                     }
819                 }
820                 
821                 /**
822                  * Sets (as xml) the "PHAAplcntStaffPersonOrganization" element
823                  */
824                 public void xsetPHAAplcntStaffPersonOrganization(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaAplcntStaffPersonOrganization)
825                 {
826                     synchronized (monitor())
827                     {
828                       check_orphaned();
829                       gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
830                       target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2, 0);
831                       if (target == null)
832                       {
833                         target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHAAPLCNTSTAFFPERSONORGANIZATION$2);
834                       }
835                       target.set(phaAplcntStaffPersonOrganization);
836                     }
837                 }
838                 
839                 /**
840                  * Gets the "PHAAplcntStaffPersonPosition" element
841                  */
842                 public java.lang.String getPHAAplcntStaffPersonPosition()
843                 {
844                     synchronized (monitor())
845                     {
846                       check_orphaned();
847                       org.apache.xmlbeans.SimpleValue target = null;
848                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
849                       if (target == null)
850                       {
851                         return null;
852                       }
853                       return target.getStringValue();
854                     }
855                 }
856                 
857                 /**
858                  * Gets (as xml) the "PHAAplcntStaffPersonPosition" element
859                  */
860                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition xgetPHAAplcntStaffPersonPosition()
861                 {
862                     synchronized (monitor())
863                     {
864                       check_orphaned();
865                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition target = null;
866                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
867                       return target;
868                     }
869                 }
870                 
871                 /**
872                  * Sets the "PHAAplcntStaffPersonPosition" element
873                  */
874                 public void setPHAAplcntStaffPersonPosition(java.lang.String phaAplcntStaffPersonPosition)
875                 {
876                     synchronized (monitor())
877                     {
878                       check_orphaned();
879                       org.apache.xmlbeans.SimpleValue target = null;
880                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
881                       if (target == null)
882                       {
883                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4);
884                       }
885                       target.setStringValue(phaAplcntStaffPersonPosition);
886                     }
887                 }
888                 
889                 /**
890                  * Sets (as xml) the "PHAAplcntStaffPersonPosition" element
891                  */
892                 public void xsetPHAAplcntStaffPersonPosition(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition phaAplcntStaffPersonPosition)
893                 {
894                     synchronized (monitor())
895                     {
896                       check_orphaned();
897                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition target = null;
898                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().find_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4, 0);
899                       if (target == null)
900                       {
901                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition)get_store().add_element_user(PHAAPLCNTSTAFFPERSONPOSITION$4);
902                       }
903                       target.set(phaAplcntStaffPersonPosition);
904                     }
905                 }
906                 
907                 /**
908                  * Gets the "PHAAplcntStaffGrantActivity" element
909                  */
910                 public java.lang.String getPHAAplcntStaffGrantActivity()
911                 {
912                     synchronized (monitor())
913                     {
914                       check_orphaned();
915                       org.apache.xmlbeans.SimpleValue target = null;
916                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
917                       if (target == null)
918                       {
919                         return null;
920                       }
921                       return target.getStringValue();
922                     }
923                 }
924                 
925                 /**
926                  * Gets (as xml) the "PHAAplcntStaffGrantActivity" element
927                  */
928                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity xgetPHAAplcntStaffGrantActivity()
929                 {
930                     synchronized (monitor())
931                     {
932                       check_orphaned();
933                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity target = null;
934                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
935                       return target;
936                     }
937                 }
938                 
939                 /**
940                  * Sets the "PHAAplcntStaffGrantActivity" element
941                  */
942                 public void setPHAAplcntStaffGrantActivity(java.lang.String phaAplcntStaffGrantActivity)
943                 {
944                     synchronized (monitor())
945                     {
946                       check_orphaned();
947                       org.apache.xmlbeans.SimpleValue target = null;
948                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
949                       if (target == null)
950                       {
951                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6);
952                       }
953                       target.setStringValue(phaAplcntStaffGrantActivity);
954                     }
955                 }
956                 
957                 /**
958                  * Sets (as xml) the "PHAAplcntStaffGrantActivity" element
959                  */
960                 public void xsetPHAAplcntStaffGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity phaAplcntStaffGrantActivity)
961                 {
962                     synchronized (monitor())
963                     {
964                       check_orphaned();
965                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity target = null;
966                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().find_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6, 0);
967                       if (target == null)
968                       {
969                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity)get_store().add_element_user(PHAAPLCNTSTAFFGRANTACTIVITY$6);
970                       }
971                       target.set(phaAplcntStaffGrantActivity);
972                     }
973                 }
974                 
975                 /**
976                  * Gets the "PHAAplcntStaffPersonGrantPrcntg" element
977                  */
978                 public float getPHAAplcntStaffPersonGrantPrcntg()
979                 {
980                     synchronized (monitor())
981                     {
982                       check_orphaned();
983                       org.apache.xmlbeans.SimpleValue target = null;
984                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
985                       if (target == null)
986                       {
987                         return 0.0f;
988                       }
989                       return target.getFloatValue();
990                     }
991                 }
992                 
993                 /**
994                  * Gets (as xml) the "PHAAplcntStaffPersonGrantPrcntg" element
995                  */
996                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg xgetPHAAplcntStaffPersonGrantPrcntg()
997                 {
998                     synchronized (monitor())
999                     {
1000                       check_orphaned();
1001                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg target = null;
1002                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
1003                       return target;
1004                     }
1005                 }
1006                 
1007                 /**
1008                  * Sets the "PHAAplcntStaffPersonGrantPrcntg" element
1009                  */
1010                 public void setPHAAplcntStaffPersonGrantPrcntg(float phaAplcntStaffPersonGrantPrcntg)
1011                 {
1012                     synchronized (monitor())
1013                     {
1014                       check_orphaned();
1015                       org.apache.xmlbeans.SimpleValue target = null;
1016                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
1017                       if (target == null)
1018                       {
1019                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8);
1020                       }
1021                       target.setFloatValue(phaAplcntStaffPersonGrantPrcntg);
1022                     }
1023                 }
1024                 
1025                 /**
1026                  * Sets (as xml) the "PHAAplcntStaffPersonGrantPrcntg" element
1027                  */
1028                 public void xsetPHAAplcntStaffPersonGrantPrcntg(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg phaAplcntStaffPersonGrantPrcntg)
1029                 {
1030                     synchronized (monitor())
1031                     {
1032                       check_orphaned();
1033                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg target = null;
1034                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().find_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8, 0);
1035                       if (target == null)
1036                       {
1037                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg)get_store().add_element_user(PHAAPLCNTSTAFFPERSONGRANTPRCNTG$8);
1038                       }
1039                       target.set(phaAplcntStaffPersonGrantPrcntg);
1040                     }
1041                 }
1042                 
1043                 /**
1044                  * Gets the "PHAAplcntStaffPersonCostToGrant" element
1045                  */
1046                 public java.math.BigDecimal getPHAAplcntStaffPersonCostToGrant()
1047                 {
1048                     synchronized (monitor())
1049                     {
1050                       check_orphaned();
1051                       org.apache.xmlbeans.SimpleValue target = null;
1052                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
1053                       if (target == null)
1054                       {
1055                         return null;
1056                       }
1057                       return target.getBigDecimalValue();
1058                     }
1059                 }
1060                 
1061                 /**
1062                  * Gets (as xml) the "PHAAplcntStaffPersonCostToGrant" element
1063                  */
1064                 public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAAplcntStaffPersonCostToGrant()
1065                 {
1066                     synchronized (monitor())
1067                     {
1068                       check_orphaned();
1069                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1070                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
1071                       return target;
1072                     }
1073                 }
1074                 
1075                 /**
1076                  * Sets the "PHAAplcntStaffPersonCostToGrant" element
1077                  */
1078                 public void setPHAAplcntStaffPersonCostToGrant(java.math.BigDecimal phaAplcntStaffPersonCostToGrant)
1079                 {
1080                     synchronized (monitor())
1081                     {
1082                       check_orphaned();
1083                       org.apache.xmlbeans.SimpleValue target = null;
1084                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
1085                       if (target == null)
1086                       {
1087                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10);
1088                       }
1089                       target.setBigDecimalValue(phaAplcntStaffPersonCostToGrant);
1090                     }
1091                 }
1092                 
1093                 /**
1094                  * Sets (as xml) the "PHAAplcntStaffPersonCostToGrant" element
1095                  */
1096                 public void xsetPHAAplcntStaffPersonCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaAplcntStaffPersonCostToGrant)
1097                 {
1098                     synchronized (monitor())
1099                     {
1100                       check_orphaned();
1101                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1102                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10, 0);
1103                       if (target == null)
1104                       {
1105                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHAAPLCNTSTAFFPERSONCOSTTOGRANT$10);
1106                       }
1107                       target.set(phaAplcntStaffPersonCostToGrant);
1108                     }
1109                 }
1110                 /**
1111                  * An XML PHAAplcntStaffPersonPosition(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1112                  *
1113                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffPersonPosition.
1114                  */
1115                 public static class PHAAplcntStaffPersonPositionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonPosition
1116                 {
1117                     private static final long serialVersionUID = 1L;
1118                     
1119                     public PHAAplcntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType)
1120                     {
1121                       super(sType, false);
1122                     }
1123                     
1124                     protected PHAAplcntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1125                     {
1126                       super(sType, b);
1127                     }
1128                 }
1129                 /**
1130                  * An XML PHAAplcntStaffGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1131                  *
1132                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffGrantActivity.
1133                  */
1134                 public static class PHAAplcntStaffGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffGrantActivity
1135                 {
1136                     private static final long serialVersionUID = 1L;
1137                     
1138                     public PHAAplcntStaffGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
1139                     {
1140                       super(sType, false);
1141                     }
1142                     
1143                     protected PHAAplcntStaffGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1144                     {
1145                       super(sType, b);
1146                     }
1147                 }
1148                 /**
1149                  * An XML PHAAplcntStaffPersonGrantPrcntg(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1150                  *
1151                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Applicants$Applicant$PHAAplcntStaffPersonGrantPrcntg.
1152                  */
1153                 public static class PHAAplcntStaffPersonGrantPrcntgImpl extends org.apache.xmlbeans.impl.values.JavaFloatHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Applicants.Applicant.PHAAplcntStaffPersonGrantPrcntg
1154                 {
1155                     private static final long serialVersionUID = 1L;
1156                     
1157                     public PHAAplcntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType)
1158                     {
1159                       super(sType, false);
1160                     }
1161                     
1162                     protected PHAAplcntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1163                     {
1164                       super(sType, b);
1165                     }
1166                 }
1167             }
1168         }
1169         /**
1170          * An XML ResearchStaffs(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1171          *
1172          * This is a complex type.
1173          */
1174         public static class ResearchStaffsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs
1175         {
1176             private static final long serialVersionUID = 1L;
1177             
1178             public ResearchStaffsImpl(org.apache.xmlbeans.SchemaType sType)
1179             {
1180                 super(sType);
1181             }
1182             
1183             private static final javax.xml.namespace.QName RESEARCHSTAFF$0 = 
1184                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaff");
1185             
1186             
1187             /**
1188              * Gets array of all "ResearchStaff" elements
1189              */
1190             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] getResearchStaffArray()
1191             {
1192                 synchronized (monitor())
1193                 {
1194                     check_orphaned();
1195                     java.util.List targetList = new java.util.ArrayList();
1196                     get_store().find_all_element_users(RESEARCHSTAFF$0, targetList);
1197                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[targetList.size()];
1198                     targetList.toArray(result);
1199                     return result;
1200                 }
1201             }
1202             
1203             /**
1204              * Gets ith "ResearchStaff" element
1205              */
1206             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff getResearchStaffArray(int i)
1207             {
1208                 synchronized (monitor())
1209                 {
1210                     check_orphaned();
1211                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
1212                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().find_element_user(RESEARCHSTAFF$0, i);
1213                     if (target == null)
1214                     {
1215                       throw new IndexOutOfBoundsException();
1216                     }
1217                     return target;
1218                 }
1219             }
1220             
1221             /**
1222              * Returns number of "ResearchStaff" element
1223              */
1224             public int sizeOfResearchStaffArray()
1225             {
1226                 synchronized (monitor())
1227                 {
1228                     check_orphaned();
1229                     return get_store().count_elements(RESEARCHSTAFF$0);
1230                 }
1231             }
1232             
1233             /**
1234              * Sets array of all "ResearchStaff" element  WARNING: This method is not atomicaly synchronized.
1235              */
1236             public void setResearchStaffArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff[] researchStaffArray)
1237             {
1238                 check_orphaned();
1239                 arraySetterHelper(researchStaffArray, RESEARCHSTAFF$0);
1240             }
1241             
1242             /**
1243              * Sets ith "ResearchStaff" element
1244              */
1245             public void setResearchStaffArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff researchStaff)
1246             {
1247                 generatedSetterHelperImpl(researchStaff, RESEARCHSTAFF$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1248             }
1249             
1250             /**
1251              * Inserts and returns a new empty value (as xml) as the ith "ResearchStaff" element
1252              */
1253             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff insertNewResearchStaff(int i)
1254             {
1255                 synchronized (monitor())
1256                 {
1257                     check_orphaned();
1258                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
1259                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().insert_element_user(RESEARCHSTAFF$0, i);
1260                     return target;
1261                 }
1262             }
1263             
1264             /**
1265              * Appends and returns a new empty value (as xml) as the last "ResearchStaff" element
1266              */
1267             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff addNewResearchStaff()
1268             {
1269                 synchronized (monitor())
1270                 {
1271                     check_orphaned();
1272                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff target = null;
1273                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff)get_store().add_element_user(RESEARCHSTAFF$0);
1274                     return target;
1275                 }
1276             }
1277             
1278             /**
1279              * Removes the ith "ResearchStaff" element
1280              */
1281             public void removeResearchStaff(int i)
1282             {
1283                 synchronized (monitor())
1284                 {
1285                     check_orphaned();
1286                     get_store().remove_element(RESEARCHSTAFF$0, i);
1287                 }
1288             }
1289             /**
1290              * An XML ResearchStaff(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1291              *
1292              * This is a complex type.
1293              */
1294             public static class ResearchStaffImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff
1295             {
1296                 private static final long serialVersionUID = 1L;
1297                 
1298                 public ResearchStaffImpl(org.apache.xmlbeans.SchemaType sType)
1299                 {
1300                     super(sType);
1301                 }
1302                 
1303                 private static final javax.xml.namespace.QName RESEARCHSTAFFNAME$0 = 
1304                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ResearchStaffName");
1305                 private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONORGANIZATION$2 = 
1306                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonOrganization");
1307                 private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONPOSITION$4 = 
1308                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonPosition");
1309                 private static final javax.xml.namespace.QName STAFFPHAGRANTACTIVITY$6 = 
1310                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "StaffPHAGrantActivity");
1311                 private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONGRANTPRCNTG$8 = 
1312                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonGrantPrcntg");
1313                 private static final javax.xml.namespace.QName PHARSDNTSTAFFPERSONCOSTTOGRANT$10 = 
1314                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHARsdntStaffPersonCostToGrant");
1315                 
1316                 
1317                 /**
1318                  * Gets the "ResearchStaffName" element
1319                  */
1320                 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType getResearchStaffName()
1321                 {
1322                     synchronized (monitor())
1323                     {
1324                       check_orphaned();
1325                       gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
1326                       target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().find_element_user(RESEARCHSTAFFNAME$0, 0);
1327                       if (target == null)
1328                       {
1329                         return null;
1330                       }
1331                       return target;
1332                     }
1333                 }
1334                 
1335                 /**
1336                  * Sets the "ResearchStaffName" element
1337                  */
1338                 public void setResearchStaffName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType researchStaffName)
1339                 {
1340                     generatedSetterHelperImpl(researchStaffName, RESEARCHSTAFFNAME$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
1341                 }
1342                 
1343                 /**
1344                  * Appends and returns a new empty "ResearchStaffName" element
1345                  */
1346                 public gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewResearchStaffName()
1347                 {
1348                     synchronized (monitor())
1349                     {
1350                       check_orphaned();
1351                       gov.grants.apply.system.globalLibraryV20.HumanNameDataType target = null;
1352                       target = (gov.grants.apply.system.globalLibraryV20.HumanNameDataType)get_store().add_element_user(RESEARCHSTAFFNAME$0);
1353                       return target;
1354                     }
1355                 }
1356                 
1357                 /**
1358                  * Gets the "PHARsdntStaffPersonOrganization" element
1359                  */
1360                 public java.lang.String getPHARsdntStaffPersonOrganization()
1361                 {
1362                     synchronized (monitor())
1363                     {
1364                       check_orphaned();
1365                       org.apache.xmlbeans.SimpleValue target = null;
1366                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
1367                       if (target == null)
1368                       {
1369                         return null;
1370                       }
1371                       return target.getStringValue();
1372                     }
1373                 }
1374                 
1375                 /**
1376                  * Gets (as xml) the "PHARsdntStaffPersonOrganization" element
1377                  */
1378                 public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHARsdntStaffPersonOrganization()
1379                 {
1380                     synchronized (monitor())
1381                     {
1382                       check_orphaned();
1383                       gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
1384                       target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
1385                       return target;
1386                     }
1387                 }
1388                 
1389                 /**
1390                  * Sets the "PHARsdntStaffPersonOrganization" element
1391                  */
1392                 public void setPHARsdntStaffPersonOrganization(java.lang.String phaRsdntStaffPersonOrganization)
1393                 {
1394                     synchronized (monitor())
1395                     {
1396                       check_orphaned();
1397                       org.apache.xmlbeans.SimpleValue target = null;
1398                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
1399                       if (target == null)
1400                       {
1401                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2);
1402                       }
1403                       target.setStringValue(phaRsdntStaffPersonOrganization);
1404                     }
1405                 }
1406                 
1407                 /**
1408                  * Sets (as xml) the "PHARsdntStaffPersonOrganization" element
1409                  */
1410                 public void xsetPHARsdntStaffPersonOrganization(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaRsdntStaffPersonOrganization)
1411                 {
1412                     synchronized (monitor())
1413                     {
1414                       check_orphaned();
1415                       gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
1416                       target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2, 0);
1417                       if (target == null)
1418                       {
1419                         target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHARSDNTSTAFFPERSONORGANIZATION$2);
1420                       }
1421                       target.set(phaRsdntStaffPersonOrganization);
1422                     }
1423                 }
1424                 
1425                 /**
1426                  * Gets the "PHARsdntStaffPersonPosition" element
1427                  */
1428                 public java.lang.String getPHARsdntStaffPersonPosition()
1429                 {
1430                     synchronized (monitor())
1431                     {
1432                       check_orphaned();
1433                       org.apache.xmlbeans.SimpleValue target = null;
1434                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
1435                       if (target == null)
1436                       {
1437                         return null;
1438                       }
1439                       return target.getStringValue();
1440                     }
1441                 }
1442                 
1443                 /**
1444                  * Gets (as xml) the "PHARsdntStaffPersonPosition" element
1445                  */
1446                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition xgetPHARsdntStaffPersonPosition()
1447                 {
1448                     synchronized (monitor())
1449                     {
1450                       check_orphaned();
1451                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition target = null;
1452                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
1453                       return target;
1454                     }
1455                 }
1456                 
1457                 /**
1458                  * Sets the "PHARsdntStaffPersonPosition" element
1459                  */
1460                 public void setPHARsdntStaffPersonPosition(java.lang.String phaRsdntStaffPersonPosition)
1461                 {
1462                     synchronized (monitor())
1463                     {
1464                       check_orphaned();
1465                       org.apache.xmlbeans.SimpleValue target = null;
1466                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
1467                       if (target == null)
1468                       {
1469                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONPOSITION$4);
1470                       }
1471                       target.setStringValue(phaRsdntStaffPersonPosition);
1472                     }
1473                 }
1474                 
1475                 /**
1476                  * Sets (as xml) the "PHARsdntStaffPersonPosition" element
1477                  */
1478                 public void xsetPHARsdntStaffPersonPosition(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition phaRsdntStaffPersonPosition)
1479                 {
1480                     synchronized (monitor())
1481                     {
1482                       check_orphaned();
1483                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition target = null;
1484                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().find_element_user(PHARSDNTSTAFFPERSONPOSITION$4, 0);
1485                       if (target == null)
1486                       {
1487                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition)get_store().add_element_user(PHARSDNTSTAFFPERSONPOSITION$4);
1488                       }
1489                       target.set(phaRsdntStaffPersonPosition);
1490                     }
1491                 }
1492                 
1493                 /**
1494                  * Gets the "StaffPHAGrantActivity" element
1495                  */
1496                 public java.lang.String getStaffPHAGrantActivity()
1497                 {
1498                     synchronized (monitor())
1499                     {
1500                       check_orphaned();
1501                       org.apache.xmlbeans.SimpleValue target = null;
1502                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
1503                       if (target == null)
1504                       {
1505                         return null;
1506                       }
1507                       return target.getStringValue();
1508                     }
1509                 }
1510                 
1511                 /**
1512                  * Gets (as xml) the "StaffPHAGrantActivity" element
1513                  */
1514                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity xgetStaffPHAGrantActivity()
1515                 {
1516                     synchronized (monitor())
1517                     {
1518                       check_orphaned();
1519                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity target = null;
1520                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
1521                       return target;
1522                     }
1523                 }
1524                 
1525                 /**
1526                  * Sets the "StaffPHAGrantActivity" element
1527                  */
1528                 public void setStaffPHAGrantActivity(java.lang.String staffPHAGrantActivity)
1529                 {
1530                     synchronized (monitor())
1531                     {
1532                       check_orphaned();
1533                       org.apache.xmlbeans.SimpleValue target = null;
1534                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
1535                       if (target == null)
1536                       {
1537                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(STAFFPHAGRANTACTIVITY$6);
1538                       }
1539                       target.setStringValue(staffPHAGrantActivity);
1540                     }
1541                 }
1542                 
1543                 /**
1544                  * Sets (as xml) the "StaffPHAGrantActivity" element
1545                  */
1546                 public void xsetStaffPHAGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity staffPHAGrantActivity)
1547                 {
1548                     synchronized (monitor())
1549                     {
1550                       check_orphaned();
1551                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity target = null;
1552                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().find_element_user(STAFFPHAGRANTACTIVITY$6, 0);
1553                       if (target == null)
1554                       {
1555                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity)get_store().add_element_user(STAFFPHAGRANTACTIVITY$6);
1556                       }
1557                       target.set(staffPHAGrantActivity);
1558                     }
1559                 }
1560                 
1561                 /**
1562                  * Gets the "PHARsdntStaffPersonGrantPrcntg" element
1563                  */
1564                 public float getPHARsdntStaffPersonGrantPrcntg()
1565                 {
1566                     synchronized (monitor())
1567                     {
1568                       check_orphaned();
1569                       org.apache.xmlbeans.SimpleValue target = null;
1570                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
1571                       if (target == null)
1572                       {
1573                         return 0.0f;
1574                       }
1575                       return target.getFloatValue();
1576                     }
1577                 }
1578                 
1579                 /**
1580                  * Gets (as xml) the "PHARsdntStaffPersonGrantPrcntg" element
1581                  */
1582                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg xgetPHARsdntStaffPersonGrantPrcntg()
1583                 {
1584                     synchronized (monitor())
1585                     {
1586                       check_orphaned();
1587                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg target = null;
1588                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
1589                       return target;
1590                     }
1591                 }
1592                 
1593                 /**
1594                  * Sets the "PHARsdntStaffPersonGrantPrcntg" element
1595                  */
1596                 public void setPHARsdntStaffPersonGrantPrcntg(float phaRsdntStaffPersonGrantPrcntg)
1597                 {
1598                     synchronized (monitor())
1599                     {
1600                       check_orphaned();
1601                       org.apache.xmlbeans.SimpleValue target = null;
1602                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
1603                       if (target == null)
1604                       {
1605                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8);
1606                       }
1607                       target.setFloatValue(phaRsdntStaffPersonGrantPrcntg);
1608                     }
1609                 }
1610                 
1611                 /**
1612                  * Sets (as xml) the "PHARsdntStaffPersonGrantPrcntg" element
1613                  */
1614                 public void xsetPHARsdntStaffPersonGrantPrcntg(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg phaRsdntStaffPersonGrantPrcntg)
1615                 {
1616                     synchronized (monitor())
1617                     {
1618                       check_orphaned();
1619                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg target = null;
1620                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().find_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8, 0);
1621                       if (target == null)
1622                       {
1623                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg)get_store().add_element_user(PHARSDNTSTAFFPERSONGRANTPRCNTG$8);
1624                       }
1625                       target.set(phaRsdntStaffPersonGrantPrcntg);
1626                     }
1627                 }
1628                 
1629                 /**
1630                  * Gets the "PHARsdntStaffPersonCostToGrant" element
1631                  */
1632                 public java.math.BigDecimal getPHARsdntStaffPersonCostToGrant()
1633                 {
1634                     synchronized (monitor())
1635                     {
1636                       check_orphaned();
1637                       org.apache.xmlbeans.SimpleValue target = null;
1638                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
1639                       if (target == null)
1640                       {
1641                         return null;
1642                       }
1643                       return target.getBigDecimalValue();
1644                     }
1645                 }
1646                 
1647                 /**
1648                  * Gets (as xml) the "PHARsdntStaffPersonCostToGrant" element
1649                  */
1650                 public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHARsdntStaffPersonCostToGrant()
1651                 {
1652                     synchronized (monitor())
1653                     {
1654                       check_orphaned();
1655                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1656                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
1657                       return target;
1658                     }
1659                 }
1660                 
1661                 /**
1662                  * Sets the "PHARsdntStaffPersonCostToGrant" element
1663                  */
1664                 public void setPHARsdntStaffPersonCostToGrant(java.math.BigDecimal phaRsdntStaffPersonCostToGrant)
1665                 {
1666                     synchronized (monitor())
1667                     {
1668                       check_orphaned();
1669                       org.apache.xmlbeans.SimpleValue target = null;
1670                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
1671                       if (target == null)
1672                       {
1673                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10);
1674                       }
1675                       target.setBigDecimalValue(phaRsdntStaffPersonCostToGrant);
1676                     }
1677                 }
1678                 
1679                 /**
1680                  * Sets (as xml) the "PHARsdntStaffPersonCostToGrant" element
1681                  */
1682                 public void xsetPHARsdntStaffPersonCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaRsdntStaffPersonCostToGrant)
1683                 {
1684                     synchronized (monitor())
1685                     {
1686                       check_orphaned();
1687                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
1688                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10, 0);
1689                       if (target == null)
1690                       {
1691                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHARSDNTSTAFFPERSONCOSTTOGRANT$10);
1692                       }
1693                       target.set(phaRsdntStaffPersonCostToGrant);
1694                     }
1695                 }
1696                 /**
1697                  * An XML PHARsdntStaffPersonPosition(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1698                  *
1699                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$PHARsdntStaffPersonPosition.
1700                  */
1701                 public static class PHARsdntStaffPersonPositionImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonPosition
1702                 {
1703                     private static final long serialVersionUID = 1L;
1704                     
1705                     public PHARsdntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType)
1706                     {
1707                       super(sType, false);
1708                     }
1709                     
1710                     protected PHARsdntStaffPersonPositionImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1711                     {
1712                       super(sType, b);
1713                     }
1714                 }
1715                 /**
1716                  * An XML StaffPHAGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1717                  *
1718                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$StaffPHAGrantActivity.
1719                  */
1720                 public static class StaffPHAGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.StaffPHAGrantActivity
1721                 {
1722                     private static final long serialVersionUID = 1L;
1723                     
1724                     public StaffPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
1725                     {
1726                       super(sType, false);
1727                     }
1728                     
1729                     protected StaffPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1730                     {
1731                       super(sType, b);
1732                     }
1733                 }
1734                 /**
1735                  * An XML PHARsdntStaffPersonGrantPrcntg(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1736                  *
1737                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$ResearchStaffs$ResearchStaff$PHARsdntStaffPersonGrantPrcntg.
1738                  */
1739                 public static class PHARsdntStaffPersonGrantPrcntgImpl extends org.apache.xmlbeans.impl.values.JavaFloatHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.ResearchStaffs.ResearchStaff.PHARsdntStaffPersonGrantPrcntg
1740                 {
1741                     private static final long serialVersionUID = 1L;
1742                     
1743                     public PHARsdntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType)
1744                     {
1745                       super(sType, false);
1746                     }
1747                     
1748                     protected PHARsdntStaffPersonGrantPrcntgImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
1749                     {
1750                       super(sType, b);
1751                     }
1752                 }
1753             }
1754         }
1755         /**
1756          * An XML Contractors(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1757          *
1758          * This is a complex type.
1759          */
1760         public static class ContractorsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors
1761         {
1762             private static final long serialVersionUID = 1L;
1763             
1764             public ContractorsImpl(org.apache.xmlbeans.SchemaType sType)
1765             {
1766                 super(sType);
1767             }
1768             
1769             private static final javax.xml.namespace.QName CONTRACTOR$0 = 
1770                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "Contractor");
1771             
1772             
1773             /**
1774              * Gets array of all "Contractor" elements
1775              */
1776             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] getContractorArray()
1777             {
1778                 synchronized (monitor())
1779                 {
1780                     check_orphaned();
1781                     java.util.List targetList = new java.util.ArrayList();
1782                     get_store().find_all_element_users(CONTRACTOR$0, targetList);
1783                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] result = new gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[targetList.size()];
1784                     targetList.toArray(result);
1785                     return result;
1786                 }
1787             }
1788             
1789             /**
1790              * Gets ith "Contractor" element
1791              */
1792             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor getContractorArray(int i)
1793             {
1794                 synchronized (monitor())
1795                 {
1796                     check_orphaned();
1797                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
1798                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().find_element_user(CONTRACTOR$0, i);
1799                     if (target == null)
1800                     {
1801                       throw new IndexOutOfBoundsException();
1802                     }
1803                     return target;
1804                 }
1805             }
1806             
1807             /**
1808              * Returns number of "Contractor" element
1809              */
1810             public int sizeOfContractorArray()
1811             {
1812                 synchronized (monitor())
1813                 {
1814                     check_orphaned();
1815                     return get_store().count_elements(CONTRACTOR$0);
1816                 }
1817             }
1818             
1819             /**
1820              * Sets array of all "Contractor" element  WARNING: This method is not atomicaly synchronized.
1821              */
1822             public void setContractorArray(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor[] contractorArray)
1823             {
1824                 check_orphaned();
1825                 arraySetterHelper(contractorArray, CONTRACTOR$0);
1826             }
1827             
1828             /**
1829              * Sets ith "Contractor" element
1830              */
1831             public void setContractorArray(int i, gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor contractor)
1832             {
1833                 generatedSetterHelperImpl(contractor, CONTRACTOR$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
1834             }
1835             
1836             /**
1837              * Inserts and returns a new empty value (as xml) as the ith "Contractor" element
1838              */
1839             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor insertNewContractor(int i)
1840             {
1841                 synchronized (monitor())
1842                 {
1843                     check_orphaned();
1844                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
1845                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().insert_element_user(CONTRACTOR$0, i);
1846                     return target;
1847                 }
1848             }
1849             
1850             /**
1851              * Appends and returns a new empty value (as xml) as the last "Contractor" element
1852              */
1853             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor addNewContractor()
1854             {
1855                 synchronized (monitor())
1856                 {
1857                     check_orphaned();
1858                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor target = null;
1859                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor)get_store().add_element_user(CONTRACTOR$0);
1860                     return target;
1861                 }
1862             }
1863             
1864             /**
1865              * Removes the ith "Contractor" element
1866              */
1867             public void removeContractor(int i)
1868             {
1869                 synchronized (monitor())
1870                 {
1871                     check_orphaned();
1872                     get_store().remove_element(CONTRACTOR$0, i);
1873                 }
1874             }
1875             /**
1876              * An XML Contractor(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
1877              *
1878              * This is a complex type.
1879              */
1880             public static class ContractorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor
1881             {
1882                 private static final long serialVersionUID = 1L;
1883                 
1884                 public ContractorImpl(org.apache.xmlbeans.SchemaType sType)
1885                 {
1886                     super(sType);
1887                 }
1888                 
1889                 private static final javax.xml.namespace.QName PHACONTRACTORNAME$0 = 
1890                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractorName");
1891                 private static final javax.xml.namespace.QName CONTRACTORPHAGRANTACTIVITY$2 = 
1892                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "ContractorPHAGrantActivity");
1893                 private static final javax.xml.namespace.QName PHACONTRACTORCOSTTOGRANT$4 = 
1894                     new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractorCostToGrant");
1895                 
1896                 
1897                 /**
1898                  * Gets the "PHAContractorName" element
1899                  */
1900                 public java.lang.String getPHAContractorName()
1901                 {
1902                     synchronized (monitor())
1903                     {
1904                       check_orphaned();
1905                       org.apache.xmlbeans.SimpleValue target = null;
1906                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
1907                       if (target == null)
1908                       {
1909                         return null;
1910                       }
1911                       return target.getStringValue();
1912                     }
1913                 }
1914                 
1915                 /**
1916                  * Gets (as xml) the "PHAContractorName" element
1917                  */
1918                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName xgetPHAContractorName()
1919                 {
1920                     synchronized (monitor())
1921                     {
1922                       check_orphaned();
1923                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName target = null;
1924                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
1925                       return target;
1926                     }
1927                 }
1928                 
1929                 /**
1930                  * True if has "PHAContractorName" element
1931                  */
1932                 public boolean isSetPHAContractorName()
1933                 {
1934                     synchronized (monitor())
1935                     {
1936                       check_orphaned();
1937                       return get_store().count_elements(PHACONTRACTORNAME$0) != 0;
1938                     }
1939                 }
1940                 
1941                 /**
1942                  * Sets the "PHAContractorName" element
1943                  */
1944                 public void setPHAContractorName(java.lang.String phaContractorName)
1945                 {
1946                     synchronized (monitor())
1947                     {
1948                       check_orphaned();
1949                       org.apache.xmlbeans.SimpleValue target = null;
1950                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
1951                       if (target == null)
1952                       {
1953                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTORNAME$0);
1954                       }
1955                       target.setStringValue(phaContractorName);
1956                     }
1957                 }
1958                 
1959                 /**
1960                  * Sets (as xml) the "PHAContractorName" element
1961                  */
1962                 public void xsetPHAContractorName(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName phaContractorName)
1963                 {
1964                     synchronized (monitor())
1965                     {
1966                       check_orphaned();
1967                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName target = null;
1968                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().find_element_user(PHACONTRACTORNAME$0, 0);
1969                       if (target == null)
1970                       {
1971                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName)get_store().add_element_user(PHACONTRACTORNAME$0);
1972                       }
1973                       target.set(phaContractorName);
1974                     }
1975                 }
1976                 
1977                 /**
1978                  * Unsets the "PHAContractorName" element
1979                  */
1980                 public void unsetPHAContractorName()
1981                 {
1982                     synchronized (monitor())
1983                     {
1984                       check_orphaned();
1985                       get_store().remove_element(PHACONTRACTORNAME$0, 0);
1986                     }
1987                 }
1988                 
1989                 /**
1990                  * Gets the "ContractorPHAGrantActivity" element
1991                  */
1992                 public java.lang.String getContractorPHAGrantActivity()
1993                 {
1994                     synchronized (monitor())
1995                     {
1996                       check_orphaned();
1997                       org.apache.xmlbeans.SimpleValue target = null;
1998                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
1999                       if (target == null)
2000                       {
2001                         return null;
2002                       }
2003                       return target.getStringValue();
2004                     }
2005                 }
2006                 
2007                 /**
2008                  * Gets (as xml) the "ContractorPHAGrantActivity" element
2009                  */
2010                 public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity xgetContractorPHAGrantActivity()
2011                 {
2012                     synchronized (monitor())
2013                     {
2014                       check_orphaned();
2015                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity target = null;
2016                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
2017                       return target;
2018                     }
2019                 }
2020                 
2021                 /**
2022                  * True if has "ContractorPHAGrantActivity" element
2023                  */
2024                 public boolean isSetContractorPHAGrantActivity()
2025                 {
2026                     synchronized (monitor())
2027                     {
2028                       check_orphaned();
2029                       return get_store().count_elements(CONTRACTORPHAGRANTACTIVITY$2) != 0;
2030                     }
2031                 }
2032                 
2033                 /**
2034                  * Sets the "ContractorPHAGrantActivity" element
2035                  */
2036                 public void setContractorPHAGrantActivity(java.lang.String contractorPHAGrantActivity)
2037                 {
2038                     synchronized (monitor())
2039                     {
2040                       check_orphaned();
2041                       org.apache.xmlbeans.SimpleValue target = null;
2042                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
2043                       if (target == null)
2044                       {
2045                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(CONTRACTORPHAGRANTACTIVITY$2);
2046                       }
2047                       target.setStringValue(contractorPHAGrantActivity);
2048                     }
2049                 }
2050                 
2051                 /**
2052                  * Sets (as xml) the "ContractorPHAGrantActivity" element
2053                  */
2054                 public void xsetContractorPHAGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity contractorPHAGrantActivity)
2055                 {
2056                     synchronized (monitor())
2057                     {
2058                       check_orphaned();
2059                       gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity target = null;
2060                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().find_element_user(CONTRACTORPHAGRANTACTIVITY$2, 0);
2061                       if (target == null)
2062                       {
2063                         target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity)get_store().add_element_user(CONTRACTORPHAGRANTACTIVITY$2);
2064                       }
2065                       target.set(contractorPHAGrantActivity);
2066                     }
2067                 }
2068                 
2069                 /**
2070                  * Unsets the "ContractorPHAGrantActivity" element
2071                  */
2072                 public void unsetContractorPHAGrantActivity()
2073                 {
2074                     synchronized (monitor())
2075                     {
2076                       check_orphaned();
2077                       get_store().remove_element(CONTRACTORPHAGRANTACTIVITY$2, 0);
2078                     }
2079                 }
2080                 
2081                 /**
2082                  * Gets the "PHAContractorCostToGrant" element
2083                  */
2084                 public java.math.BigDecimal getPHAContractorCostToGrant()
2085                 {
2086                     synchronized (monitor())
2087                     {
2088                       check_orphaned();
2089                       org.apache.xmlbeans.SimpleValue target = null;
2090                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
2091                       if (target == null)
2092                       {
2093                         return null;
2094                       }
2095                       return target.getBigDecimalValue();
2096                     }
2097                 }
2098                 
2099                 /**
2100                  * Gets (as xml) the "PHAContractorCostToGrant" element
2101                  */
2102                 public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAContractorCostToGrant()
2103                 {
2104                     synchronized (monitor())
2105                     {
2106                       check_orphaned();
2107                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
2108                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
2109                       return target;
2110                     }
2111                 }
2112                 
2113                 /**
2114                  * True if has "PHAContractorCostToGrant" element
2115                  */
2116                 public boolean isSetPHAContractorCostToGrant()
2117                 {
2118                     synchronized (monitor())
2119                     {
2120                       check_orphaned();
2121                       return get_store().count_elements(PHACONTRACTORCOSTTOGRANT$4) != 0;
2122                     }
2123                 }
2124                 
2125                 /**
2126                  * Sets the "PHAContractorCostToGrant" element
2127                  */
2128                 public void setPHAContractorCostToGrant(java.math.BigDecimal phaContractorCostToGrant)
2129                 {
2130                     synchronized (monitor())
2131                     {
2132                       check_orphaned();
2133                       org.apache.xmlbeans.SimpleValue target = null;
2134                       target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
2135                       if (target == null)
2136                       {
2137                         target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTORCOSTTOGRANT$4);
2138                       }
2139                       target.setBigDecimalValue(phaContractorCostToGrant);
2140                     }
2141                 }
2142                 
2143                 /**
2144                  * Sets (as xml) the "PHAContractorCostToGrant" element
2145                  */
2146                 public void xsetPHAContractorCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaContractorCostToGrant)
2147                 {
2148                     synchronized (monitor())
2149                     {
2150                       check_orphaned();
2151                       gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
2152                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTORCOSTTOGRANT$4, 0);
2153                       if (target == null)
2154                       {
2155                         target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHACONTRACTORCOSTTOGRANT$4);
2156                       }
2157                       target.set(phaContractorCostToGrant);
2158                     }
2159                 }
2160                 
2161                 /**
2162                  * Unsets the "PHAContractorCostToGrant" element
2163                  */
2164                 public void unsetPHAContractorCostToGrant()
2165                 {
2166                     synchronized (monitor())
2167                     {
2168                       check_orphaned();
2169                       get_store().remove_element(PHACONTRACTORCOSTTOGRANT$4, 0);
2170                     }
2171                 }
2172                 /**
2173                  * An XML PHAContractorName(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
2174                  *
2175                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Contractors$Contractor$PHAContractorName.
2176                  */
2177                 public static class PHAContractorNameImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.PHAContractorName
2178                 {
2179                     private static final long serialVersionUID = 1L;
2180                     
2181                     public PHAContractorNameImpl(org.apache.xmlbeans.SchemaType sType)
2182                     {
2183                       super(sType, false);
2184                     }
2185                     
2186                     protected PHAContractorNameImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2187                     {
2188                       super(sType, b);
2189                     }
2190                 }
2191                 /**
2192                  * An XML ContractorPHAGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
2193                  *
2194                  * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$Contractors$Contractor$ContractorPHAGrantActivity.
2195                  */
2196                 public static class ContractorPHAGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.Contractors.Contractor.ContractorPHAGrantActivity
2197                 {
2198                     private static final long serialVersionUID = 1L;
2199                     
2200                     public ContractorPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
2201                     {
2202                       super(sType, false);
2203                     }
2204                     
2205                     protected ContractorPHAGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2206                     {
2207                       super(sType, b);
2208                     }
2209                 }
2210             }
2211         }
2212         /**
2213          * An XML PHAContractAdministrator(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
2214          *
2215          * This is a complex type.
2216          */
2217         public static class PHAContractAdministratorImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator
2218         {
2219             private static final long serialVersionUID = 1L;
2220             
2221             public PHAContractAdministratorImpl(org.apache.xmlbeans.SchemaType sType)
2222             {
2223                 super(sType);
2224             }
2225             
2226             private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORNAME$0 = 
2227                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorName");
2228             private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORGRANTACTIVITY$2 = 
2229                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorGrantActivity");
2230             private static final javax.xml.namespace.QName PHACONTRACTADMINISTRATORCOSTTOGRANT$4 = 
2231                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/HUD_ROSS-V1.1", "PHAContractAdministratorCostToGrant");
2232             
2233             
2234             /**
2235              * Gets the "PHAContractAdministratorName" element
2236              */
2237             public java.lang.String getPHAContractAdministratorName()
2238             {
2239                 synchronized (monitor())
2240                 {
2241                     check_orphaned();
2242                     org.apache.xmlbeans.SimpleValue target = null;
2243                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
2244                     if (target == null)
2245                     {
2246                       return null;
2247                     }
2248                     return target.getStringValue();
2249                 }
2250             }
2251             
2252             /**
2253              * Gets (as xml) the "PHAContractAdministratorName" element
2254              */
2255             public gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetPHAContractAdministratorName()
2256             {
2257                 synchronized (monitor())
2258                 {
2259                     check_orphaned();
2260                     gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
2261                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
2262                     return target;
2263                 }
2264             }
2265             
2266             /**
2267              * True if has "PHAContractAdministratorName" element
2268              */
2269             public boolean isSetPHAContractAdministratorName()
2270             {
2271                 synchronized (monitor())
2272                 {
2273                     check_orphaned();
2274                     return get_store().count_elements(PHACONTRACTADMINISTRATORNAME$0) != 0;
2275                 }
2276             }
2277             
2278             /**
2279              * Sets the "PHAContractAdministratorName" element
2280              */
2281             public void setPHAContractAdministratorName(java.lang.String phaContractAdministratorName)
2282             {
2283                 synchronized (monitor())
2284                 {
2285                     check_orphaned();
2286                     org.apache.xmlbeans.SimpleValue target = null;
2287                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
2288                     if (target == null)
2289                     {
2290                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORNAME$0);
2291                     }
2292                     target.setStringValue(phaContractAdministratorName);
2293                 }
2294             }
2295             
2296             /**
2297              * Sets (as xml) the "PHAContractAdministratorName" element
2298              */
2299             public void xsetPHAContractAdministratorName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType phaContractAdministratorName)
2300             {
2301                 synchronized (monitor())
2302                 {
2303                     check_orphaned();
2304                     gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType target = null;
2305                     target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORNAME$0, 0);
2306                     if (target == null)
2307                     {
2308                       target = (gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType)get_store().add_element_user(PHACONTRACTADMINISTRATORNAME$0);
2309                     }
2310                     target.set(phaContractAdministratorName);
2311                 }
2312             }
2313             
2314             /**
2315              * Unsets the "PHAContractAdministratorName" element
2316              */
2317             public void unsetPHAContractAdministratorName()
2318             {
2319                 synchronized (monitor())
2320                 {
2321                     check_orphaned();
2322                     get_store().remove_element(PHACONTRACTADMINISTRATORNAME$0, 0);
2323                 }
2324             }
2325             
2326             /**
2327              * Gets the "PHAContractAdministratorGrantActivity" element
2328              */
2329             public java.lang.String getPHAContractAdministratorGrantActivity()
2330             {
2331                 synchronized (monitor())
2332                 {
2333                     check_orphaned();
2334                     org.apache.xmlbeans.SimpleValue target = null;
2335                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
2336                     if (target == null)
2337                     {
2338                       return null;
2339                     }
2340                     return target.getStringValue();
2341                 }
2342             }
2343             
2344             /**
2345              * Gets (as xml) the "PHAContractAdministratorGrantActivity" element
2346              */
2347             public gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity xgetPHAContractAdministratorGrantActivity()
2348             {
2349                 synchronized (monitor())
2350                 {
2351                     check_orphaned();
2352                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity target = null;
2353                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
2354                     return target;
2355                 }
2356             }
2357             
2358             /**
2359              * True if has "PHAContractAdministratorGrantActivity" element
2360              */
2361             public boolean isSetPHAContractAdministratorGrantActivity()
2362             {
2363                 synchronized (monitor())
2364                 {
2365                     check_orphaned();
2366                     return get_store().count_elements(PHACONTRACTADMINISTRATORGRANTACTIVITY$2) != 0;
2367                 }
2368             }
2369             
2370             /**
2371              * Sets the "PHAContractAdministratorGrantActivity" element
2372              */
2373             public void setPHAContractAdministratorGrantActivity(java.lang.String phaContractAdministratorGrantActivity)
2374             {
2375                 synchronized (monitor())
2376                 {
2377                     check_orphaned();
2378                     org.apache.xmlbeans.SimpleValue target = null;
2379                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
2380                     if (target == null)
2381                     {
2382                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2);
2383                     }
2384                     target.setStringValue(phaContractAdministratorGrantActivity);
2385                 }
2386             }
2387             
2388             /**
2389              * Sets (as xml) the "PHAContractAdministratorGrantActivity" element
2390              */
2391             public void xsetPHAContractAdministratorGrantActivity(gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity phaContractAdministratorGrantActivity)
2392             {
2393                 synchronized (monitor())
2394                 {
2395                     check_orphaned();
2396                     gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity target = null;
2397                     target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().find_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
2398                     if (target == null)
2399                     {
2400                       target = (gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity)get_store().add_element_user(PHACONTRACTADMINISTRATORGRANTACTIVITY$2);
2401                     }
2402                     target.set(phaContractAdministratorGrantActivity);
2403                 }
2404             }
2405             
2406             /**
2407              * Unsets the "PHAContractAdministratorGrantActivity" element
2408              */
2409             public void unsetPHAContractAdministratorGrantActivity()
2410             {
2411                 synchronized (monitor())
2412                 {
2413                     check_orphaned();
2414                     get_store().remove_element(PHACONTRACTADMINISTRATORGRANTACTIVITY$2, 0);
2415                 }
2416             }
2417             
2418             /**
2419              * Gets the "PHAContractAdministratorCostToGrant" element
2420              */
2421             public java.math.BigDecimal getPHAContractAdministratorCostToGrant()
2422             {
2423                 synchronized (monitor())
2424                 {
2425                     check_orphaned();
2426                     org.apache.xmlbeans.SimpleValue target = null;
2427                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
2428                     if (target == null)
2429                     {
2430                       return null;
2431                     }
2432                     return target.getBigDecimalValue();
2433                 }
2434             }
2435             
2436             /**
2437              * Gets (as xml) the "PHAContractAdministratorCostToGrant" element
2438              */
2439             public gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType xgetPHAContractAdministratorCostToGrant()
2440             {
2441                 synchronized (monitor())
2442                 {
2443                     check_orphaned();
2444                     gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
2445                     target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
2446                     return target;
2447                 }
2448             }
2449             
2450             /**
2451              * True if has "PHAContractAdministratorCostToGrant" element
2452              */
2453             public boolean isSetPHAContractAdministratorCostToGrant()
2454             {
2455                 synchronized (monitor())
2456                 {
2457                     check_orphaned();
2458                     return get_store().count_elements(PHACONTRACTADMINISTRATORCOSTTOGRANT$4) != 0;
2459                 }
2460             }
2461             
2462             /**
2463              * Sets the "PHAContractAdministratorCostToGrant" element
2464              */
2465             public void setPHAContractAdministratorCostToGrant(java.math.BigDecimal phaContractAdministratorCostToGrant)
2466             {
2467                 synchronized (monitor())
2468                 {
2469                     check_orphaned();
2470                     org.apache.xmlbeans.SimpleValue target = null;
2471                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
2472                     if (target == null)
2473                     {
2474                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4);
2475                     }
2476                     target.setBigDecimalValue(phaContractAdministratorCostToGrant);
2477                 }
2478             }
2479             
2480             /**
2481              * Sets (as xml) the "PHAContractAdministratorCostToGrant" element
2482              */
2483             public void xsetPHAContractAdministratorCostToGrant(gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType phaContractAdministratorCostToGrant)
2484             {
2485                 synchronized (monitor())
2486                 {
2487                     check_orphaned();
2488                     gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType target = null;
2489                     target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().find_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
2490                     if (target == null)
2491                     {
2492                       target = (gov.grants.apply.system.globalLibraryV20.BudgetAmountDataType)get_store().add_element_user(PHACONTRACTADMINISTRATORCOSTTOGRANT$4);
2493                     }
2494                     target.set(phaContractAdministratorCostToGrant);
2495                 }
2496             }
2497             
2498             /**
2499              * Unsets the "PHAContractAdministratorCostToGrant" element
2500              */
2501             public void unsetPHAContractAdministratorCostToGrant()
2502             {
2503                 synchronized (monitor())
2504                 {
2505                     check_orphaned();
2506                     get_store().remove_element(PHACONTRACTADMINISTRATORCOSTTOGRANT$4, 0);
2507                 }
2508             }
2509             /**
2510              * An XML PHAContractAdministratorGrantActivity(@http://apply.grants.gov/forms/HUD_ROSS-V1.1).
2511              *
2512              * This is an atomic type that is a restriction of gov.grants.apply.forms.hudROSSV11.HUDROSSDocument$HUDROSS$PHAContractAdministrator$PHAContractAdministratorGrantActivity.
2513              */
2514             public static class PHAContractAdministratorGrantActivityImpl extends org.apache.xmlbeans.impl.values.JavaStringHolderEx implements gov.grants.apply.forms.hudROSSV11.HUDROSSDocument.HUDROSS.PHAContractAdministrator.PHAContractAdministratorGrantActivity
2515             {
2516                 private static final long serialVersionUID = 1L;
2517                 
2518                 public PHAContractAdministratorGrantActivityImpl(org.apache.xmlbeans.SchemaType sType)
2519                 {
2520                     super(sType, false);
2521                 }
2522                 
2523                 protected PHAContractAdministratorGrantActivityImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
2524                 {
2525                     super(sType, b);
2526                 }
2527             }
2528         }
2529     }
2530 }