1   
2   
3   
4   
5   
6   
7   
8   
9   package gov.grants.apply.forms.hhsCertificationsV10.impl;
10  
11  
12  
13  
14  
15  public class HHSCertificationsDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument
16  {
17      private static final long serialVersionUID = 1L;
18      
19      public HHSCertificationsDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20      {
21          super(sType);
22      }
23      
24      private static final javax.xml.namespace.QName HHSCERTIFICATIONS$0 = 
25          new javax.xml.namespace.QName("http://apply.grants.gov/forms/HHS_Certifications-V1.0", "HHS_Certifications");
26      
27      
28      
29  
30  
31      public gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications getHHSCertifications()
32      {
33          synchronized (monitor())
34          {
35              check_orphaned();
36              gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications target = null;
37              target = (gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications)get_store().find_element_user(HHSCERTIFICATIONS$0, 0);
38              if (target == null)
39              {
40                  return null;
41              }
42              return target;
43          }
44      }
45      
46      
47  
48  
49      public void setHHSCertifications(gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications hhsCertifications)
50      {
51          generatedSetterHelperImpl(hhsCertifications, HHSCERTIFICATIONS$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52      }
53      
54      
55  
56  
57      public gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications addNewHHSCertifications()
58      {
59          synchronized (monitor())
60          {
61              check_orphaned();
62              gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications target = null;
63              target = (gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications)get_store().add_element_user(HHSCERTIFICATIONS$0);
64              return target;
65          }
66      }
67      
68  
69  
70  
71  
72      public static class HHSCertificationsImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.hhsCertificationsV10.HHSCertificationsDocument.HHSCertifications
73      {
74          private static final long serialVersionUID = 1L;
75          
76          public HHSCertificationsImpl(org.apache.xmlbeans.SchemaType sType)
77          {
78              super(sType);
79          }
80          
81          private static final javax.xml.namespace.QName FORMVERSION$0 = 
82              new javax.xml.namespace.QName("http://apply.grants.gov/forms/HHS_Certifications-V1.0", "FormVersion");
83          
84          
85          
86  
87  
88          public java.lang.String getFormVersion()
89          {
90              synchronized (monitor())
91              {
92                  check_orphaned();
93                  org.apache.xmlbeans.SimpleValue target = null;
94                  target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$0);
95                  if (target == null)
96                  {
97                      target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$0);
98                  }
99                  if (target == null)
100                 {
101                     return null;
102                 }
103                 return target.getStringValue();
104             }
105         }
106         
107         
108 
109 
110         public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
111         {
112             synchronized (monitor())
113             {
114                 check_orphaned();
115                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
116                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$0);
117                 if (target == null)
118                 {
119                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$0);
120                 }
121                 return target;
122             }
123         }
124         
125         
126 
127 
128         public void setFormVersion(java.lang.String formVersion)
129         {
130             synchronized (monitor())
131             {
132                 check_orphaned();
133                 org.apache.xmlbeans.SimpleValue target = null;
134                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$0);
135                 if (target == null)
136                 {
137                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$0);
138                 }
139                 target.setStringValue(formVersion);
140             }
141         }
142         
143         
144 
145 
146         public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
147         {
148             synchronized (monitor())
149             {
150                 check_orphaned();
151                 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
152                 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$0);
153                 if (target == null)
154                 {
155                     target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$0);
156                 }
157                 target.set(formVersion);
158             }
159         }
160     }
161 }