View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Assurances
4    * Namespace: http://apply.grants.gov/forms/Mandatory_SF424B-V1.1
5    * Java type: gov.grants.apply.forms.mandatorySF424BV11.AssurancesDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.mandatorySF424BV11.impl;
10  /**
11   * A document containing one Assurances(@http://apply.grants.gov/forms/Mandatory_SF424B-V1.1) element.
12   *
13   * This is a complex type.
14   */
15  public class AssurancesDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.mandatorySF424BV11.AssurancesDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public AssurancesDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName ASSURANCES$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/Mandatory_SF424B-V1.1", "Assurances");
26      
27      
28      /**
29       * Gets the "Assurances" element
30       */
31      public gov.grants.apply.forms.mandatorySF424BV11.AssuranceType getAssurances()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.mandatorySF424BV11.AssuranceType target = null;
37              target = (gov.grants.apply.forms.mandatorySF424BV11.AssuranceType)get_store().find_element_user(ASSURANCES$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      /**
47       * Sets the "Assurances" element
48       */
49      public void setAssurances(gov.grants.apply.forms.mandatorySF424BV11.AssuranceType assurances)
50      {
51          generatedSetterHelperImpl(assurances, ASSURANCES$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      /**
55       * Appends and returns a new empty "Assurances" element
56       */
57      public gov.grants.apply.forms.mandatorySF424BV11.AssuranceType addNewAssurances()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.mandatorySF424BV11.AssuranceType target = null;
63              target = (gov.grants.apply.forms.mandatorySF424BV11.AssuranceType)get_store().add_element_user(ASSURANCES$0);
64              return target;
65          }
66      }
67  }