View Javadoc

1   //
2   // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 
3   // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 
4   // Any modifications to this file will be lost upon recompilation of the source schema. 
5   // Generated on: 2013.04.21 at 08:43:19 PM CEST 
6   //
7   
8   
9   package org.jomc.model.test;
10  
11  import javax.annotation.Generated;
12  import javax.xml.bind.annotation.XmlAccessType;
13  import javax.xml.bind.annotation.XmlAccessorType;
14  import javax.xml.bind.annotation.XmlAttribute;
15  import javax.xml.bind.annotation.XmlElement;
16  import javax.xml.bind.annotation.XmlType;
17  
18  
19  /**
20   * Implementation test.
21   * 
22   * <p>Java class for ImplementationTestType complex type.
23   * 
24   * <p>The following schema fragment specifies the expected content contained within this class.
25   * 
26   * <pre>
27   * &lt;complexType name="ImplementationTestType">
28   *   &lt;complexContent>
29   *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
30   *       &lt;sequence>
31   *         &lt;element name="modules" type="{http://jomc.org/model/test}AnyModelObject" minOccurs="0"/>
32   *         &lt;element name="implementation" type="{http://jomc.org/model/test}AnyModelObject"/>
33   *       &lt;/sequence>
34   *       &lt;attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
35   *     &lt;/restriction>
36   *   &lt;/complexContent>
37   * &lt;/complexType>
38   * </pre>
39   * 
40   * 
41   */
42  @XmlAccessorType(XmlAccessType.FIELD)
43  @XmlType(name = "ImplementationTestType", namespace = "http://jomc.org/model/test", propOrder = {
44      "modules",
45      "implementation"
46  })
47  @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
48  public class ImplementationTestType implements Cloneable
49  {
50  
51      @XmlElement(namespace = "http://jomc.org/model/test")
52      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
53      protected AnyModelObject modules;
54      @XmlElement(namespace = "http://jomc.org/model/test", required = true)
55      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
56      protected AnyModelObject implementation;
57      @XmlAttribute(name = "identifier", required = true)
58      @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
59      protected String identifier;
60  
61      /**
62       * Creates a new {@code ImplementationTestType} instance.
63       * 
64       */
65      public ImplementationTestType() {
66          // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
67          super();
68      }
69  
70      /**
71       * Creates a new {@code ImplementationTestType} instance by deeply copying a given {@code ImplementationTestType} instance.
72       * 
73       * 
74       * @param o
75       *     The instance to copy.
76       * @throws NullPointerException
77       *     if {@code o} is {@code null}.
78       */
79      public ImplementationTestType(final ImplementationTestType o) {
80          // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
81          super();
82          if (o == null) {
83              throw new NullPointerException("Cannot create a copy of 'ImplementationTestType' from 'null'.");
84          }
85          // CClassInfo: org.jomc.model.test.AnyModelObject
86          this.modules = ((o.modules == null)?null:((o.getModules() == null)?null:o.getModules().clone()));
87          // CClassInfo: org.jomc.model.test.AnyModelObject
88          this.implementation = ((o.implementation == null)?null:((o.getImplementation() == null)?null:o.getImplementation().clone()));
89          // CBuiltinLeafInfo: java.lang.String
90          this.identifier = ((o.identifier == null)?null:o.getIdentifier());
91      }
92  
93      /**
94       * Gets the value of the modules property.
95       * 
96       * @return
97       *     possible object is
98       *     {@link AnyModelObject }
99       *     
100      */
101     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
102     public AnyModelObject getModules() {
103         return modules;
104     }
105 
106     /**
107      * Sets the value of the modules property.
108      * 
109      * @param value
110      *     allowed object is
111      *     {@link AnyModelObject }
112      *     
113      */
114     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
115     public void setModules(AnyModelObject value) {
116         this.modules = value;
117     }
118 
119     /**
120      * Gets the value of the implementation property.
121      * 
122      * @return
123      *     possible object is
124      *     {@link AnyModelObject }
125      *     
126      */
127     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
128     public AnyModelObject getImplementation() {
129         return implementation;
130     }
131 
132     /**
133      * Sets the value of the implementation property.
134      * 
135      * @param value
136      *     allowed object is
137      *     {@link AnyModelObject }
138      *     
139      */
140     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
141     public void setImplementation(AnyModelObject value) {
142         this.implementation = value;
143     }
144 
145     /**
146      * Gets the value of the identifier property.
147      * 
148      * @return
149      *     possible object is
150      *     {@link String }
151      *     
152      */
153     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
154     public String getIdentifier() {
155         return identifier;
156     }
157 
158     /**
159      * Sets the value of the identifier property.
160      * 
161      * @param value
162      *     allowed object is
163      *     {@link String }
164      *     
165      */
166     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
167     public void setIdentifier(String value) {
168         this.identifier = value;
169     }
170 
171     /**
172      * Creates and returns a deep copy of this object.
173      * 
174      * 
175      * @return
176      *     A deep copy of this object.
177      */
178     @Override
179     @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
180     public ImplementationTestType clone() {
181         try {
182             {
183                 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000
184                 final ImplementationTestType clone = ((ImplementationTestType) super.clone());
185                 // CClassInfo: org.jomc.model.test.AnyModelObject
186                 clone.modules = ((this.modules == null)?null:((this.getModules() == null)?null:this.getModules().clone()));
187                 // CClassInfo: org.jomc.model.test.AnyModelObject
188                 clone.implementation = ((this.implementation == null)?null:((this.getImplementation() == null)?null:this.getImplementation().clone()));
189                 // CBuiltinLeafInfo: java.lang.String
190                 clone.identifier = ((this.identifier == null)?null:this.getIdentifier());
191                 return clone;
192             }
193         } catch (CloneNotSupportedException e) {
194             // Please report this at https://apps.sourceforge.net/mantisbt/ccxjc/
195             throw new AssertionError(e);
196         }
197     }
198 
199 }