1   
2   
3   
4   
5   
6   
7   
8   
9   package gov.grants.apply.forms.ssaSF424SectionGV11.impl;
10  
11  
12  
13  
14  
15  public class FringeBenefitsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public FringeBenefitsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName FRINGEBENEFITS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "FringeBenefits");
26      
27      
28      
29  
30  
31      public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits getFringeBenefits()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits target = null;
37              target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits)get_store().find_element_user(FRINGEBENEFITS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      
47  
48  
49      public void setFringeBenefits(gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits fringeBenefits)
50      {
51          generatedSetterHelperImpl(fringeBenefits, FRINGEBENEFITS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      
55  
56  
57      public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits addNewFringeBenefits()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits target = null;
63              target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits)get_store().add_element_user(FRINGEBENEFITS$0);
64              return target;
65          }
66      }
67      
68  
69  
70  
71  
72      public static class FringeBenefitsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public FringeBenefitsImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName FRINGEBENEFIT$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "FringeBenefit");
83          
84          
85          
86  
87  
88          public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit[] getFringeBenefitArray()
89          {
90              synchronized (monitor())
91              {
92                  check_orphaned();
93                  java.util.List targetList = new java.util.ArrayList();
94                  get_store().find_all_element_users(FRINGEBENEFIT$0, targetList);
95                  gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit[] result = new gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit[targetList.size()];
96                  targetList.toArray(result);
97                  return result;
98              }
99          }
100         
101         
102 
103 
104         public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit getFringeBenefitArray(int i)
105         {
106             synchronized (monitor())
107             {
108                 check_orphaned();
109                 gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit target = null;
110                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit)get_store().find_element_user(FRINGEBENEFIT$0, i);
111                 if (target == null)
112                 {
113                     throw new IndexOutOfBoundsException();
114                 }
115                 return target;
116             }
117         }
118         
119         
120 
121 
122         public int sizeOfFringeBenefitArray()
123         {
124             synchronized (monitor())
125             {
126                 check_orphaned();
127                 return get_store().count_elements(FRINGEBENEFIT$0);
128             }
129         }
130         
131         
132 
133 
134         public void setFringeBenefitArray(gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit[] fringeBenefitArray)
135         {
136             check_orphaned();
137             arraySetterHelper(fringeBenefitArray, FRINGEBENEFIT$0);
138         }
139         
140         
141 
142 
143         public void setFringeBenefitArray(int i, gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit fringeBenefit)
144         {
145             generatedSetterHelperImpl(fringeBenefit, FRINGEBENEFIT$0, i, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_ARRAYITEM);
146         }
147         
148         
149 
150 
151         public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit insertNewFringeBenefit(int i)
152         {
153             synchronized (monitor())
154             {
155                 check_orphaned();
156                 gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit target = null;
157                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit)get_store().insert_element_user(FRINGEBENEFIT$0, i);
158                 return target;
159             }
160         }
161         
162         
163 
164 
165         public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit addNewFringeBenefit()
166         {
167             synchronized (monitor())
168             {
169                 check_orphaned();
170                 gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit target = null;
171                 target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit)get_store().add_element_user(FRINGEBENEFIT$0);
172                 return target;
173             }
174         }
175         
176         
177 
178 
179         public void removeFringeBenefit(int i)
180         {
181             synchronized (monitor())
182             {
183                 check_orphaned();
184                 get_store().remove_element(FRINGEBENEFIT$0, i);
185             }
186         }
187         
188 
189 
190 
191 
192         public static class FringeBenefitImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit
193         {
194             private static final long serialVersionUID = 1L;
195             
196             public FringeBenefitImpl(org.apache.xmlbeans.SchemaType sType)
197             {
198                 super(sType);
199             }
200             
201             private static final javax.xml.namespace.QName POSITIONTITLE$0 = 
202                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "PositionTitle");
203             private static final javax.xml.namespace.QName RATE$2 = 
204                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "Rate");
205             private static final javax.xml.namespace.QName TOTALFRINGEBENEFITSAMOUNT$4 = 
206                 new javax.xml.namespace.QName("http://apply.grants.gov/forms/SSA_SF424_SectionG-V1.1", "TotalFringeBenefitsAmount");
207             
208             
209             
210 
211 
212             public java.lang.String getPositionTitle()
213             {
214                 synchronized (monitor())
215                 {
216                     check_orphaned();
217                     org.apache.xmlbeans.SimpleValue target = null;
218                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(POSITIONTITLE$0, 0);
219                     if (target == null)
220                     {
221                       return null;
222                     }
223                     return target.getStringValue();
224                 }
225             }
226             
227             
228 
229 
230             public gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetPositionTitle()
231             {
232                 synchronized (monitor())
233                 {
234                     check_orphaned();
235                     gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
236                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(POSITIONTITLE$0, 0);
237                     return target;
238                 }
239             }
240             
241             
242 
243 
244             public void setPositionTitle(java.lang.String positionTitle)
245             {
246                 synchronized (monitor())
247                 {
248                     check_orphaned();
249                     org.apache.xmlbeans.SimpleValue target = null;
250                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(POSITIONTITLE$0, 0);
251                     if (target == null)
252                     {
253                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(POSITIONTITLE$0);
254                     }
255                     target.setStringValue(positionTitle);
256                 }
257             }
258             
259             
260 
261 
262             public void xsetPositionTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType positionTitle)
263             {
264                 synchronized (monitor())
265                 {
266                     check_orphaned();
267                     gov.grants.apply.system.globalLibraryV20.HumanTitleDataType target = null;
268                     target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().find_element_user(POSITIONTITLE$0, 0);
269                     if (target == null)
270                     {
271                       target = (gov.grants.apply.system.globalLibraryV20.HumanTitleDataType)get_store().add_element_user(POSITIONTITLE$0);
272                     }
273                     target.set(positionTitle);
274                 }
275             }
276             
277             
278 
279 
280             public java.math.BigDecimal getRate()
281             {
282                 synchronized (monitor())
283                 {
284                     check_orphaned();
285                     org.apache.xmlbeans.SimpleValue target = null;
286                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RATE$2, 0);
287                     if (target == null)
288                     {
289                       return null;
290                     }
291                     return target.getBigDecimalValue();
292                 }
293             }
294             
295             
296 
297 
298             public gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate xgetRate()
299             {
300                 synchronized (monitor())
301                 {
302                     check_orphaned();
303                     gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate target = null;
304                     target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate)get_store().find_element_user(RATE$2, 0);
305                     return target;
306                 }
307             }
308             
309             
310 
311 
312             public void setRate(java.math.BigDecimal rate)
313             {
314                 synchronized (monitor())
315                 {
316                     check_orphaned();
317                     org.apache.xmlbeans.SimpleValue target = null;
318                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(RATE$2, 0);
319                     if (target == null)
320                     {
321                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(RATE$2);
322                     }
323                     target.setBigDecimalValue(rate);
324                 }
325             }
326             
327             
328 
329 
330             public void xsetRate(gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate rate)
331             {
332                 synchronized (monitor())
333                 {
334                     check_orphaned();
335                     gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate target = null;
336                     target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate)get_store().find_element_user(RATE$2, 0);
337                     if (target == null)
338                     {
339                       target = (gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate)get_store().add_element_user(RATE$2);
340                     }
341                     target.set(rate);
342                 }
343             }
344             
345             
346 
347 
348             public java.math.BigDecimal getTotalFringeBenefitsAmount()
349             {
350                 synchronized (monitor())
351                 {
352                     check_orphaned();
353                     org.apache.xmlbeans.SimpleValue target = null;
354                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFRINGEBENEFITSAMOUNT$4, 0);
355                     if (target == null)
356                     {
357                       return null;
358                     }
359                     return target.getBigDecimalValue();
360                 }
361             }
362             
363             
364 
365 
366             public gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type xgetTotalFringeBenefitsAmount()
367             {
368                 synchronized (monitor())
369                 {
370                     check_orphaned();
371                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
372                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(TOTALFRINGEBENEFITSAMOUNT$4, 0);
373                     return target;
374                 }
375             }
376             
377             
378 
379 
380             public void setTotalFringeBenefitsAmount(java.math.BigDecimal totalFringeBenefitsAmount)
381             {
382                 synchronized (monitor())
383                 {
384                     check_orphaned();
385                     org.apache.xmlbeans.SimpleValue target = null;
386                     target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(TOTALFRINGEBENEFITSAMOUNT$4, 0);
387                     if (target == null)
388                     {
389                       target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(TOTALFRINGEBENEFITSAMOUNT$4);
390                     }
391                     target.setBigDecimalValue(totalFringeBenefitsAmount);
392                 }
393             }
394             
395             
396 
397 
398             public void xsetTotalFringeBenefitsAmount(gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type totalFringeBenefitsAmount)
399             {
400                 synchronized (monitor())
401                 {
402                     check_orphaned();
403                     gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type target = null;
404                     target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().find_element_user(TOTALFRINGEBENEFITSAMOUNT$4, 0);
405                     if (target == null)
406                     {
407                       target = (gov.grants.apply.system.globalV10.DecimalMin1Max14Places2Type)get_store().add_element_user(TOTALFRINGEBENEFITSAMOUNT$4);
408                     }
409                     target.set(totalFringeBenefitsAmount);
410                 }
411             }
412             
413 
414 
415 
416 
417             public static class RateImpl extends org.apache.xmlbeans.impl.values.JavaDecimalHolderEx implements gov.grants.apply.forms.ssaSF424SectionGV11.FringeBenefitsDocument.FringeBenefits.FringeBenefit.Rate
418             {
419                 private static final long serialVersionUID = 1L;
420                 
421                 public RateImpl(org.apache.xmlbeans.SchemaType sType)
422                 {
423                     super(sType, false);
424                 }
425                 
426                 protected RateImpl(org.apache.xmlbeans.SchemaType sType, boolean b)
427                 {
428                     super(sType, b);
429                 }
430             }
431         }
432     }
433 }