001// 002// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-2 003// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a> 004// Any modifications to this file will be lost upon recompilation of the source schema. 005// Generated on: 2013.04.21 at 08:43:19 PM CEST 006// 007 008 009package org.jomc.model.test; 010 011import javax.annotation.Generated; 012import javax.xml.bind.annotation.XmlAccessType; 013import javax.xml.bind.annotation.XmlAccessorType; 014import javax.xml.bind.annotation.XmlAttribute; 015import javax.xml.bind.annotation.XmlElement; 016import javax.xml.bind.annotation.XmlType; 017 018 019/** 020 * Implementation test. 021 * 022 * <p>Java class for ImplementationTestType complex type. 023 * 024 * <p>The following schema fragment specifies the expected content contained within this class. 025 * 026 * <pre> 027 * <complexType name="ImplementationTestType"> 028 * <complexContent> 029 * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> 030 * <sequence> 031 * <element name="modules" type="{http://jomc.org/model/test}AnyModelObject" minOccurs="0"/> 032 * <element name="implementation" type="{http://jomc.org/model/test}AnyModelObject"/> 033 * </sequence> 034 * <attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" /> 035 * </restriction> 036 * </complexContent> 037 * </complexType> 038 * </pre> 039 * 040 * 041 */ 042@XmlAccessorType(XmlAccessType.FIELD) 043@XmlType(name = "ImplementationTestType", namespace = "http://jomc.org/model/test", propOrder = { 044 "modules", 045 "implementation" 046}) 047@Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 048public class ImplementationTestType implements Cloneable 049{ 050 051 @XmlElement(namespace = "http://jomc.org/model/test") 052 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 053 protected AnyModelObject modules; 054 @XmlElement(namespace = "http://jomc.org/model/test", required = true) 055 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 056 protected AnyModelObject implementation; 057 @XmlAttribute(name = "identifier", required = true) 058 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2") 059 protected String identifier; 060 061 /** 062 * Creates a new {@code ImplementationTestType} instance. 063 * 064 */ 065 public ImplementationTestType() { 066 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 067 super(); 068 } 069 070 /** 071 * Creates a new {@code ImplementationTestType} instance by deeply copying a given {@code ImplementationTestType} instance. 072 * 073 * 074 * @param o 075 * The instance to copy. 076 * @throws NullPointerException 077 * if {@code o} is {@code null}. 078 */ 079 public ImplementationTestType(final ImplementationTestType o) { 080 // CC-XJC Version 2.0.1 Build 2012-03-02T12:09:12+0000 081 super(); 082 if (o == null) { 083 throw new NullPointerException("Cannot create a copy of 'ImplementationTestType' from 'null'."); 084 } 085 // CClassInfo: org.jomc.model.test.AnyModelObject 086 this.modules = ((o.modules == null)?null:((o.getModules() == null)?null:o.getModules().clone())); 087 // CClassInfo: org.jomc.model.test.AnyModelObject 088 this.implementation = ((o.implementation == null)?null:((o.getImplementation() == null)?null:o.getImplementation().clone())); 089 // CBuiltinLeafInfo: java.lang.String 090 this.identifier = ((o.identifier == null)?null:o.getIdentifier()); 091 } 092 093 /** 094 * Gets the value of the modules property. 095 * 096 * @return 097 * possible object is 098 * {@link AnyModelObject } 099 * 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}