Samples JDK
PurchaseOrderDocumentImpl.java
1 /*
2  * An XML document type.
3  * Localname: purchaseOrder
4  * Namespace: http://www.freemindcafe.com/purchase3
5  * Java type: com.freemindcafe.purchase3.PurchaseOrderDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package com.freemindcafe.purchase3.impl;
10 /**
11  * A document containing one purchaseOrder(@http://www.freemindcafe.com/purchase3) element.
12  *
13  * This is a complex type.
14  */
15 public class PurchaseOrderDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.freemindcafe.purchase3.PurchaseOrderDocument
16 {
17  private static final long serialVersionUID = 1L;
18 
19  public PurchaseOrderDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20  {
21  super(sType);
22  }
23 
24  private static final javax.xml.namespace.QName PURCHASEORDER$0 =
25  new javax.xml.namespace.QName("http://www.freemindcafe.com/purchase3", "purchaseOrder");
26 
27 
28  /**
29  * Gets the "purchaseOrder" element
30  */
32  {
33  synchronized (monitor())
34  {
35  check_orphaned();
37  target = (com.freemindcafe.purchase3.PurchaseOrderType)get_store().find_element_user(PURCHASEORDER$0, 0);
38  if (target == null)
39  {
40  return null;
41  }
42  return target;
43  }
44  }
45 
46  /**
47  * Sets the "purchaseOrder" element
48  */
50  {
51  generatedSetterHelperImpl(purchaseOrder, PURCHASEORDER$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52  }
53 
54  /**
55  * Appends and returns a new empty "purchaseOrder" element
56  */
58  {
59  synchronized (monitor())
60  {
61  check_orphaned();
63  target = (com.freemindcafe.purchase3.PurchaseOrderType)get_store().add_element_user(PURCHASEORDER$0);
64  return target;
65  }
66  }
67 }
com.freemindcafe.purchase3.PurchaseOrderType getPurchaseOrder()
com.freemindcafe.purchase3.PurchaseOrderType addNewPurchaseOrder()
void setPurchaseOrder(com.freemindcafe.purchase3.PurchaseOrderType purchaseOrder)