View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Contact
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.ContactDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10;
10  
11  
12  /**
13   * A document containing one Contact(@http://apply.grants.gov/forms/SF424-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface ContactDocument 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(ContactDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("contact6346doctype");
21      
22      /**
23       * Gets the "Contact" element
24       */
25      gov.grants.apply.forms.sf424V10.ContactDocument.Contact getContact();
26      
27      /**
28       * Sets the "Contact" element
29       */
30      void setContact(gov.grants.apply.forms.sf424V10.ContactDocument.Contact contact);
31      
32      /**
33       * Appends and returns a new empty "Contact" element
34       */
35      gov.grants.apply.forms.sf424V10.ContactDocument.Contact addNewContact();
36      
37      /**
38       * An XML Contact(@http://apply.grants.gov/forms/SF424-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface Contact 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(Contact.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("contact2b5aelemtype");
46          
47          /**
48           * Gets the "NamePrefix" element
49           */
50          java.lang.String getNamePrefix();
51          
52          /**
53           * Gets (as xml) the "NamePrefix" element
54           */
55          gov.grants.apply.system.globalV10.StringMin1Max10Type xgetNamePrefix();
56          
57          /**
58           * True if has "NamePrefix" element
59           */
60          boolean isSetNamePrefix();
61          
62          /**
63           * Sets the "NamePrefix" element
64           */
65          void setNamePrefix(java.lang.String namePrefix);
66          
67          /**
68           * Sets (as xml) the "NamePrefix" element
69           */
70          void xsetNamePrefix(gov.grants.apply.system.globalV10.StringMin1Max10Type namePrefix);
71          
72          /**
73           * Unsets the "NamePrefix" element
74           */
75          void unsetNamePrefix();
76          
77          /**
78           * Gets the "GivenName1" element
79           */
80          java.lang.String getGivenName1();
81          
82          /**
83           * Gets (as xml) the "GivenName1" element
84           */
85          gov.grants.apply.system.globalV10.StringMin1Max35Type xgetGivenName1();
86          
87          /**
88           * True if has "GivenName1" element
89           */
90          boolean isSetGivenName1();
91          
92          /**
93           * Sets the "GivenName1" element
94           */
95          void setGivenName1(java.lang.String givenName1);
96          
97          /**
98           * Sets (as xml) the "GivenName1" element
99           */
100         void xsetGivenName1(gov.grants.apply.system.globalV10.StringMin1Max35Type givenName1);
101         
102         /**
103          * Unsets the "GivenName1" element
104          */
105         void unsetGivenName1();
106         
107         /**
108          * Gets the "GivenName2" element
109          */
110         java.lang.String getGivenName2();
111         
112         /**
113          * Gets (as xml) the "GivenName2" element
114          */
115         gov.grants.apply.system.globalV10.StringMin1Max25Type xgetGivenName2();
116         
117         /**
118          * True if has "GivenName2" element
119          */
120         boolean isSetGivenName2();
121         
122         /**
123          * Sets the "GivenName2" element
124          */
125         void setGivenName2(java.lang.String givenName2);
126         
127         /**
128          * Sets (as xml) the "GivenName2" element
129          */
130         void xsetGivenName2(gov.grants.apply.system.globalV10.StringMin1Max25Type givenName2);
131         
132         /**
133          * Unsets the "GivenName2" element
134          */
135         void unsetGivenName2();
136         
137         /**
138          * Gets the "FamilyName" element
139          */
140         java.lang.String getFamilyName();
141         
142         /**
143          * Gets (as xml) the "FamilyName" element
144          */
145         gov.grants.apply.system.globalV10.StringMin1Max60Type xgetFamilyName();
146         
147         /**
148          * True if has "FamilyName" element
149          */
150         boolean isSetFamilyName();
151         
152         /**
153          * Sets the "FamilyName" element
154          */
155         void setFamilyName(java.lang.String familyName);
156         
157         /**
158          * Sets (as xml) the "FamilyName" element
159          */
160         void xsetFamilyName(gov.grants.apply.system.globalV10.StringMin1Max60Type familyName);
161         
162         /**
163          * Unsets the "FamilyName" element
164          */
165         void unsetFamilyName();
166         
167         /**
168          * Gets the "NameSuffix" element
169          */
170         java.lang.String getNameSuffix();
171         
172         /**
173          * Gets (as xml) the "NameSuffix" element
174          */
175         gov.grants.apply.system.globalV10.StringMin1Max10Type xgetNameSuffix();
176         
177         /**
178          * True if has "NameSuffix" element
179          */
180         boolean isSetNameSuffix();
181         
182         /**
183          * Sets the "NameSuffix" element
184          */
185         void setNameSuffix(java.lang.String nameSuffix);
186         
187         /**
188          * Sets (as xml) the "NameSuffix" element
189          */
190         void xsetNameSuffix(gov.grants.apply.system.globalV10.StringMin1Max10Type nameSuffix);
191         
192         /**
193          * Unsets the "NameSuffix" element
194          */
195         void unsetNameSuffix();
196         
197         /**
198          * Gets the "TelephoneNumber" element
199          */
200         java.lang.String getTelephoneNumber();
201         
202         /**
203          * Gets (as xml) the "TelephoneNumber" element
204          */
205         gov.grants.apply.system.globalV10.StringMin1Max25Type xgetTelephoneNumber();
206         
207         /**
208          * True if has "TelephoneNumber" element
209          */
210         boolean isSetTelephoneNumber();
211         
212         /**
213          * Sets the "TelephoneNumber" element
214          */
215         void setTelephoneNumber(java.lang.String telephoneNumber);
216         
217         /**
218          * Sets (as xml) the "TelephoneNumber" element
219          */
220         void xsetTelephoneNumber(gov.grants.apply.system.globalV10.StringMin1Max25Type telephoneNumber);
221         
222         /**
223          * Unsets the "TelephoneNumber" element
224          */
225         void unsetTelephoneNumber();
226         
227         /**
228          * Gets the "FaxNumber" element
229          */
230         java.lang.String getFaxNumber();
231         
232         /**
233          * Gets (as xml) the "FaxNumber" element
234          */
235         gov.grants.apply.system.globalV10.StringMin1Max25Type xgetFaxNumber();
236         
237         /**
238          * True if has "FaxNumber" element
239          */
240         boolean isSetFaxNumber();
241         
242         /**
243          * Sets the "FaxNumber" element
244          */
245         void setFaxNumber(java.lang.String faxNumber);
246         
247         /**
248          * Sets (as xml) the "FaxNumber" element
249          */
250         void xsetFaxNumber(gov.grants.apply.system.globalV10.StringMin1Max25Type faxNumber);
251         
252         /**
253          * Unsets the "FaxNumber" element
254          */
255         void unsetFaxNumber();
256         
257         /**
258          * Gets the "ElectronicMailAddress" element
259          */
260         java.lang.String getElectronicMailAddress();
261         
262         /**
263          * Gets (as xml) the "ElectronicMailAddress" element
264          */
265         gov.grants.apply.system.globalV10.StringMin1Max80Type xgetElectronicMailAddress();
266         
267         /**
268          * True if has "ElectronicMailAddress" element
269          */
270         boolean isSetElectronicMailAddress();
271         
272         /**
273          * Sets the "ElectronicMailAddress" element
274          */
275         void setElectronicMailAddress(java.lang.String electronicMailAddress);
276         
277         /**
278          * Sets (as xml) the "ElectronicMailAddress" element
279          */
280         void xsetElectronicMailAddress(gov.grants.apply.system.globalV10.StringMin1Max80Type electronicMailAddress);
281         
282         /**
283          * Unsets the "ElectronicMailAddress" element
284          */
285         void unsetElectronicMailAddress();
286         
287         /**
288          * A factory class with static methods for creating instances
289          * of this type.
290          */
291         
292         public static final class Factory
293         {
294             public static gov.grants.apply.forms.sf424V10.ContactDocument.Contact newInstance() {
295               return (gov.grants.apply.forms.sf424V10.ContactDocument.Contact) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
296             
297             public static gov.grants.apply.forms.sf424V10.ContactDocument.Contact newInstance(org.apache.xmlbeans.XmlOptions options) {
298               return (gov.grants.apply.forms.sf424V10.ContactDocument.Contact) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
299             
300             private Factory() { } // No instance of this class allowed
301         }
302     }
303     
304     /**
305      * A factory class with static methods for creating instances
306      * of this type.
307      */
308     
309     public static final class Factory
310     {
311         public static gov.grants.apply.forms.sf424V10.ContactDocument newInstance() {
312           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
313         
314         public static gov.grants.apply.forms.sf424V10.ContactDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
315           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
316         
317         /** @param xmlAsString the string value to parse */
318         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
319           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
320         
321         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
322           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
323         
324         /** @param file the file from which to load an xml document */
325         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
326           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
327         
328         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
329           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
330         
331         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
332           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
333         
334         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
335           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
336         
337         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
338           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
339         
340         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
341           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
342         
343         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
344           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
345         
346         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
347           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
348         
349         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
350           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
351         
352         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
353           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
354         
355         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
356           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
357         
358         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
359           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
360         
361         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
362         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
363           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
364         
365         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
366         public static gov.grants.apply.forms.sf424V10.ContactDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
367           return (gov.grants.apply.forms.sf424V10.ContactDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
368         
369         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
370         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 {
371           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
372         
373         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
374         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 {
375           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
376         
377         private Factory() { } // No instance of this class allowed
378     }
379 }