View Javadoc
1   /*
2    * An XML document type.
3    * Localname: Project
4    * Namespace: http://apply.grants.gov/forms/SF424-V1.0
5    * Java type: gov.grants.apply.forms.sf424V10.ProjectDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.forms.sf424V10;
10  
11  
12  /**
13   * A document containing one Project(@http://apply.grants.gov/forms/SF424-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface ProjectDocument 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(ProjectDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("projecta86ddoctype");
21      
22      /**
23       * Gets the "Project" element
24       */
25      gov.grants.apply.forms.sf424V10.ProjectDocument.Project getProject();
26      
27      /**
28       * Sets the "Project" element
29       */
30      void setProject(gov.grants.apply.forms.sf424V10.ProjectDocument.Project project);
31      
32      /**
33       * Appends and returns a new empty "Project" element
34       */
35      gov.grants.apply.forms.sf424V10.ProjectDocument.Project addNewProject();
36      
37      /**
38       * An XML Project(@http://apply.grants.gov/forms/SF424-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface Project 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(Project.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("projectb0e8elemtype");
46          
47          /**
48           * Gets the "ProjectTitle" element
49           */
50          java.lang.String getProjectTitle();
51          
52          /**
53           * Gets (as xml) the "ProjectTitle" element
54           */
55          gov.grants.apply.system.globalV10.StringMin1Max200Type xgetProjectTitle();
56          
57          /**
58           * Sets the "ProjectTitle" element
59           */
60          void setProjectTitle(java.lang.String projectTitle);
61          
62          /**
63           * Sets (as xml) the "ProjectTitle" element
64           */
65          void xsetProjectTitle(gov.grants.apply.system.globalV10.StringMin1Max200Type projectTitle);
66          
67          /**
68           * Gets the "Location" element
69           */
70          java.lang.String getLocation();
71          
72          /**
73           * Gets (as xml) the "Location" element
74           */
75          gov.grants.apply.system.globalV10.StringMin1Max45Type xgetLocation();
76          
77          /**
78           * True if has "Location" element
79           */
80          boolean isSetLocation();
81          
82          /**
83           * Sets the "Location" element
84           */
85          void setLocation(java.lang.String location);
86          
87          /**
88           * Sets (as xml) the "Location" element
89           */
90          void xsetLocation(gov.grants.apply.system.globalV10.StringMin1Max45Type location);
91          
92          /**
93           * Unsets the "Location" element
94           */
95          void unsetLocation();
96          
97          /**
98           * Gets the "ProposedStartDate" element
99           */
100         java.util.Calendar getProposedStartDate();
101         
102         /**
103          * Gets (as xml) the "ProposedStartDate" element
104          */
105         org.apache.xmlbeans.XmlDate xgetProposedStartDate();
106         
107         /**
108          * Sets the "ProposedStartDate" element
109          */
110         void setProposedStartDate(java.util.Calendar proposedStartDate);
111         
112         /**
113          * Sets (as xml) the "ProposedStartDate" element
114          */
115         void xsetProposedStartDate(org.apache.xmlbeans.XmlDate proposedStartDate);
116         
117         /**
118          * Gets the "ProposedEndDate" element
119          */
120         java.util.Calendar getProposedEndDate();
121         
122         /**
123          * Gets (as xml) the "ProposedEndDate" element
124          */
125         org.apache.xmlbeans.XmlDate xgetProposedEndDate();
126         
127         /**
128          * Sets the "ProposedEndDate" element
129          */
130         void setProposedEndDate(java.util.Calendar proposedEndDate);
131         
132         /**
133          * Sets (as xml) the "ProposedEndDate" element
134          */
135         void xsetProposedEndDate(org.apache.xmlbeans.XmlDate proposedEndDate);
136         
137         /**
138          * Gets the "CongressionalDistrict" element
139          */
140         java.lang.String getCongressionalDistrict();
141         
142         /**
143          * Gets (as xml) the "CongressionalDistrict" element
144          */
145         gov.grants.apply.system.globalV10.StringMin1Max30Type xgetCongressionalDistrict();
146         
147         /**
148          * True if has "CongressionalDistrict" element
149          */
150         boolean isSetCongressionalDistrict();
151         
152         /**
153          * Sets the "CongressionalDistrict" element
154          */
155         void setCongressionalDistrict(java.lang.String congressionalDistrict);
156         
157         /**
158          * Sets (as xml) the "CongressionalDistrict" element
159          */
160         void xsetCongressionalDistrict(gov.grants.apply.system.globalV10.StringMin1Max30Type congressionalDistrict);
161         
162         /**
163          * Unsets the "CongressionalDistrict" element
164          */
165         void unsetCongressionalDistrict();
166         
167         /**
168          * A factory class with static methods for creating instances
169          * of this type.
170          */
171         
172         public static final class Factory
173         {
174             public static gov.grants.apply.forms.sf424V10.ProjectDocument.Project newInstance() {
175               return (gov.grants.apply.forms.sf424V10.ProjectDocument.Project) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
176             
177             public static gov.grants.apply.forms.sf424V10.ProjectDocument.Project newInstance(org.apache.xmlbeans.XmlOptions options) {
178               return (gov.grants.apply.forms.sf424V10.ProjectDocument.Project) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
179             
180             private Factory() { } // No instance of this class allowed
181         }
182     }
183     
184     /**
185      * A factory class with static methods for creating instances
186      * of this type.
187      */
188     
189     public static final class Factory
190     {
191         public static gov.grants.apply.forms.sf424V10.ProjectDocument newInstance() {
192           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
193         
194         public static gov.grants.apply.forms.sf424V10.ProjectDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
195           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
196         
197         /** @param xmlAsString the string value to parse */
198         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
199           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
200         
201         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
202           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
203         
204         /** @param file the file from which to load an xml document */
205         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
206           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
207         
208         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
209           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
210         
211         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
212           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
213         
214         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
215           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
216         
217         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
218           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
219         
220         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
221           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
222         
223         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
224           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
225         
226         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
227           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
228         
229         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
230           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
231         
232         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
233           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
234         
235         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
236           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
237         
238         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
239           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
240         
241         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
242         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
243           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
244         
245         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
246         public static gov.grants.apply.forms.sf424V10.ProjectDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
247           return (gov.grants.apply.forms.sf424V10.ProjectDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
248         
249         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
250         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 {
251           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
252         
253         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
254         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 {
255           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
256         
257         private Factory() { } // No instance of this class allowed
258     }
259 }