View Javadoc
1   /*
2    * An XML document type.
3    * Localname: FundingActivityCategory
4    * Namespace: http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0
5    * Java type: gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package gov.grants.apply.system.grantsFundingSynopsisV20;
10  
11  
12  /**
13   * A document containing one FundingActivityCategory(@http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0) element.
14   *
15   * This is a complex type.
16   */
17  public interface FundingActivityCategoryDocument 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(FundingActivityCategoryDocument.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("fundingactivitycategory327cdoctype");
21      
22      /**
23       * Gets the "FundingActivityCategory" element
24       */
25      gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory.Enum getFundingActivityCategory();
26      
27      /**
28       * Gets (as xml) the "FundingActivityCategory" element
29       */
30      gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory xgetFundingActivityCategory();
31      
32      /**
33       * Sets the "FundingActivityCategory" element
34       */
35      void setFundingActivityCategory(gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory.Enum fundingActivityCategory);
36      
37      /**
38       * Sets (as xml) the "FundingActivityCategory" element
39       */
40      void xsetFundingActivityCategory(gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory fundingActivityCategory);
41      
42      /**
43       * An XML FundingActivityCategory(@http://apply.grants.gov/system/GrantsFundingSynopsis-V2.0).
44       *
45       * This is an atomic type that is a restriction of gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument$FundingActivityCategory.
46       */
47      public interface FundingActivityCategory extends org.apache.xmlbeans.XmlString
48      {
49          public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
50              org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(FundingActivityCategory.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.sEAFA503253B0B59D5509A37AD48F2343").resolveHandle("fundingactivitycategory0212elemtype");
51          
52          org.apache.xmlbeans.StringEnumAbstractBase enumValue();
53          void set(org.apache.xmlbeans.StringEnumAbstractBase e);
54          
55          static final Enum RA = Enum.forString("RA");
56          static final Enum AG = Enum.forString("AG");
57          static final Enum AR = Enum.forString("AR");
58          static final Enum BC = Enum.forString("BC");
59          static final Enum CD = Enum.forString("CD");
60          static final Enum CP = Enum.forString("CP");
61          static final Enum DPR = Enum.forString("DPR");
62          static final Enum ED = Enum.forString("ED");
63          static final Enum ELT = Enum.forString("ELT");
64          static final Enum EN = Enum.forString("EN");
65          static final Enum ENV = Enum.forString("ENV");
66          static final Enum FN = Enum.forString("FN");
67          static final Enum HL = Enum.forString("HL");
68          static final Enum HO = Enum.forString("HO");
69          static final Enum HU = Enum.forString("HU");
70          static final Enum IS = Enum.forString("IS");
71          static final Enum ISS = Enum.forString("ISS");
72          static final Enum LJL = Enum.forString("LJL");
73          static final Enum NR = Enum.forString("NR");
74          static final Enum O = Enum.forString("O");
75          static final Enum RD = Enum.forString("RD");
76          static final Enum ST = Enum.forString("ST");
77          static final Enum T = Enum.forString("T");
78          
79          static final int INT_RA = Enum.INT_RA;
80          static final int INT_AG = Enum.INT_AG;
81          static final int INT_AR = Enum.INT_AR;
82          static final int INT_BC = Enum.INT_BC;
83          static final int INT_CD = Enum.INT_CD;
84          static final int INT_CP = Enum.INT_CP;
85          static final int INT_DPR = Enum.INT_DPR;
86          static final int INT_ED = Enum.INT_ED;
87          static final int INT_ELT = Enum.INT_ELT;
88          static final int INT_EN = Enum.INT_EN;
89          static final int INT_ENV = Enum.INT_ENV;
90          static final int INT_FN = Enum.INT_FN;
91          static final int INT_HL = Enum.INT_HL;
92          static final int INT_HO = Enum.INT_HO;
93          static final int INT_HU = Enum.INT_HU;
94          static final int INT_IS = Enum.INT_IS;
95          static final int INT_ISS = Enum.INT_ISS;
96          static final int INT_LJL = Enum.INT_LJL;
97          static final int INT_NR = Enum.INT_NR;
98          static final int INT_O = Enum.INT_O;
99          static final int INT_RD = Enum.INT_RD;
100         static final int INT_ST = Enum.INT_ST;
101         static final int INT_T = Enum.INT_T;
102         
103         /**
104          * Enumeration value class for gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument$FundingActivityCategory.
105          * These enum values can be used as follows:
106          * <pre>
107          * enum.toString(); // returns the string value of the enum
108          * enum.intValue(); // returns an int value, useful for switches
109          * // e.g., case Enum.INT_RA
110          * Enum.forString(s); // returns the enum value for a string
111          * Enum.forInt(i); // returns the enum value for an int
112          * </pre>
113          * Enumeration objects are immutable singleton objects that
114          * can be compared using == object equality. They have no
115          * public constructor. See the constants defined within this
116          * class for all the valid values.
117          */
118         static final class Enum extends org.apache.xmlbeans.StringEnumAbstractBase
119         {
120             /**
121              * Returns the enum value for a string, or null if none.
122              */
123             public static Enum forString(java.lang.String s)
124                 { return (Enum)table.forString(s); }
125             /**
126              * Returns the enum value corresponding to an int, or null if none.
127              */
128             public static Enum forInt(int i)
129                 { return (Enum)table.forInt(i); }
130             
131             private Enum(java.lang.String s, int i)
132                 { super(s, i); }
133             
134             static final int INT_RA = 1;
135             static final int INT_AG = 2;
136             static final int INT_AR = 3;
137             static final int INT_BC = 4;
138             static final int INT_CD = 5;
139             static final int INT_CP = 6;
140             static final int INT_DPR = 7;
141             static final int INT_ED = 8;
142             static final int INT_ELT = 9;
143             static final int INT_EN = 10;
144             static final int INT_ENV = 11;
145             static final int INT_FN = 12;
146             static final int INT_HL = 13;
147             static final int INT_HO = 14;
148             static final int INT_HU = 15;
149             static final int INT_IS = 16;
150             static final int INT_ISS = 17;
151             static final int INT_LJL = 18;
152             static final int INT_NR = 19;
153             static final int INT_O = 20;
154             static final int INT_RD = 21;
155             static final int INT_ST = 22;
156             static final int INT_T = 23;
157             
158             public static final org.apache.xmlbeans.StringEnumAbstractBase.Table table =
159                 new org.apache.xmlbeans.StringEnumAbstractBase.Table
160             (
161                 new Enum[]
162                 {
163                     new Enum("RA", INT_RA),
164                     new Enum("AG", INT_AG),
165                     new Enum("AR", INT_AR),
166                     new Enum("BC", INT_BC),
167                     new Enum("CD", INT_CD),
168                     new Enum("CP", INT_CP),
169                     new Enum("DPR", INT_DPR),
170                     new Enum("ED", INT_ED),
171                     new Enum("ELT", INT_ELT),
172                     new Enum("EN", INT_EN),
173                     new Enum("ENV", INT_ENV),
174                     new Enum("FN", INT_FN),
175                     new Enum("HL", INT_HL),
176                     new Enum("HO", INT_HO),
177                     new Enum("HU", INT_HU),
178                     new Enum("IS", INT_IS),
179                     new Enum("ISS", INT_ISS),
180                     new Enum("LJL", INT_LJL),
181                     new Enum("NR", INT_NR),
182                     new Enum("O", INT_O),
183                     new Enum("RD", INT_RD),
184                     new Enum("ST", INT_ST),
185                     new Enum("T", INT_T),
186                 }
187             );
188             private static final long serialVersionUID = 1L;
189             private java.lang.Object readResolve() { return forInt(intValue()); } 
190         }
191         
192         /**
193          * A factory class with static methods for creating instances
194          * of this type.
195          */
196         
197         public static final class Factory
198         {
199             public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory newValue(java.lang.Object obj) {
200               return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory) type.newValue( obj ); }
201             
202             public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory newInstance() {
203               return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
204             
205             public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory newInstance(org.apache.xmlbeans.XmlOptions options) {
206               return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument.FundingActivityCategory) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
207             
208             private Factory() { } // No instance of this class allowed
209         }
210     }
211     
212     /**
213      * A factory class with static methods for creating instances
214      * of this type.
215      */
216     
217     public static final class Factory
218     {
219         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument newInstance() {
220           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
221         
222         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument newInstance(org.apache.xmlbeans.XmlOptions options) {
223           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
224         
225         /** @param xmlAsString the string value to parse */
226         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
227           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
228         
229         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
230           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
231         
232         /** @param file the file from which to load an xml document */
233         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
234           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
235         
236         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
237           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
238         
239         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
240           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
241         
242         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
243           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
244         
245         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
246           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
247         
248         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
249           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
250         
251         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
252           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
253         
254         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
255           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
256         
257         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
258           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
259         
260         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
261           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
262         
263         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
264           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
265         
266         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
267           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
268         
269         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
270         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
271           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
272         
273         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
274         public static gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
275           return (gov.grants.apply.system.grantsFundingSynopsisV20.FundingActivityCategoryDocument) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
276         
277         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
278         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 {
279           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
280         
281         /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
282         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 {
283           return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
284         
285         private Factory() { } // No instance of this class allowed
286     }
287 }