Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

Source code: org/everest/impl/GetCurrentTemperatureResponseDocumentImpl.java


1   /*
2    * An XML document type.
3    * Localname: GetCurrentTemperatureResponse
4    * Namespace: http://everest.org/
5    * Java type: org.everest.GetCurrentTemperatureResponseDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package org.everest.impl;
10  /**
11   * A document containing one GetCurrentTemperatureResponse(@http://everest.org/) element.
12   *
13   * This is a complex type.
14   */
15  public class GetCurrentTemperatureResponseDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.everest.GetCurrentTemperatureResponseDocument
16  {
17      
18      public GetCurrentTemperatureResponseDocumentImpl(org.apache.xmlbeans.SchemaType sType)
19      {
20          super(sType);
21      }
22      
23      private static final javax.xml.namespace.QName GETCURRENTTEMPERATURERESPONSE$0 = 
24          new javax.xml.namespace.QName("http://everest.org/", "GetCurrentTemperatureResponse");
25      
26      
27      /**
28       * Gets the "GetCurrentTemperatureResponse" element
29       */
30      public org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse getGetCurrentTemperatureResponse()
31      {
32          synchronized (monitor())
33          {
34              check_orphaned();
35              org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse target = null;
36              target = (org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse)get_store().find_element_user(GETCURRENTTEMPERATURERESPONSE$0, 0);
37              if (target == null)
38              {
39                  return null;
40              }
41              return target;
42          }
43      }
44      
45      /**
46       * Sets the "GetCurrentTemperatureResponse" element
47       */
48      public void setGetCurrentTemperatureResponse(org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse getCurrentTemperatureResponse)
49      {
50          synchronized (monitor())
51          {
52              check_orphaned();
53              org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse target = null;
54              target = (org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse)get_store().find_element_user(GETCURRENTTEMPERATURERESPONSE$0, 0);
55              if (target == null)
56              {
57                  target = (org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse)get_store().add_element_user(GETCURRENTTEMPERATURERESPONSE$0);
58              }
59              target.set(getCurrentTemperatureResponse);
60          }
61      }
62      
63      /**
64       * Appends and returns a new empty "GetCurrentTemperatureResponse" element
65       */
66      public org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse addNewGetCurrentTemperatureResponse()
67      {
68          synchronized (monitor())
69          {
70              check_orphaned();
71              org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse target = null;
72              target = (org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse)get_store().add_element_user(GETCURRENTTEMPERATURERESPONSE$0);
73              return target;
74          }
75      }
76      /**
77       * An XML GetCurrentTemperatureResponse(@http://everest.org/).
78       *
79       * This is a complex type.
80       */
81      public static class GetCurrentTemperatureResponseImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements org.everest.GetCurrentTemperatureResponseDocument.GetCurrentTemperatureResponse
82      {
83          
84          public GetCurrentTemperatureResponseImpl(org.apache.xmlbeans.SchemaType sType)
85          {
86              super(sType);
87          }
88          
89          private static final javax.xml.namespace.QName GETCURRENTTEMPERATURERESULT$0 = 
90              new javax.xml.namespace.QName("http://everest.org/", "GetCurrentTemperatureResult");
91          
92          
93          /**
94           * Gets the "GetCurrentTemperatureResult" element
95           */
96          public double getGetCurrentTemperatureResult()
97          {
98              synchronized (monitor())
99              {
100                 check_orphaned();
101                 org.apache.xmlbeans.SimpleValue target = null;
102                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GETCURRENTTEMPERATURERESULT$0, 0);
103                 if (target == null)
104                 {
105                     return 0.0;
106                 }
107                 return target.getDoubleValue();
108             }
109         }
110         
111         /**
112          * Gets (as xml) the "GetCurrentTemperatureResult" element
113          */
114         public org.apache.xmlbeans.XmlDouble xgetGetCurrentTemperatureResult()
115         {
116             synchronized (monitor())
117             {
118                 check_orphaned();
119                 org.apache.xmlbeans.XmlDouble target = null;
120                 target = (org.apache.xmlbeans.XmlDouble)get_store().find_element_user(GETCURRENTTEMPERATURERESULT$0, 0);
121                 return target;
122             }
123         }
124         
125         /**
126          * Sets the "GetCurrentTemperatureResult" element
127          */
128         public void setGetCurrentTemperatureResult(double getCurrentTemperatureResult)
129         {
130             synchronized (monitor())
131             {
132                 check_orphaned();
133                 org.apache.xmlbeans.SimpleValue target = null;
134                 target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(GETCURRENTTEMPERATURERESULT$0, 0);
135                 if (target == null)
136                 {
137                     target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(GETCURRENTTEMPERATURERESULT$0);
138                 }
139                 target.setDoubleValue(getCurrentTemperatureResult);
140             }
141         }
142         
143         /**
144          * Sets (as xml) the "GetCurrentTemperatureResult" element
145          */
146         public void xsetGetCurrentTemperatureResult(org.apache.xmlbeans.XmlDouble getCurrentTemperatureResult)
147         {
148             synchronized (monitor())
149             {
150                 check_orphaned();
151                 org.apache.xmlbeans.XmlDouble target = null;
152                 target = (org.apache.xmlbeans.XmlDouble)get_store().find_element_user(GETCURRENTTEMPERATURERESULT$0, 0);
153                 if (target == null)
154                 {
155                     target = (org.apache.xmlbeans.XmlDouble)get_store().add_element_user(GETCURRENTTEMPERATURERESULT$0);
156                 }
157                 target.set(getCurrentTemperatureResult);
158             }
159         }
160     }
161 }