View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Key_Contacts
4    * Namespace: http://apply.grants.gov/forms/Key_Contacts-V1.0
5    * Java type: gov.grants.apply.forms.keyContactsV10.KeyContactsDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.keyContactsV10;
10  
11  
12  /**
13   * A document containing one Key_Contacts(@http://apply.grants.gov/forms/Key_Contacts-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface KeyContactsDocument extends org.apache.xmlbeans.XmlObject
18  {
19      public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
20          org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(KeyContactsDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("keycontactsad7ddoctype");
21      
22      /**
23       * Gets the "Key_Contacts" element
24       */
25      gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts getKeyContacts();
26      
27      /**
28       * Sets the "Key_Contacts" element
29       */
30      void setKeyContacts(gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts keyContacts);
31      
32      /**
33       * Appends and returns a new empty "Key_Contacts" element
34       */
35      gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts addNewKeyContacts();
36      
37      /**
38       * An XML Key_Contacts(@http://apply.grants.gov/forms/Key_Contacts-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface KeyContacts extends org.apache.xmlbeans.XmlObject
43      {
44          public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
45              org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(KeyContacts.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("keycontacts3c8eelemtype");
46          
47          /**
48           * Gets the "ApplicantOrganizationName" element
49           */
50          java.lang.String getApplicantOrganizationName();
51          
52          /**
53           * Gets (as xml) the "ApplicantOrganizationName" element
54           */
55          gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetApplicantOrganizationName();
56          
57          /**
58           * Sets the "ApplicantOrganizationName" element
59           */
60          void setApplicantOrganizationName(java.lang.String applicantOrganizationName);
61          
62          /**
63           * Sets (as xml) the "ApplicantOrganizationName" element
64           */
65          void xsetApplicantOrganizationName(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType applicantOrganizationName);
66          
67          /**
68           * Gets array of all "RoleOnProject" elements
69           */
70          gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject[] getRoleOnProjectArray();
71          
72          /**
73           * Gets ith "RoleOnProject" element
74           */
75          gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject getRoleOnProjectArray(int i);
76          
77          /**
78           * Returns number of "RoleOnProject" element
79           */
80          int sizeOfRoleOnProjectArray();
81          
82          /**
83           * Sets array of all "RoleOnProject" element
84           */
85          void setRoleOnProjectArray(gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject[] roleOnProjectArray);
86          
87          /**
88           * Sets ith "RoleOnProject" element
89           */
90          void setRoleOnProjectArray(int i, gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject roleOnProject);
91          
92          /**
93           * Inserts and returns a new empty value (as xml) as the ith "RoleOnProject" element
94           */
95          gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject insertNewRoleOnProject(int i);
96          
97          /**
98           * Appends and returns a new empty value (as xml) as the last "RoleOnProject" element
99           */
100         gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject addNewRoleOnProject();
101         
102         /**
103          * Removes the ith "RoleOnProject" element
104          */
105         void removeRoleOnProject(int i);
106         
107         /**
108          * Gets the "FormVersion" attribute
109          */
110         java.lang.String getFormVersion();
111         
112         /**
113          * Gets (as xml) the "FormVersion" attribute
114          */
115         gov.grants.apply.system.globalLibraryV20.FormVersionDataType xgetFormVersion();
116         
117         /**
118          * Sets the "FormVersion" attribute
119          */
120         void setFormVersion(java.lang.String formVersion);
121         
122         /**
123          * Sets (as xml) the "FormVersion" attribute
124          */
125         void xsetFormVersion(gov.grants.apply.system.globalLibraryV20.FormVersionDataType formVersion);
126         
127         /**
128          * An XML RoleOnProject(@http://apply.grants.gov/forms/Key_Contacts-V1.0).
129          *
130          * This is a complex type.
131          */
132         public interface RoleOnProject extends org.apache.xmlbeans.XmlObject
133         {
134             public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
135                 org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(RoleOnProject.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("roleonproject373eelemtype");
136             
137             /**
138              * Gets the "ContactProjectRole" element
139              */
140             java.lang.String getContactProjectRole();
141             
142             /**
143              * Gets (as xml) the "ContactProjectRole" element
144              */
145             gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole xgetContactProjectRole();
146             
147             /**
148              * Sets the "ContactProjectRole" element
149              */
150             void setContactProjectRole(java.lang.String contactProjectRole);
151             
152             /**
153              * Sets (as xml) the "ContactProjectRole" element
154              */
155             void xsetContactProjectRole(gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole contactProjectRole);
156             
157             /**
158              * Gets the "ContactName" element
159              */
160             gov.grants.apply.system.globalLibraryV20.HumanNameDataType getContactName();
161             
162             /**
163              * Sets the "ContactName" element
164              */
165             void setContactName(gov.grants.apply.system.globalLibraryV20.HumanNameDataType contactName);
166             
167             /**
168              * Appends and returns a new empty "ContactName" element
169              */
170             gov.grants.apply.system.globalLibraryV20.HumanNameDataType addNewContactName();
171             
172             /**
173              * Gets the "ContactTitle" element
174              */
175             java.lang.String getContactTitle();
176             
177             /**
178              * Gets (as xml) the "ContactTitle" element
179              */
180             gov.grants.apply.system.globalLibraryV20.HumanTitleDataType xgetContactTitle();
181             
182             /**
183              * True if has "ContactTitle" element
184              */
185             boolean isSetContactTitle();
186             
187             /**
188              * Sets the "ContactTitle" element
189              */
190             void setContactTitle(java.lang.String contactTitle);
191             
192             /**
193              * Sets (as xml) the "ContactTitle" element
194              */
195             void xsetContactTitle(gov.grants.apply.system.globalLibraryV20.HumanTitleDataType contactTitle);
196             
197             /**
198              * Unsets the "ContactTitle" element
199              */
200             void unsetContactTitle();
201             
202             /**
203              * Gets the "ContactOrganizationalAffiliation" element
204              */
205             java.lang.String getContactOrganizationalAffiliation();
206             
207             /**
208              * Gets (as xml) the "ContactOrganizationalAffiliation" element
209              */
210             gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType xgetContactOrganizationalAffiliation();
211             
212             /**
213              * True if has "ContactOrganizationalAffiliation" element
214              */
215             boolean isSetContactOrganizationalAffiliation();
216             
217             /**
218              * Sets the "ContactOrganizationalAffiliation" element
219              */
220             void setContactOrganizationalAffiliation(java.lang.String contactOrganizationalAffiliation);
221             
222             /**
223              * Sets (as xml) the "ContactOrganizationalAffiliation" element
224              */
225             void xsetContactOrganizationalAffiliation(gov.grants.apply.system.globalLibraryV20.OrganizationNameDataType contactOrganizationalAffiliation);
226             
227             /**
228              * Unsets the "ContactOrganizationalAffiliation" element
229              */
230             void unsetContactOrganizationalAffiliation();
231             
232             /**
233              * Gets the "ContactAddress" element
234              */
235             gov.grants.apply.system.globalLibraryV20.AddressDataType getContactAddress();
236             
237             /**
238              * Sets the "ContactAddress" element
239              */
240             void setContactAddress(gov.grants.apply.system.globalLibraryV20.AddressDataType contactAddress);
241             
242             /**
243              * Appends and returns a new empty "ContactAddress" element
244              */
245             gov.grants.apply.system.globalLibraryV20.AddressDataType addNewContactAddress();
246             
247             /**
248              * Gets the "ContactPhone" element
249              */
250             java.lang.String getContactPhone();
251             
252             /**
253              * Gets (as xml) the "ContactPhone" element
254              */
255             gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType xgetContactPhone();
256             
257             /**
258              * Sets the "ContactPhone" element
259              */
260             void setContactPhone(java.lang.String contactPhone);
261             
262             /**
263              * Sets (as xml) the "ContactPhone" element
264              */
265             void xsetContactPhone(gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType contactPhone);
266             
267             /**
268              * Gets the "ContactFax" element
269              */
270             java.lang.String getContactFax();
271             
272             /**
273              * Gets (as xml) the "ContactFax" element
274              */
275             gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType xgetContactFax();
276             
277             /**
278              * True if has "ContactFax" element
279              */
280             boolean isSetContactFax();
281             
282             /**
283              * Sets the "ContactFax" element
284              */
285             void setContactFax(java.lang.String contactFax);
286             
287             /**
288              * Sets (as xml) the "ContactFax" element
289              */
290             void xsetContactFax(gov.grants.apply.system.globalLibraryV20.TelephoneNumberDataType contactFax);
291             
292             /**
293              * Unsets the "ContactFax" element
294              */
295             void unsetContactFax();
296             
297             /**
298              * Gets the "ContactEmail" element
299              */
300             java.lang.String getContactEmail();
301             
302             /**
303              * Gets (as xml) the "ContactEmail" element
304              */
305             gov.grants.apply.system.globalLibraryV20.EmailDataType xgetContactEmail();
306             
307             /**
308              * Sets the "ContactEmail" element
309              */
310             void setContactEmail(java.lang.String contactEmail);
311             
312             /**
313              * Sets (as xml) the "ContactEmail" element
314              */
315             void xsetContactEmail(gov.grants.apply.system.globalLibraryV20.EmailDataType contactEmail);
316             
317             /**
318              * An XML ContactProjectRole(@http://apply.grants.gov/forms/Key_Contacts-V1.0).
319              *
320              * This is an atomic type that is a restriction of gov.grants.apply.forms.keyContactsV10.KeyContactsDocument$KeyContacts$RoleOnProject$ContactProjectRole.
321              */
322             public interface ContactProjectRole extends org.apache.xmlbeans.XmlString
323             {
324                 public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
325                     org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(ContactProjectRole.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("contactprojectroleeba9elemtype");
326                 
327                 /**
328                  * A factory class with static methods for creating instances
329                  * of this type.
330                  */
331                 
332                 public static final class Factory
333                 {
334                     public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole newValue(java.lang.Object obj) {
335                       return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole) type.newValue( obj ); }
336                     
337                     public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole newInstance() {
338                       return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
339                     
340                     public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole newInstance(org.apache.xmlbeans.XmlOptions options) {
341                       return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject.ContactProjectRole) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
342                     
343                     private Factory() { } // No instance of this class allowed
344                 }
345             }
346             
347             /**
348              * A factory class with static methods for creating instances
349              * of this type.
350              */
351             
352             public static final class Factory
353             {
354                 public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject newInstance() {
355                   return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
356                 
357                 public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject newInstance(org.apache.xmlbeans.XmlOptions options) {
358                   return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts.RoleOnProject) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
359                 
360                 private Factory() { } // No instance of this class allowed
361             }
362         }
363         
364         /**
365          * A factory class with static methods for creating instances
366          * of this type.
367          */
368         
369         public static final class Factory
370         {
371             public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts newInstance() {
372               return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
373             
374             public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts newInstance(org.apache.xmlbeans.XmlOptions options) {
375               return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument.KeyContacts) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
376             
377             private Factory() { } // No instance of this class allowed
378         }
379     }
380     
381     /**
382      * A factory class with static methods for creating instances
383      * of this type.
384      */
385     
386     public static final class Factory
387     {
388         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument newInstance() {
389           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
390         
391         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
392           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
393         
394         /** @param xmlAsString the string value to parse */
395         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
396           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
397         
398         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
399           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
400         
401         /** @param file the file from which to load an xml document */
402         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
403           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
404         
405         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
406           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
407         
408         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
409           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
410         
411         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
412           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
413         
414         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
415           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
416         
417         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
418           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
419         
420         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
421           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
422         
423         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
424           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
425         
426         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
427           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
428         
429         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
430           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
431         
432         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
433           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
434         
435         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
436           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
437         
438         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
439         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
440           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
441         
442         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
443         public static gov.grants.apply.forms.keyContactsV10.KeyContactsDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
444           return (gov.grants.apply.forms.keyContactsV10.KeyContactsDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
445         
446         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
447         public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
448           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
449         
450         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
451         public static org.apache.xmlbeans.xml.stream.XMLInputStream newValidatingXMLInputStream(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
452           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
453         
454         private Factory() { } // No instance of this class allowed
455     }
456 }