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