Samples JDK
PurchaseOrderType.java
1 /*
2  * XML Type: PurchaseOrderType
3  * Namespace: http://www.freemindcafe.com/purchase
4  * Java type: com.freemindcafe.purchase.PurchaseOrderType
5  *
6  * Automatically generated - do not modify.
7  */
8 package com.freemindcafe.purchase;
9 
10 
11 /**
12  * An XML PurchaseOrderType(@http://www.freemindcafe.com/purchase).
13  *
14  * This is a complex type.
15  */
16 public interface PurchaseOrderType 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(PurchaseOrderType.class.getClassLoader(), "schemaorg_apache_xmlbeans.system.s018604D42A8A63D27D2A46EB43CC007F").resolveHandle("purchaseordertypeeddbtype");
20 
21  /**
22  * Gets the "shipTo" element
23  */
25 
26  /**
27  * Sets the "shipTo" element
28  */
30 
31  /**
32  * Appends and returns a new empty "shipTo" element
33  */
35 
36  /**
37  * Gets the "billTo" element
38  */
40 
41  /**
42  * Sets the "billTo" element
43  */
45 
46  /**
47  * Appends and returns a new empty "billTo" element
48  */
50 
51  /**
52  * Gets the "comment" element
53  */
54  java.lang.String getComment();
55 
56  /**
57  * Gets (as xml) the "comment" element
58  */
59  org.apache.xmlbeans.XmlString xgetComment();
60 
61  /**
62  * True if has "comment" element
63  */
64  boolean isSetComment();
65 
66  /**
67  * Sets the "comment" element
68  */
69  void setComment(java.lang.String comment);
70 
71  /**
72  * Sets (as xml) the "comment" element
73  */
74  void xsetComment(org.apache.xmlbeans.XmlString comment);
75 
76  /**
77  * Unsets the "comment" element
78  */
79  void unsetComment();
80 
81  /**
82  * Gets the "items" element
83  */
85 
86  /**
87  * Sets the "items" element
88  */
90 
91  /**
92  * Appends and returns a new empty "items" element
93  */
95 
96  /**
97  * Gets the "orderDate" attribute
98  */
99  java.util.Calendar getOrderDate();
100 
101  /**
102  * Gets (as xml) the "orderDate" attribute
103  */
104  org.apache.xmlbeans.XmlDate xgetOrderDate();
105 
106  /**
107  * True if has "orderDate" attribute
108  */
109  boolean isSetOrderDate();
110 
111  /**
112  * Sets the "orderDate" attribute
113  */
114  void setOrderDate(java.util.Calendar orderDate);
115 
116  /**
117  * Sets (as xml) the "orderDate" attribute
118  */
119  void xsetOrderDate(org.apache.xmlbeans.XmlDate orderDate);
120 
121  /**
122  * Unsets the "orderDate" attribute
123  */
124  void unsetOrderDate();
125 
126  /**
127  * A factory class with static methods for creating instances
128  * of this type.
129  */
130 
131  public static final class Factory
132  {
133  public static com.freemindcafe.purchase.PurchaseOrderType newInstance() {
134  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
135 
136  public static com.freemindcafe.purchase.PurchaseOrderType newInstance(org.apache.xmlbeans.XmlOptions options) {
137  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
138 
139  /** @param xmlAsString the string value to parse */
140  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
141  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
142 
143  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
144  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
145 
146  /** @param file the file from which to load an xml document */
147  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
148  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
149 
150  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
151  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
152 
153  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
154  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
155 
156  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
157  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
158 
159  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
160  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
161 
162  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
163  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
164 
165  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
166  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
167 
168  public static com.freemindcafe.purchase.PurchaseOrderType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
169  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
170 
171  public static com.freemindcafe.purchase.PurchaseOrderType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
172  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
173 
174  public static com.freemindcafe.purchase.PurchaseOrderType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
175  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
176 
177  public static com.freemindcafe.purchase.PurchaseOrderType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
178  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
179 
180  public static com.freemindcafe.purchase.PurchaseOrderType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
181  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
182 
183  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
184  @Deprecated
185  public static com.freemindcafe.purchase.PurchaseOrderType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
186  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
187 
188  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
189  @Deprecated
190  public static com.freemindcafe.purchase.PurchaseOrderType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
191  return (com.freemindcafe.purchase.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
192 
193  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
194  @Deprecated
195  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 {
196  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
197 
198  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
199  @Deprecated
200  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 {
201  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
202 
203  private Factory() { } // No instance of this class allowed
204  }
205 }
void setOrderDate(java.util.Calendar orderDate)
void xsetOrderDate(org.apache.xmlbeans.XmlDate orderDate)
com.freemindcafe.purchase.USAddress addNewBillTo()
com.freemindcafe.purchase.Items getItems()
com.freemindcafe.purchase.Items addNewItems()
void setShipTo(com.freemindcafe.purchase.USAddress shipTo)
org.apache.xmlbeans.XmlString xgetComment()
com.freemindcafe.purchase.USAddress addNewShipTo()
void setItems(com.freemindcafe.purchase.Items items)
com.freemindcafe.purchase.USAddress getBillTo()
org.apache.xmlbeans.XmlDate xgetOrderDate()
void xsetComment(org.apache.xmlbeans.XmlString comment)
void setComment(java.lang.String comment)
void setBillTo(com.freemindcafe.purchase.USAddress billTo)
com.freemindcafe.purchase.USAddress getShipTo()