Samples JDK
Items.java
1 /*
2  * XML Type: Items
3  * Namespace: http://www.freemindcafe.com/purchase3
4  * Java type: com.freemindcafe.purchase3.Items
5  *
6  * Automatically generated - do not modify.
7  */
8 package com.freemindcafe.purchase3;
9 
10 
11 /**
12  * An XML Items(@http://www.freemindcafe.com/purchase3).
13  *
14  * This is a complex type.
15  */
16 public interface Items extends org.apache.xmlbeans.XmlObject
17 {
18  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
19  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Items.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3415DA2FD2301C0CF5A1A9BAB0E726C4").resolveHandle("items8591type");
20 
21  /**
22  * Gets a List of "item" elements
23  */
24  java.util.List<com.freemindcafe.purchase3.Items.Item> getItemList();
25 
26  /**
27  * Gets array of all "item" elements
28  * @deprecated
29  */
30  @Deprecated
32 
33  /**
34  * Gets ith "item" element
35  */
37 
38  /**
39  * Returns number of "item" element
40  */
41  int sizeOfItemArray();
42 
43  /**
44  * Sets array of all "item" element
45  */
46  void setItemArray(com.freemindcafe.purchase3.Items.Item[] itemArray);
47 
48  /**
49  * Sets ith "item" element
50  */
51  void setItemArray(int i, com.freemindcafe.purchase3.Items.Item item);
52 
53  /**
54  * Inserts and returns a new empty value (as xml) as the ith "item" element
55  */
57 
58  /**
59  * Appends and returns a new empty value (as xml) as the last "item" element
60  */
62 
63  /**
64  * Removes the ith "item" element
65  */
66  void removeItem(int i);
67 
68  /**
69  * An XML item(@http://www.freemindcafe.com/purchase3).
70  *
71  * This is a complex type.
72  */
73  public interface Item extends org.apache.xmlbeans.XmlObject
74  {
75  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
76  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Item.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3415DA2FD2301C0CF5A1A9BAB0E726C4").resolveHandle("iteme300elemtype");
77 
78  /**
79  * Gets the "productName" element
80  */
81  java.lang.String getProductName();
82 
83  /**
84  * Gets (as xml) the "productName" element
85  */
86  org.apache.xmlbeans.XmlString xgetProductName();
87 
88  /**
89  * Sets the "productName" element
90  */
91  void setProductName(java.lang.String productName);
92 
93  /**
94  * Sets (as xml) the "productName" element
95  */
96  void xsetProductName(org.apache.xmlbeans.XmlString productName);
97 
98  /**
99  * Gets the "quantity" element
100  */
101  int getQuantity();
102 
103  /**
104  * Gets (as xml) the "quantity" element
105  */
107 
108  /**
109  * Sets the "quantity" element
110  */
111  void setQuantity(int quantity);
112 
113  /**
114  * Sets (as xml) the "quantity" element
115  */
117 
118  /**
119  * Gets the "USPrice" element
120  */
121  java.math.BigDecimal getUSPrice();
122 
123  /**
124  * Gets (as xml) the "USPrice" element
125  */
126  org.apache.xmlbeans.XmlDecimal xgetUSPrice();
127 
128  /**
129  * Sets the "USPrice" element
130  */
131  void setUSPrice(java.math.BigDecimal usPrice);
132 
133  /**
134  * Sets (as xml) the "USPrice" element
135  */
136  void xsetUSPrice(org.apache.xmlbeans.XmlDecimal usPrice);
137 
138  /**
139  * Gets the "comment" element
140  */
141  java.lang.String getComment();
142 
143  /**
144  * Gets (as xml) the "comment" element
145  */
146  org.apache.xmlbeans.XmlString xgetComment();
147 
148  /**
149  * True if has "comment" element
150  */
151  boolean isSetComment();
152 
153  /**
154  * Sets the "comment" element
155  */
156  void setComment(java.lang.String comment);
157 
158  /**
159  * Sets (as xml) the "comment" element
160  */
161  void xsetComment(org.apache.xmlbeans.XmlString comment);
162 
163  /**
164  * Unsets the "comment" element
165  */
166  void unsetComment();
167 
168  /**
169  * Gets the "shipDate" element
170  */
171  java.util.Calendar getShipDate();
172 
173  /**
174  * Gets (as xml) the "shipDate" element
175  */
176  org.apache.xmlbeans.XmlDate xgetShipDate();
177 
178  /**
179  * True if has "shipDate" element
180  */
181  boolean isSetShipDate();
182 
183  /**
184  * Sets the "shipDate" element
185  */
186  void setShipDate(java.util.Calendar shipDate);
187 
188  /**
189  * Sets (as xml) the "shipDate" element
190  */
191  void xsetShipDate(org.apache.xmlbeans.XmlDate shipDate);
192 
193  /**
194  * Unsets the "shipDate" element
195  */
196  void unsetShipDate();
197 
198  /**
199  * Gets the "partNum" attribute
200  */
201  java.lang.String getPartNum();
202 
203  /**
204  * Gets (as xml) the "partNum" attribute
205  */
207 
208  /**
209  * Sets the "partNum" attribute
210  */
211  void setPartNum(java.lang.String partNum);
212 
213  /**
214  * Sets (as xml) the "partNum" attribute
215  */
216  void xsetPartNum(com.freemindcafe.purchase3.SKU partNum);
217 
218  /**
219  * An XML quantity(@http://www.freemindcafe.com/purchase3).
220  *
221  * This is an atomic type that is a restriction of com.freemindcafe.purchase3.Items$Item$Quantity.
222  */
223  public interface Quantity extends org.apache.xmlbeans.XmlPositiveInteger
224  {
225  int getIntValue();
226  void setIntValue(int i);
227  /** @deprecated */
228  @Deprecated
229  int intValue();
230  /** @deprecated */
231  @Deprecated
232  void set(int i);
233  public static final org.apache.xmlbeans.SchemaType type = (org.apache.xmlbeans.SchemaType)
234  org.apache.xmlbeans.XmlBeans.typeSystemForClassLoader(Quantity.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s3415DA2FD2301C0CF5A1A9BAB0E726C4").resolveHandle("quantityf839elemtype");
235 
236  /**
237  * A factory class with static methods for creating instances
238  * of this type.
239  */
240 
241  public static final class Factory
242  {
243  public static com.freemindcafe.purchase3.Items.Item.Quantity newValue(java.lang.Object obj) {
244  return (com.freemindcafe.purchase3.Items.Item.Quantity) type.newValue( obj ); }
245 
246  public static com.freemindcafe.purchase3.Items.Item.Quantity newInstance() {
247  return (com.freemindcafe.purchase3.Items.Item.Quantity) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
248 
249  public static com.freemindcafe.purchase3.Items.Item.Quantity newInstance(org.apache.xmlbeans.XmlOptions options) {
250  return (com.freemindcafe.purchase3.Items.Item.Quantity) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
251 
252  private Factory() { } // No instance of this class allowed
253  }
254  }
255 
256  /**
257  * A factory class with static methods for creating instances
258  * of this type.
259  */
260 
261  public static final class Factory
262  {
263  public static com.freemindcafe.purchase3.Items.Item newInstance() {
264  return (com.freemindcafe.purchase3.Items.Item) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
265 
266  public static com.freemindcafe.purchase3.Items.Item newInstance(org.apache.xmlbeans.XmlOptions options) {
267  return (com.freemindcafe.purchase3.Items.Item) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
268 
269  private Factory() { } // No instance of this class allowed
270  }
271  }
272 
273  /**
274  * A factory class with static methods for creating instances
275  * of this type.
276  */
277 
278  public static final class Factory
279  {
280  public static com.freemindcafe.purchase3.Items newInstance() {
281  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
282 
283  public static com.freemindcafe.purchase3.Items newInstance(org.apache.xmlbeans.XmlOptions options) {
284  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
285 
286  /** @param xmlAsString the string value to parse */
287  public static com.freemindcafe.purchase3.Items parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
288  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
289 
290  public static com.freemindcafe.purchase3.Items parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
291  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
292 
293  /** @param file the file from which to load an xml document */
294  public static com.freemindcafe.purchase3.Items parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
295  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
296 
297  public static com.freemindcafe.purchase3.Items parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
298  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
299 
300  public static com.freemindcafe.purchase3.Items parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
301  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
302 
303  public static com.freemindcafe.purchase3.Items parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
304  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
305 
306  public static com.freemindcafe.purchase3.Items parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
307  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
308 
309  public static com.freemindcafe.purchase3.Items parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
310  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
311 
312  public static com.freemindcafe.purchase3.Items parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
313  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
314 
315  public static com.freemindcafe.purchase3.Items parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
316  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
317 
318  public static com.freemindcafe.purchase3.Items parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
319  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
320 
321  public static com.freemindcafe.purchase3.Items parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
322  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
323 
324  public static com.freemindcafe.purchase3.Items parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
325  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
326 
327  public static com.freemindcafe.purchase3.Items parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
328  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
329 
330  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
331  @Deprecated
332  public static com.freemindcafe.purchase3.Items parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
333  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
334 
335  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
336  @Deprecated
337  public static com.freemindcafe.purchase3.Items parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
338  return (com.freemindcafe.purchase3.Items) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
339 
340  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
341  @Deprecated
342  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 {
343  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
344 
345  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
346  @Deprecated
347  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 {
348  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
349 
350  private Factory() { } // No instance of this class allowed
351  }
352 }
java.util.List< com.freemindcafe.purchase3.Items.Item > getItemList()
void setPartNum(java.lang.String partNum)
void setComment(java.lang.String comment)
void xsetComment(org.apache.xmlbeans.XmlString comment)
java.math.BigDecimal getUSPrice()
com.freemindcafe.purchase3.Items.Item addNewItem()
void setItemArray(com.freemindcafe.purchase3.Items.Item[] itemArray)
void setProductName(java.lang.String productName)
void xsetUSPrice(org.apache.xmlbeans.XmlDecimal usPrice)
org.apache.xmlbeans.XmlString xgetComment()
void xsetProductName(org.apache.xmlbeans.XmlString productName)
com.freemindcafe.purchase3.Items.Item[] getItemArray()
com.freemindcafe.purchase3.Items.Item.Quantity xgetQuantity()
org.apache.xmlbeans.XmlDecimal xgetUSPrice()
void xsetPartNum(com.freemindcafe.purchase3.SKU partNum)
com.freemindcafe.purchase3.Items.Item insertNewItem(int i)
org.apache.xmlbeans.XmlDate xgetShipDate()
void xsetQuantity(com.freemindcafe.purchase3.Items.Item.Quantity quantity)
void xsetShipDate(org.apache.xmlbeans.XmlDate shipDate)
org.apache.xmlbeans.XmlString xgetProductName()
void setShipDate(java.util.Calendar shipDate)
void setUSPrice(java.math.BigDecimal usPrice)
com.freemindcafe.purchase3.SKU xgetPartNum()