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

Quick Search    Search Deep

Source code: com/dell/wsdm/demos/interop/x2005/x04/impl/SerialNumberDocumentImpl.java


1   /*
2    * An XML document type.
3    * Localname: SerialNumber
4    * Namespace: http://dell.com/wsdm/demos/interop/2005/04
5    * Java type: com.dell.wsdm.demos.interop.x2005.x04.SerialNumberDocument
6    *
7    * Automatically generated - do not modify.
8    */
9   package com.dell.wsdm.demos.interop.x2005.x04.impl;
10  /**
11   * A document containing one SerialNumber(@http://dell.com/wsdm/demos/interop/2005/04) element.
12   *
13   * This is a complex type.
14   */
15  public class SerialNumberDocumentImpl extends org.apache.xmlbeans.impl.values.XmlComplexContentImpl implements com.dell.wsdm.demos.interop.x2005.x04.SerialNumberDocument
16  {
17      
18      public SerialNumberDocumentImpl(org.apache.xmlbeans.SchemaType sType)
19      {
20          super(sType);
21      }
22      
23      private static final javax.xml.namespace.QName SERIALNUMBER$0 = 
24          new javax.xml.namespace.QName("http://dell.com/wsdm/demos/interop/2005/04", "SerialNumber");
25      
26      
27      /**
28       * Gets the "SerialNumber" element
29       */
30      public java.lang.String getSerialNumber()
31      {
32          synchronized (monitor())
33          {
34              check_orphaned();
35              org.apache.xmlbeans.SimpleValue target = null;
36              target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERIALNUMBER$0, 0);
37              if (target == null)
38              {
39                  return null;
40              }
41              return target.getStringValue();
42          }
43      }
44      
45      /**
46       * Gets (as xml) the "SerialNumber" element
47       */
48      public org.apache.xmlbeans.XmlString xgetSerialNumber()
49      {
50          synchronized (monitor())
51          {
52              check_orphaned();
53              org.apache.xmlbeans.XmlString target = null;
54              target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERIALNUMBER$0, 0);
55              return target;
56          }
57      }
58      
59      /**
60       * Sets the "SerialNumber" element
61       */
62      public void setSerialNumber(java.lang.String serialNumber)
63      {
64          synchronized (monitor())
65          {
66              check_orphaned();
67              org.apache.xmlbeans.SimpleValue target = null;
68              target = (org.apache.xmlbeans.SimpleValue)get_store().find_element_user(SERIALNUMBER$0, 0);
69              if (target == null)
70              {
71                  target = (org.apache.xmlbeans.SimpleValue)get_store().add_element_user(SERIALNUMBER$0);
72              }
73              target.setStringValue(serialNumber);
74          }
75      }
76      
77      /**
78       * Sets (as xml) the "SerialNumber" element
79       */
80      public void xsetSerialNumber(org.apache.xmlbeans.XmlString serialNumber)
81      {
82          synchronized (monitor())
83          {
84              check_orphaned();
85              org.apache.xmlbeans.XmlString target = null;
86              target = (org.apache.xmlbeans.XmlString)get_store().find_element_user(SERIALNUMBER$0, 0);
87              if (target == null)
88              {
89                  target = (org.apache.xmlbeans.XmlString)get_store().add_element_user(SERIALNUMBER$0);
90              }
91              target.set(serialNumber);
92          }
93      }
94  }