Samples JDK
PurchaseOrderType.java
1 /*
2  * XML Type: PurchaseOrderType
3  * Namespace: http://www.freemindcafe.com/purchase3
4  * Java type: com.freemindcafe.purchase3.PurchaseOrderType
5  *
6  * Automatically generated - do not modify.
7  */
8 package com.freemindcafe.purchase3;
9 
10 
11 /**
12  * An XML PurchaseOrderType(@http://www.freemindcafe.com/purchase3).
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.s3415DA2FD2301C0CF5A1A9BAB0E726C4").resolveHandle("purchaseordertypecdb8type");
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 "element" element
98  */
99  org.apache.xmlbeans.XmlObject getElement();
100 
101  /**
102  * Sets the "element" element
103  */
104  void setElement(org.apache.xmlbeans.XmlObject element);
105 
106  /**
107  * Appends and returns a new empty "element" element
108  */
109  org.apache.xmlbeans.XmlObject addNewElement();
110 
111  /**
112  * Gets the "orderDate" attribute
113  */
114  java.util.Calendar getOrderDate();
115 
116  /**
117  * Gets (as xml) the "orderDate" attribute
118  */
119  org.apache.xmlbeans.XmlDate xgetOrderDate();
120 
121  /**
122  * True if has "orderDate" attribute
123  */
124  boolean isSetOrderDate();
125 
126  /**
127  * Sets the "orderDate" attribute
128  */
129  void setOrderDate(java.util.Calendar orderDate);
130 
131  /**
132  * Sets (as xml) the "orderDate" attribute
133  */
134  void xsetOrderDate(org.apache.xmlbeans.XmlDate orderDate);
135 
136  /**
137  * Unsets the "orderDate" attribute
138  */
139  void unsetOrderDate();
140 
141  /**
142  * A factory class with static methods for creating instances
143  * of this type.
144  */
145 
146  public static final class Factory
147  {
148  public static com.freemindcafe.purchase3.PurchaseOrderType newInstance() {
149  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, null ); }
150 
151  public static com.freemindcafe.purchase3.PurchaseOrderType newInstance(org.apache.xmlbeans.XmlOptions options) {
152  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newInstance( type, options ); }
153 
154  /** @param xmlAsString the string value to parse */
155  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.lang.String xmlAsString) throws org.apache.xmlbeans.XmlException {
156  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, null ); }
157 
158  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.lang.String xmlAsString, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
159  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xmlAsString, type, options ); }
160 
161  /** @param file the file from which to load an xml document */
162  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.File file) throws org.apache.xmlbeans.XmlException, java.io.IOException {
163  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, null ); }
164 
165  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.File file, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
166  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( file, type, options ); }
167 
168  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.net.URL u) throws org.apache.xmlbeans.XmlException, java.io.IOException {
169  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, null ); }
170 
171  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.net.URL u, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
172  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( u, type, options ); }
173 
174  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.InputStream is) throws org.apache.xmlbeans.XmlException, java.io.IOException {
175  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, null ); }
176 
177  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.InputStream is, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
178  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( is, type, options ); }
179 
180  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.Reader r) throws org.apache.xmlbeans.XmlException, java.io.IOException {
181  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, null ); }
182 
183  public static com.freemindcafe.purchase3.PurchaseOrderType parse(java.io.Reader r, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException, java.io.IOException {
184  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( r, type, options ); }
185 
186  public static com.freemindcafe.purchase3.PurchaseOrderType parse(javax.xml.stream.XMLStreamReader sr) throws org.apache.xmlbeans.XmlException {
187  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, null ); }
188 
189  public static com.freemindcafe.purchase3.PurchaseOrderType parse(javax.xml.stream.XMLStreamReader sr, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
190  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( sr, type, options ); }
191 
192  public static com.freemindcafe.purchase3.PurchaseOrderType parse(org.w3c.dom.Node node) throws org.apache.xmlbeans.XmlException {
193  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, null ); }
194 
195  public static com.freemindcafe.purchase3.PurchaseOrderType parse(org.w3c.dom.Node node, org.apache.xmlbeans.XmlOptions options) throws org.apache.xmlbeans.XmlException {
196  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( node, type, options ); }
197 
198  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
199  @Deprecated
200  public static com.freemindcafe.purchase3.PurchaseOrderType parse(org.apache.xmlbeans.xml.stream.XMLInputStream xis) throws org.apache.xmlbeans.XmlException, org.apache.xmlbeans.xml.stream.XMLStreamException {
201  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, null ); }
202 
203  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
204  @Deprecated
205  public static com.freemindcafe.purchase3.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 {
206  return (com.freemindcafe.purchase3.PurchaseOrderType) org.apache.xmlbeans.XmlBeans.getContextTypeLoader().parse( xis, type, options ); }
207 
208  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
209  @Deprecated
210  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 {
211  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, null ); }
212 
213  /** @deprecated {@link org.apache.xmlbeans.xml.stream.XMLInputStream} */
214  @Deprecated
215  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 {
216  return org.apache.xmlbeans.XmlBeans.getContextTypeLoader().newValidatingXMLInputStream( xis, type, options ); }
217 
218  private Factory() { } // No instance of this class allowed
219  }
220 }
com.freemindcafe.purchase3.Items addNewItems()
void setOrderDate(java.util.Calendar orderDate)
org.apache.xmlbeans.XmlObject getElement()
void setComment(java.lang.String comment)
void setItems(com.freemindcafe.purchase3.Items items)
void xsetComment(org.apache.xmlbeans.XmlString comment)
org.apache.xmlbeans.XmlDate xgetOrderDate()
void setElement(org.apache.xmlbeans.XmlObject element)
com.freemindcafe.purchase3.Items getItems()
org.apache.xmlbeans.XmlObject addNewElement()
void setShipTo(com.freemindcafe.purchase3.USAddress shipTo)
com.freemindcafe.purchase3.USAddress addNewShipTo()
org.apache.xmlbeans.XmlString xgetComment()
void setBillTo(com.freemindcafe.purchase3.USAddress billTo)
com.freemindcafe.purchase3.USAddress getBillTo()
com.freemindcafe.purchase3.USAddress getShipTo()
com.freemindcafe.purchase3.USAddress addNewBillTo()
void xsetOrderDate(org.apache.xmlbeans.XmlDate orderDate)