View Javadoc
1   /*
2    * An XML document type.
3    * Localname: UpdatePackageResult
4    * Namespace: http://apply.grants.gov/system/AgencyManagePackage-V1.0
5    * Java type: gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.agencyManagePackageV10;
10  
11  
12  /**
13   * A document containing one UpdatePackageResult(@http://apply.grants.gov/system/AgencyManagePackage-V1.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface UpdatePackageResultDocument 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(UpdatePackageResultDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("updatepackageresult4e69doctype");
21      
22      /**
23       * Gets the "UpdatePackageResult" element
24       */
25      gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult getUpdatePackageResult();
26      
27      /**
28       * Sets the "UpdatePackageResult" element
29       */
30      void setUpdatePackageResult(gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult updatePackageResult);
31      
32      /**
33       * Appends and returns a new empty "UpdatePackageResult" element
34       */
35      gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult addNewUpdatePackageResult();
36      
37      /**
38       * An XML UpdatePackageResult(@http://apply.grants.gov/system/AgencyManagePackage-V1.0).
39       *
40       * This is a complex type.
41       */
42      public interface UpdatePackageResult 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(UpdatePackageResult.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("updatepackageresult85efelemtype");
46          
47          /**
48           * Gets the "CompetitionID" element
49           */
50          java.lang.String getCompetitionID();
51          
52          /**
53           * Gets (as xml) the "CompetitionID" element
54           */
55          gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType xgetCompetitionID();
56          
57          /**
58           * True if has "CompetitionID" element
59           */
60          boolean isSetCompetitionID();
61          
62          /**
63           * Sets the "CompetitionID" element
64           */
65          void setCompetitionID(java.lang.String competitionID);
66          
67          /**
68           * Sets (as xml) the "CompetitionID" element
69           */
70          void xsetCompetitionID(gov.grants.apply.system.grantsCommonTypesV10.CompetitionIDType competitionID);
71          
72          /**
73           * Unsets the "CompetitionID" element
74           */
75          void unsetCompetitionID();
76          
77          /**
78           * Gets the "CFDANumber" element
79           */
80          java.lang.String getCFDANumber();
81          
82          /**
83           * Gets (as xml) the "CFDANumber" element
84           */
85          gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType xgetCFDANumber();
86          
87          /**
88           * True if has "CFDANumber" element
89           */
90          boolean isSetCFDANumber();
91          
92          /**
93           * Sets the "CFDANumber" element
94           */
95          void setCFDANumber(java.lang.String cfdaNumber);
96          
97          /**
98           * Sets (as xml) the "CFDANumber" element
99           */
100         void xsetCFDANumber(gov.grants.apply.system.grantsCommonTypesV10.CFDANumberType cfdaNumber);
101         
102         /**
103          * Unsets the "CFDANumber" element
104          */
105         void unsetCFDANumber();
106         
107         /**
108          * Gets the "NotificationCount" element
109          */
110         int getNotificationCount();
111         
112         /**
113          * Gets (as xml) the "NotificationCount" element
114          */
115         org.apache.xmlbeans.XmlInt xgetNotificationCount();
116         
117         /**
118          * True if has "NotificationCount" element
119          */
120         boolean isSetNotificationCount();
121         
122         /**
123          * Sets the "NotificationCount" element
124          */
125         void setNotificationCount(int notificationCount);
126         
127         /**
128          * Sets (as xml) the "NotificationCount" element
129          */
130         void xsetNotificationCount(org.apache.xmlbeans.XmlInt notificationCount);
131         
132         /**
133          * Unsets the "NotificationCount" element
134          */
135         void unsetNotificationCount();
136         
137         /**
138          * Gets the "ErrorDetails" element
139          */
140         gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails getErrorDetails();
141         
142         /**
143          * True if has "ErrorDetails" element
144          */
145         boolean isSetErrorDetails();
146         
147         /**
148          * Sets the "ErrorDetails" element
149          */
150         void setErrorDetails(gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails errorDetails);
151         
152         /**
153          * Appends and returns a new empty "ErrorDetails" element
154          */
155         gov.grants.apply.system.grantsCommonElementsV10.ErrorDetailsDocument.ErrorDetails addNewErrorDetails();
156         
157         /**
158          * Unsets the "ErrorDetails" element
159          */
160         void unsetErrorDetails();
161         
162         /**
163          * A factory class with static methods for creating instances
164          * of this type.
165          */
166         
167         public static final class Factory
168         {
169             public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult newInstance() {
170               return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
171             
172             public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult newInstance(org.apache.xmlbeans.XmlOptions options) {
173               return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument.UpdatePackageResult) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
174             
175             private Factory() { } // No instance of this class allowed
176         }
177     }
178     
179     /**
180      * A factory class with static methods for creating instances
181      * of this type.
182      */
183     
184     public static final class Factory
185     {
186         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument newInstance() {
187           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
188         
189         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
190           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
191         
192         /** @param xmlAsString the string value to parse */
193         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
194           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
195         
196         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
197           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
198         
199         /** @param file the file from which to load an xml document */
200         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
201           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
202         
203         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
204           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
205         
206         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
207           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
208         
209         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
210           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
211         
212         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
213           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
214         
215         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
216           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
217         
218         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
219           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
220         
221         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
222           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
223         
224         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
225           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
226         
227         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
228           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
229         
230         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
231           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
232         
233         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
234           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
235         
236         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
237         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
238           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
239         
240         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
241         public static gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
242           return (gov.grants.apply.system.agencyManagePackageV10.UpdatePackageResultDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
243         
244         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
245         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 {
246           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
247         
248         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
249         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 {
250           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
251         
252         private Factory() { } // No instance of this class allowed
253     }
254 }