1
2
3
4
5
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
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41 @XmlAccessorType(XmlAccessType.FIELD)
42 @XmlType(name = "SchemaConstraintsTestType", namespace = "http://jomc.org/model/test", propOrder = {
43 "modelObject"
44 })
45 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
46 public class SchemaConstraintsTestType implements Cloneable
47 {
48
49 @XmlElement(name = "model-object", namespace = "http://jomc.org/model/test")
50 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
51 protected AnyModelObject modelObject;
52 @XmlAttribute(name = "identifier", required = true)
53 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
54 protected String identifier;
55
56
57
58
59
60 public SchemaConstraintsTestType() {
61
62 super();
63 }
64
65
66
67
68
69
70
71
72
73
74 public SchemaConstraintsTestType(final SchemaConstraintsTestType o) {
75
76 super();
77 if (o == null) {
78 throw new NullPointerException("Cannot create a copy of 'SchemaConstraintsTestType' from 'null'.");
79 }
80
81 this.modelObject = ((o.modelObject == null)?null:((o.getModelObject() == null)?null:o.getModelObject().clone()));
82
83 this.identifier = ((o.identifier == null)?null:o.getIdentifier());
84 }
85
86
87
88
89
90
91
92
93
94 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
95 public AnyModelObject getModelObject() {
96 return modelObject;
97 }
98
99
100
101
102
103
104
105
106
107 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
108 public void setModelObject(AnyModelObject value) {
109 this.modelObject = value;
110 }
111
112
113
114
115
116
117
118
119
120 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
121 public String getIdentifier() {
122 return identifier;
123 }
124
125
126
127
128
129
130
131
132
133 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
134 public void setIdentifier(String value) {
135 this.identifier = value;
136 }
137
138
139
140
141
142
143
144
145 @Override
146 @Generated(value = "com.sun.tools.xjc.Driver", date = "2013-04-21T08:43:19+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-2")
147 public SchemaConstraintsTestType clone() {
148 try {
149 {
150
151 final SchemaConstraintsTestType clone = ((SchemaConstraintsTestType) super.clone());
152
153 clone.modelObject = ((this.modelObject == null)?null:((this.getModelObject() == null)?null:this.getModelObject().clone()));
154
155 clone.identifier = ((this.identifier == null)?null:this.getIdentifier());
156 return clone;
157 }
158 } catch (CloneNotSupportedException e) {
159
160 throw new AssertionError(e);
161 }
162 }
163
164 }