Samples JDK
GreetMeOneWayDocumentImpl.java
1 /*
2  * An XML document type.
3  * Localname: greetMeOneWay
4  * Namespace: http://apache.org/hello_world_soap_http/types
5  * Java type: org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument
6  *
7  * Automatically generated - do not modify.
8  */
9 package org.apache.helloWorldSoapHttp.types.impl;
10 /**
11  * A document containing one greetMeOneWay(@http://apache.org/hello_world_soap_http/types) element.
12  *
13  * This is a complex type.
14  */
15 public class GreetMeOneWayDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument
16 {
17  private static final long serialVersionUID = 1L;
18 
19  public GreetMeOneWayDocumentImpl(org.apache.xmlbeans.SchemaType sType)
20  {
21  super(sType);
22  }
23 
24  private static final javax.xml.namespace.QName GREETMEONEWAY$0 =
25  new javax.xml.namespace.QName("http://apache.org/hello_world_soap_http/types", "greetMeOneWay");
26 
27 
28  /**
29  * Gets the "greetMeOneWay" element
30  */
32  {
33  synchronized (monitor())
34  {
35  check_orphaned();
37  target = (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay)get_store().find_element_user(GREETMEONEWAY$0, 0);
38  if (target == null)
39  {
40  return null;
41  }
42  return target;
43  }
44  }
45 
46  /**
47  * Sets the "greetMeOneWay" element
48  */
50  {
51  generatedSetterHelperImpl(greetMeOneWay, GREETMEONEWAY$0, 0, org.apache.xmlbeans.impl.values.XmlObjectBase.KIND_SETTERHELPER_SINGLETON);
52  }
53 
54  /**
55  * Appends and returns a new empty "greetMeOneWay" element
56  */
58  {
59  synchronized (monitor())
60  {
61  check_orphaned();
63  target = (org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay)get_store().add_element_user(GREETMEONEWAY$0);
64  return target;
65  }
66  }
67  /**
68  * An XML greetMeOneWay(@http://apache.org/hello_world_soap_http/types).
69  *
70  * This is a complex type.
71  */
72  public static class GreetMeOneWayImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay
73  {
74  private static final long serialVersionUID = 1L;
75 
76  public GreetMeOneWayImpl(org.apache.xmlbeans.SchemaType sType)
77  {
78  super(sType);
79  }
80 
81  private static final javax.xml.namespace.QName REQUESTTYPE$0 =
82  new javax.xml.namespace.QName("http://apache.org/hello_world_soap_http/types", "requestType");
83 
84 
85  /**
86  * Gets the "requestType" element
87  */
88  public java.lang.String getRequestType()
89  {
90  synchronized (monitor())
91  {
92  check_orphaned();
93  org.apache.xmlbeans.SimpleValue target = null;
94  target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REQUESTTYPE$0, 0);
95  if (target == null)
96  {
97  return null;
98  }
99  return target.getStringValue();
100  }
101  }
102 
103  /**
104  * Gets (as xml) the "requestType" element
105  */
106  public org.apache.xmlbeans.XmlString xgetRequestType()
107  {
108  synchronized (monitor())
109  {
110  check_orphaned();
111  org.apache.xmlbeans.XmlString target = null;
112  target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REQUESTTYPE$0, 0);
113  return target;
114  }
115  }
116 
117  /**
118  * Sets the "requestType" element
119  */
120  public void setRequestType(java.lang.String requestType)
121  {
122  synchronized (monitor())
123  {
124  check_orphaned();
125  org.apache.xmlbeans.SimpleValue target = null;
126  target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(REQUESTTYPE$0, 0);
127  if (target == null)
128  {
129  target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(REQUESTTYPE$0);
130  }
131  target.setStringValue(requestType);
132  }
133  }
134 
135  /**
136  * Sets (as xml) the "requestType" element
137  */
138  public void xsetRequestType(org.apache.xmlbeans.XmlString requestType)
139  {
140  synchronized (monitor())
141  {
142  check_orphaned();
143  org.apache.xmlbeans.XmlString target = null;
144  target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(REQUESTTYPE$0, 0);
145  if (target == null)
146  {
147  target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(REQUESTTYPE$0);
148  }
149  target.set(requestType);
150  }
151  }
152  }
153 }
org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay getGreetMeOneWay()
void setGreetMeOneWay(org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay greetMeOneWay)
org.apache.helloWorldSoapHttp.types.GreetMeOneWayDocument.GreetMeOneWay addNewGreetMeOneWay()