1
2
3
4
5
6
7
8
9 package gov.grants.apply.system.grantsCommonElementsV10.impl;
10
11
12
13
14
15 public class InstructionFileInfoDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument
16 {
17 private static final long serialVersionUID = 1L;
18
19 public InstructionFileInfoDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20 {
21 super(sType);
22 }
23
24 private static final javax.xml.namespace.QName INSTRUCTIONFILEINFO$0 =
25 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "InstructionFileInfo");
26
27
28
29
30
31 public gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo getInstructionFileInfo()
32 {
33 synchronized (monitor())
34 {
35 check_orphaned();
36 gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo target = null;
37 target = (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo)get_store().find_element_user(INSTRUCTIONFILEINFO$0, 0);
38 if (target == null)
39 {
40 return null;
41 }
42 return target;
43 }
44 }
45
46
47
48
49 public void setInstructionFileInfo(gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo instructionFileInfo)
50 {
51 generatedSetterHelperImpl(instructionFileInfo, INSTRUCTIONFILEINFO$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52 }
53
54
55
56
57 public gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo addNewInstructionFileInfo()
58 {
59 synchronized (monitor())
60 {
61 check_orphaned();
62 gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo target = null;
63 target = (gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo)get_store().add_element_user(INSTRUCTIONFILEINFO$0);
64 return target;
65 }
66 }
67
68
69
70
71
72 public static class InstructionFileInfoImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements gov.grants.apply.system.grantsCommonElementsV10.InstructionFileInfoDocument.InstructionFileInfo
73 {
74 private static final long serialVersionUID = 1L;
75
76 public InstructionFileInfoImpl(org.apache.xmlbeans.SchemaType sType)
77 {
78 super(sType);
79 }
80
81 private static final javax.xml.namespace.QName FILENAME$0 =
82 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "FileName");
83 private static final javax.xml.namespace.QName FILEEXTENSION$2 =
84 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "FileExtension");
85 private static final javax.xml.namespace.QName FILECONTENTID$4 =
86 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "FileContentId");
87 private static final javax.xml.namespace.QName FILEDATAHANDLER$6 =
88 new javax.xml.namespace.QName("http://apply.grants.gov/system/GrantsCommonElements-V1.0", "FileDataHandler");
89
90
91
92
93
94 public java.lang.String getFileName()
95 {
96 synchronized (monitor())
97 {
98 check_orphaned();
99 org.apache.xmlbeans.SimpleValue target = null;
100 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILENAME$0, 0);
101 if (target == null)
102 {
103 return null;
104 }
105 return target.getStringValue();
106 }
107 }
108
109
110
111
112 public gov.grants.apply.system.grantsCommonTypesV10.FileNameType xgetFileName()
113 {
114 synchronized (monitor())
115 {
116 check_orphaned();
117 gov.grants.apply.system.grantsCommonTypesV10.FileNameType target = null;
118 target = (gov.grants.apply.system.grantsCommonTypesV10.FileNameType)get_store().find_element_user(FILENAME$0, 0);
119 return target;
120 }
121 }
122
123
124
125
126 public void setFileName(java.lang.String fileName)
127 {
128 synchronized (monitor())
129 {
130 check_orphaned();
131 org.apache.xmlbeans.SimpleValue target = null;
132 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILENAME$0, 0);
133 if (target == null)
134 {
135 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FILENAME$0);
136 }
137 target.setStringValue(fileName);
138 }
139 }
140
141
142
143
144 public void xsetFileName(gov.grants.apply.system.grantsCommonTypesV10.FileNameType fileName)
145 {
146 synchronized (monitor())
147 {
148 check_orphaned();
149 gov.grants.apply.system.grantsCommonTypesV10.FileNameType target = null;
150 target = (gov.grants.apply.system.grantsCommonTypesV10.FileNameType)get_store().find_element_user(FILENAME$0, 0);
151 if (target == null)
152 {
153 target = (gov.grants.apply.system.grantsCommonTypesV10.FileNameType)get_store().add_element_user(FILENAME$0);
154 }
155 target.set(fileName);
156 }
157 }
158
159
160
161
162 public java.lang.String getFileExtension()
163 {
164 synchronized (monitor())
165 {
166 check_orphaned();
167 org.apache.xmlbeans.SimpleValue target = null;
168 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILEEXTENSION$2, 0);
169 if (target == null)
170 {
171 return null;
172 }
173 return target.getStringValue();
174 }
175 }
176
177
178
179
180 public gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType xgetFileExtension()
181 {
182 synchronized (monitor())
183 {
184 check_orphaned();
185 gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType target = null;
186 target = (gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType)get_store().find_element_user(FILEEXTENSION$2, 0);
187 return target;
188 }
189 }
190
191
192
193
194 public void setFileExtension(java.lang.String fileExtension)
195 {
196 synchronized (monitor())
197 {
198 check_orphaned();
199 org.apache.xmlbeans.SimpleValue target = null;
200 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILEEXTENSION$2, 0);
201 if (target == null)
202 {
203 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FILEEXTENSION$2);
204 }
205 target.setStringValue(fileExtension);
206 }
207 }
208
209
210
211
212 public void xsetFileExtension(gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType fileExtension)
213 {
214 synchronized (monitor())
215 {
216 check_orphaned();
217 gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType target = null;
218 target = (gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType)get_store().find_element_user(FILEEXTENSION$2, 0);
219 if (target == null)
220 {
221 target = (gov.grants.apply.system.grantsCommonTypesV10.FileExtensionType)get_store().add_element_user(FILEEXTENSION$2);
222 }
223 target.set(fileExtension);
224 }
225 }
226
227
228
229
230 public java.lang.String getFileContentId()
231 {
232 synchronized (monitor())
233 {
234 check_orphaned();
235 org.apache.xmlbeans.SimpleValue target = null;
236 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILECONTENTID$4, 0);
237 if (target == null)
238 {
239 return null;
240 }
241 return target.getStringValue();
242 }
243 }
244
245
246
247
248 public gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType xgetFileContentId()
249 {
250 synchronized (monitor())
251 {
252 check_orphaned();
253 gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType target = null;
254 target = (gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType)get_store().find_element_user(FILECONTENTID$4, 0);
255 return target;
256 }
257 }
258
259
260
261
262 public void setFileContentId(java.lang.String fileContentId)
263 {
264 synchronized (monitor())
265 {
266 check_orphaned();
267 org.apache.xmlbeans.SimpleValue target = null;
268 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILECONTENTID$4, 0);
269 if (target == null)
270 {
271 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FILECONTENTID$4);
272 }
273 target.setStringValue(fileContentId);
274 }
275 }
276
277
278
279
280 public void xsetFileContentId(gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType fileContentId)
281 {
282 synchronized (monitor())
283 {
284 check_orphaned();
285 gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType target = null;
286 target = (gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType)get_store().find_element_user(FILECONTENTID$4, 0);
287 if (target == null)
288 {
289 target = (gov.grants.apply.system.grantsCommonTypesV10.FileContentIdType)get_store().add_element_user(FILECONTENTID$4);
290 }
291 target.set(fileContentId);
292 }
293 }
294
295
296
297
298 public byte[] getFileDataHandler()
299 {
300 synchronized (monitor())
301 {
302 check_orphaned();
303 org.apache.xmlbeans.SimpleValue target = null;
304 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILEDATAHANDLER$6, 0);
305 if (target == null)
306 {
307 return null;
308 }
309 return target.getByteArrayValue();
310 }
311 }
312
313
314
315
316 public org.apache.xmlbeans.XmlBase64Binary xgetFileDataHandler()
317 {
318 synchronized (monitor())
319 {
320 check_orphaned();
321 org.apache.xmlbeans.XmlBase64Binary target = null;
322 target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(FILEDATAHANDLER$6, 0);
323 return target;
324 }
325 }
326
327
328
329
330 public void setFileDataHandler(byte[] fileDataHandler)
331 {
332 synchronized (monitor())
333 {
334 check_orphaned();
335 org.apache.xmlbeans.SimpleValue target = null;
336 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(FILEDATAHANDLER$6, 0);
337 if (target == null)
338 {
339 target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(FILEDATAHANDLER$6);
340 }
341 target.setByteArrayValue(fileDataHandler);
342 }
343 }
344
345
346
347
348 public void xsetFileDataHandler(org.apache.xmlbeans.XmlBase64Binary fileDataHandler)
349 {
350 synchronized (monitor())
351 {
352 check_orphaned();
353 org.apache.xmlbeans.XmlBase64Binary target = null;
354 target = (org.apache.xmlbeans.XmlBase64Binary)get_store().find_element_user(FILEDATAHANDLER$6, 0);
355 if (target == null)
356 {
357 target = (org.apache.xmlbeans.XmlBase64Binary)get_store().add_element_user(FILEDATAHANDLER$6);
358 }
359 target.set(fileDataHandler);
360 }
361 }
362 }
363 }