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