1 | // |
2 | // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833 |
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: 2010.02.03 at 01:25:12 AM UTC |
6 | // |
7 | |
8 | |
9 | package org.jomc.model.bootstrap; |
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 javax.xml.bind.annotation.adapters.CollapsedStringAdapter; |
17 | import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; |
18 | |
19 | |
20 | /** |
21 | * |
22 | * Reference to a schema. |
23 | * |
24 | * The 'Schema' type defines attributes 'public-id', 'system-id', 'context-id' and 'classpath-id'. Attribute 'public-id' |
25 | * holds the public identifier of the referenced schema. Attribute 'system-id' holds the system identifier of the |
26 | * referenced schema. Attribute 'context-id' holds the name of the Java package containing JAXB classes of the referenced |
27 | * schema. Attribute 'classpath-id' holds the Java classpath location of the referenced schema. |
28 | * |
29 | * |
30 | * <p>Java class for Schema complex type. |
31 | * |
32 | * <p>The following schema fragment specifies the expected content contained within this class. |
33 | * |
34 | * <pre> |
35 | * <complexType name="Schema"> |
36 | * <complexContent> |
37 | * <extension base="{http://jomc.org/model/bootstrap}BootstrapObject"> |
38 | * <attribute name="public-id" use="required" type="{http://jomc.org/model/bootstrap}Identifier" /> |
39 | * <attribute name="system-id" use="required" type="{http://jomc.org/model/bootstrap}Identifier" /> |
40 | * <attribute name="context-id" type="{http://jomc.org/model/bootstrap}Identifier" /> |
41 | * <attribute name="classpath-id" type="{http://jomc.org/model/bootstrap}Identifier" /> |
42 | * </extension> |
43 | * </complexContent> |
44 | * </complexType> |
45 | * </pre> |
46 | * |
47 | * |
48 | */ |
49 | @XmlAccessorType(XmlAccessType.FIELD) |
50 | @XmlType(name = "Schema") |
51 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
52 | public class Schema |
53 | extends BootstrapObject |
54 | implements Cloneable |
55 | { |
56 | |
57 | @XmlAttribute(name = "public-id", required = true) |
58 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
59 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
60 | protected String publicId; |
61 | @XmlAttribute(name = "system-id", required = true) |
62 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
63 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
64 | protected String systemId; |
65 | @XmlAttribute(name = "context-id") |
66 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
67 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
68 | protected String contextId; |
69 | @XmlAttribute(name = "classpath-id") |
70 | @XmlJavaTypeAdapter(CollapsedStringAdapter.class) |
71 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
72 | protected String classpathId; |
73 | |
74 | /** |
75 | * Creates a new {@code Schema} instance. |
76 | * |
77 | */ |
78 | public Schema() { |
79 | // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000 |
80 | super(); |
81 | } |
82 | |
83 | /** |
84 | * Creates a new {@code Schema} instance by deeply copying a given {@code Schema} instance. |
85 | * |
86 | * |
87 | * @param o |
88 | * The instance to copy. |
89 | * @throws NullPointerException |
90 | * if {@code o} is {@code null}. |
91 | */ |
92 | public Schema(final Schema o) { |
93 | // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000 |
94 | super(o); |
95 | if (o == null) { |
96 | throw new NullPointerException("Cannot create a copy of 'Schema' from 'null'."); |
97 | } |
98 | // CBuiltinLeafInfo: java.lang.String |
99 | this.publicId = o.getPublicId(); |
100 | // CBuiltinLeafInfo: java.lang.String |
101 | this.systemId = o.getSystemId(); |
102 | // CBuiltinLeafInfo: java.lang.String |
103 | this.contextId = o.getContextId(); |
104 | // CBuiltinLeafInfo: java.lang.String |
105 | this.classpathId = o.getClasspathId(); |
106 | } |
107 | |
108 | /** |
109 | * The public identifier of the referenced schema. |
110 | * |
111 | * @return |
112 | * possible object is |
113 | * {@link String } |
114 | * |
115 | */ |
116 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
117 | public String getPublicId() { |
118 | return publicId; |
119 | } |
120 | |
121 | /** |
122 | * Sets the value of the publicId property. |
123 | * |
124 | * @param value |
125 | * allowed object is |
126 | * {@link String } |
127 | * |
128 | */ |
129 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
130 | public void setPublicId(String value) { |
131 | this.publicId = value; |
132 | } |
133 | |
134 | /** |
135 | * The system identifier of the referenced schema. |
136 | * |
137 | * @return |
138 | * possible object is |
139 | * {@link String } |
140 | * |
141 | */ |
142 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
143 | public String getSystemId() { |
144 | return systemId; |
145 | } |
146 | |
147 | /** |
148 | * Sets the value of the systemId property. |
149 | * |
150 | * @param value |
151 | * allowed object is |
152 | * {@link String } |
153 | * |
154 | */ |
155 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
156 | public void setSystemId(String value) { |
157 | this.systemId = value; |
158 | } |
159 | |
160 | /** |
161 | * The name of the Java package containing JAXB classes of the referenced schema or {@code null}. |
162 | * |
163 | * @return |
164 | * possible object is |
165 | * {@link String } |
166 | * |
167 | */ |
168 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
169 | public String getContextId() { |
170 | return contextId; |
171 | } |
172 | |
173 | /** |
174 | * Sets the value of the contextId property. |
175 | * |
176 | * @param value |
177 | * allowed object is |
178 | * {@link String } |
179 | * |
180 | */ |
181 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
182 | public void setContextId(String value) { |
183 | this.contextId = value; |
184 | } |
185 | |
186 | /** |
187 | * The Java classpath location of the referenced schema or {@code null}. |
188 | * |
189 | * @return |
190 | * possible object is |
191 | * {@link String } |
192 | * |
193 | */ |
194 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
195 | public String getClasspathId() { |
196 | return classpathId; |
197 | } |
198 | |
199 | /** |
200 | * Sets the value of the classpathId property. |
201 | * |
202 | * @param value |
203 | * allowed object is |
204 | * {@link String } |
205 | * |
206 | */ |
207 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
208 | public void setClasspathId(String value) { |
209 | this.classpathId = value; |
210 | } |
211 | |
212 | /** |
213 | * Creates and returns a deep copy of this object. |
214 | * |
215 | * |
216 | * @return |
217 | * A deep copy of this object. |
218 | */ |
219 | @Override |
220 | @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-02-03T01:25:12+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833") |
221 | public Schema clone() { |
222 | // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000 |
223 | return new Schema(this); |
224 | } |
225 | |
226 | } |