1
2
3
4
5
6
7
8
9 package gov.grants.apply.forms.naraProjectSummaryAttachmentV10.impl;
10
11
12
13
14
15 public class NARAProjectSummaryAttachmentDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public NARAProjectSummaryAttachmentDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName NARAPROJECTSUMMARYATTACHMENT$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NARA_ProjectSummaryAttachment-V1.0", "NARA_ProjectSummaryAttachment");
26
27
28
29
30
31 public gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment getNARAProjectSummaryAttachment()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment target = null;
37 target = (gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment)get_store().find_element_user(NARAPROJECTSUMMARYATTACHMENT$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setNARAProjectSummaryAttachment(gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment naraProjectSummaryAttachment)
50 {
51 generatedSetterHelperImpl(naraProjectSummaryAttachment, NARAPROJECTSUMMARYATTACHMENT$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment addNewNARAProjectSummaryAttachment()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment target = null;
63 target = (gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment)get_store().add_element_user(NARAPROJECTSUMMARYATTACHMENT$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class NARAProjectSummaryAttachmentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.forms.naraProjectSummaryAttachmentV10.NARAProjectSummaryAttachmentDocument.NARAProjectSummaryAttachment
73 {
74 private static final long serialVersionUID = 1L;
75
76 public NARAProjectSummaryAttachmentImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName PROJECTSUMMARY$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NARA_ProjectSummaryAttachment-V1.0", "ProjectSummary");
83 private static final javax.xml.namespace.QName ADDITIONALPROJECTSUMMARYS$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NARA_ProjectSummaryAttachment-V1.0", "AdditionalProjectSummarys");
85 private static final javax.xml.namespace.QName FORMVERSION$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/forms/NARA_ProjectSummaryAttachment-V1.0", "FormVersion");
87
88
89
90
91
92 public gov.grants.apply.system.attachmentsV10.AttachedFileDataType getProjectSummary()
93 {
94 synchronized (monitor())
95 {
96 check_orphaned();
97 gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
98 target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().find_element_user(PROJECTSUMMARY$0, 0);
99 if (target == null)
100 {
101 return null;
102 }
103 return target;
104 }
105 }
106
107
108
109
110 public void setProjectSummary(gov.grants.apply.system.attachmentsV10.AttachedFileDataType projectSummary)
111 {
112 generatedSetterHelperImpl(projectSummary, PROJECTSUMMARY$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
113 }
114
115
116
117
118 public gov.grants.apply.system.attachmentsV10.AttachedFileDataType addNewProjectSummary()
119 {
120 synchronized (monitor())
121 {
122 check_orphaned();
123 gov.grants.apply.system.attachmentsV10.AttachedFileDataType target = null;
124 target = (gov.grants.apply.system.attachmentsV10.AttachedFileDataType)get_store().add_element_user(PROJECTSUMMARY$0);
125 return target;
126 }
127 }
128
129
130
131
132 public gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType getAdditionalProjectSummarys()
133 {
134 synchronized (monitor())
135 {
136 check_orphaned();
137 gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType target = null;
138 target = (gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType)get_store().find_element_user(ADDITIONALPROJECTSUMMARYS$2, 0);
139 if (target == null)
140 {
141 return null;
142 }
143 return target;
144 }
145 }
146
147
148
149
150 public boolean isSetAdditionalProjectSummarys()
151 {
152 synchronized (monitor())
153 {
154 check_orphaned();
155 return get_store().count_elements(ADDITIONALPROJECTSUMMARYS$2) != 0;
156 }
157 }
158
159
160
161
162 public void setAdditionalProjectSummarys(gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType additionalProjectSummarys)
163 {
164 generatedSetterHelperImpl(additionalProjectSummarys, ADDITIONALPROJECTSUMMARYS$2, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
165 }
166
167
168
169
170 public gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType addNewAdditionalProjectSummarys()
171 {
172 synchronized (monitor())
173 {
174 check_orphaned();
175 gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType target = null;
176 target = (gov.grants.apply.system.attachmentsV10.AttachmentGroupMin0Max100DataType)get_store().add_element_user(ADDITIONALPROJECTSUMMARYS$2);
177 return target;
178 }
179 }
180
181
182
183
184 public void unsetAdditionalProjectSummarys()
185 {
186 synchronized (monitor())
187 {
188 check_orphaned();
189 get_store().remove_element(ADDITIONALPROJECTSUMMARYS$2, 0);
190 }
191 }
192
193
194
195
196 public java.lang.String getFormVersion()
197 {
198 synchronized (monitor())
199 {
200 check_orphaned();
201 org.apache.xmlbeans.SimpleValue target = null;
202 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
203 if (target == null)
204 {
205 target = (org.apache.xmlbeans.SimpleValue)get_default_attribute_value(FORMVERSION$4);
206 }
207 if (target == null)
208 {
209 return null;
210 }
211 return target.getStringValue();
212 }
213 }
214
215
216
217
218 public gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion()
219 {
220 synchronized (monitor())
221 {
222 check_orphaned();
223 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
224 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
225 if (target == null)
226 {
227 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_default_attribute_value(FORMVERSION$4);
228 }
229 return target;
230 }
231 }
232
233
234
235
236 public void setFormVersion(java.lang.String formVersion)
237 {
238 synchronized (monitor())
239 {
240 check_orphaned();
241 org.apache.xmlbeans.SimpleValue target = null;
242 target = (org.apache.xmlbeans.SimpleValue)get_store().find_attribute_user(FORMVERSION$4);
243 if (target == null)
244 {
245 target = (org.apache.xmlbeans.SimpleValue)get_store().add_attribute_user(FORMVERSION$4);
246 }
247 target.setStringValue(formVersion);
248 }
249 }
250
251
252
253
254 public void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion)
255 {
256 synchronized (monitor())
257 {
258 check_orphaned();
259 gov.grants.apply.system.globalLibraryV20.FormVersionDataType target = null;
260 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().find_attribute_user(FORMVERSION$4);
261 if (target == null)
262 {
263 target = (gov.grants.apply.system.globalLibraryV20.FormVersionDataType)get_store().add_attribute_user(FORMVERSION$4);
264 }
265 target.set(formVersion);
266 }
267 }
268 }
269 }