View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Address
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.AddressDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10;
10  
11  
12  /**
13   * A document containing one Address(@http://apply.grants.gov/forms/SF424-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface AddressDocument 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(AddressDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("addressc9f2doctype");
21      
22      /**
23       * Gets the "Address" element
24       */
25      gov.grants.apply.forms.sf424V10.AddressDocument.Address getAddress();
26      
27      /**
28       * Sets the "Address" element
29       */
30      void setAddress(gov.grants.apply.forms.sf424V10.AddressDocument.Address address);
31      
32      /**
33       * Appends and returns a new empty "Address" element
34       */
35      gov.grants.apply.forms.sf424V10.AddressDocument.Address addNewAddress();
36      
37      /**
38       * An XML Address(@http://apply.grants.gov/forms/SF424-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface Address 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(Address.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("address91b2elemtype");
46          
47          /**
48           * Gets the "Street1" element
49           */
50          java.lang.String getStreet1();
51          
52          /**
53           * Gets (as xml) the "Street1" element
54           */
55          gov.grants.apply.system.globalV10.StringMin1Max55Type xgetStreet1();
56          
57          /**
58           * Sets the "Street1" element
59           */
60          void setStreet1(java.lang.String street1);
61          
62          /**
63           * Sets (as xml) the "Street1" element
64           */
65          void xsetStreet1(gov.grants.apply.system.globalV10.StringMin1Max55Type street1);
66          
67          /**
68           * Gets the "Street2" element
69           */
70          java.lang.String getStreet2();
71          
72          /**
73           * Gets (as xml) the "Street2" element
74           */
75          gov.grants.apply.system.globalV10.StringMin1Max55Type xgetStreet2();
76          
77          /**
78           * True if has "Street2" element
79           */
80          boolean isSetStreet2();
81          
82          /**
83           * Sets the "Street2" element
84           */
85          void setStreet2(java.lang.String street2);
86          
87          /**
88           * Sets (as xml) the "Street2" element
89           */
90          void xsetStreet2(gov.grants.apply.system.globalV10.StringMin1Max55Type street2);
91          
92          /**
93           * Unsets the "Street2" element
94           */
95          void unsetStreet2();
96          
97          /**
98           * Gets the "City" element
99           */
100         java.lang.String getCity();
101         
102         /**
103          * Gets (as xml) the "City" element
104          */
105         gov.grants.apply.system.globalV10.StringMin1Max35Type xgetCity();
106         
107         /**
108          * Sets the "City" element
109          */
110         void setCity(java.lang.String city);
111         
112         /**
113          * Sets (as xml) the "City" element
114          */
115         void xsetCity(gov.grants.apply.system.globalV10.StringMin1Max35Type city);
116         
117         /**
118          * Gets the "County" element
119          */
120         java.lang.String getCounty();
121         
122         /**
123          * Gets (as xml) the "County" element
124          */
125         gov.grants.apply.system.globalV10.StringMin1Max30Type xgetCounty();
126         
127         /**
128          * True if has "County" element
129          */
130         boolean isSetCounty();
131         
132         /**
133          * Sets the "County" element
134          */
135         void setCounty(java.lang.String county);
136         
137         /**
138          * Sets (as xml) the "County" element
139          */
140         void xsetCounty(gov.grants.apply.system.globalV10.StringMin1Max30Type county);
141         
142         /**
143          * Unsets the "County" element
144          */
145         void unsetCounty();
146         
147         /**
148          * Gets the "StateCode" element
149          */
150         java.lang.String getStateCode();
151         
152         /**
153          * Gets (as xml) the "StateCode" element
154          */
155         gov.grants.apply.system.globalV10.StringMin1Max2Type xgetStateCode();
156         
157         /**
158          * True if has "StateCode" element
159          */
160         boolean isSetStateCode();
161         
162         /**
163          * Sets the "StateCode" element
164          */
165         void setStateCode(java.lang.String stateCode);
166         
167         /**
168          * Sets (as xml) the "StateCode" element
169          */
170         void xsetStateCode(gov.grants.apply.system.globalV10.StringMin1Max2Type stateCode);
171         
172         /**
173          * Unsets the "StateCode" element
174          */
175         void unsetStateCode();
176         
177         /**
178          * Gets the "ZipCode" element
179          */
180         java.lang.String getZipCode();
181         
182         /**
183          * Gets (as xml) the "ZipCode" element
184          */
185         gov.grants.apply.system.globalV10.StringMin1Max15Type xgetZipCode();
186         
187         /**
188          * True if has "ZipCode" element
189          */
190         boolean isSetZipCode();
191         
192         /**
193          * Sets the "ZipCode" element
194          */
195         void setZipCode(java.lang.String zipCode);
196         
197         /**
198          * Sets (as xml) the "ZipCode" element
199          */
200         void xsetZipCode(gov.grants.apply.system.globalV10.StringMin1Max15Type zipCode);
201         
202         /**
203          * Unsets the "ZipCode" element
204          */
205         void unsetZipCode();
206         
207         /**
208          * Gets the "Country" element
209          */
210         gov.grants.apply.system.universalCodesV10.CountryCodeType.Enum getCountry();
211         
212         /**
213          * Gets (as xml) the "Country" element
214          */
215         gov.grants.apply.system.universalCodesV10.CountryCodeType xgetCountry();
216         
217         /**
218          * True if has "Country" element
219          */
220         boolean isSetCountry();
221         
222         /**
223          * Sets the "Country" element
224          */
225         void setCountry(gov.grants.apply.system.universalCodesV10.CountryCodeType.Enum country);
226         
227         /**
228          * Sets (as xml) the "Country" element
229          */
230         void xsetCountry(gov.grants.apply.system.universalCodesV10.CountryCodeType country);
231         
232         /**
233          * Unsets the "Country" element
234          */
235         void unsetCountry();
236         
237         /**
238          * A factory class with static methods for creating instances
239          * of this type.
240          */
241         
242         public static final class Factory
243         {
244             public static gov.grants.apply.forms.sf424V10.AddressDocument.Address newInstance() {
245               return (gov.grants.apply.forms.sf424V10.AddressDocument.Address) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
246             
247             public static gov.grants.apply.forms.sf424V10.AddressDocument.Address newInstance(org.apache.xmlbeans.XmlOptions options) {
248               return (gov.grants.apply.forms.sf424V10.AddressDocument.Address) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
249             
250             private Factory() { } // No instance of this class allowed
251         }
252     }
253     
254     /**
255      * A factory class with static methods for creating instances
256      * of this type.
257      */
258     
259     public static final class Factory
260     {
261         public static gov.grants.apply.forms.sf424V10.AddressDocument newInstance() {
262           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
263         
264         public static gov.grants.apply.forms.sf424V10.AddressDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
265           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
266         
267         /** @param xmlAsString the string value to parse */
268         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
269           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
270         
271         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
272           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
273         
274         /** @param file the file from which to load an xml document */
275         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
276           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
277         
278         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
279           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
280         
281         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
282           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
283         
284         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
285           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
286         
287         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
288           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
289         
290         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
291           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
292         
293         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
294           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
295         
296         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
297           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
298         
299         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
300           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
301         
302         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
303           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
304         
305         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
306           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
307         
308         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
309           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
310         
311         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
312         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
313           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
314         
315         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
316         public static gov.grants.apply.forms.sf424V10.AddressDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
317           return (gov.grants.apply.forms.sf424V10.AddressDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
318         
319         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
320         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 {
321           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
322         
323         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
324         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 {
325           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
326         
327         private Factory() { } // No instance of this class allowed
328     }
329 }