View Javadoc

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