001 //
002 // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, vhudson-jaxb-ri-2.1-833
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: 2009.12.07 at 03:06:36 AM UTC
006 //
007
008
009 package org.jomc.model.bootstrap;
010
011 import javax.annotation.Generated;
012 import javax.xml.bind.annotation.XmlAccessType;
013 import javax.xml.bind.annotation.XmlAccessorType;
014 import javax.xml.bind.annotation.XmlAttribute;
015 import javax.xml.bind.annotation.XmlType;
016 import javax.xml.bind.annotation.adapters.CollapsedStringAdapter;
017 import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
018
019
020 /**
021 *
022 * Reference to a schema.
023 *
024 * The 'Schema' type defines attributes 'public-id', 'system-id', 'context-id' and 'classpath-id'. Attribute 'public-id'
025 * holds the public identifier of the referenced schema. Attribute 'system-id' holds the system identifier of the
026 * referenced schema. Attribute 'context-id' holds the name of the Java package containing JAXB classes of the referenced
027 * schema. Attribute 'classpath-id' holds the Java classpath location of the referenced schema.
028 *
029 *
030 * <p>Java class for Schema complex type.
031 *
032 * <p>The following schema fragment specifies the expected content contained within this class.
033 *
034 * <pre>
035 * <complexType name="Schema">
036 * <complexContent>
037 * <extension base="{http://jomc.org/model/bootstrap}BootstrapObject">
038 * <attribute name="public-id" use="required" type="{http://jomc.org/model/bootstrap}Identifier" />
039 * <attribute name="system-id" use="required" type="{http://jomc.org/model/bootstrap}Identifier" />
040 * <attribute name="context-id" type="{http://jomc.org/model/bootstrap}Identifier" />
041 * <attribute name="classpath-id" type="{http://jomc.org/model/bootstrap}Identifier" />
042 * </extension>
043 * </complexContent>
044 * </complexType>
045 * </pre>
046 *
047 *
048 */
049 @XmlAccessorType(XmlAccessType.FIELD)
050 @XmlType(name = "Schema")
051 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-12-07T03:06:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
052 public class Schema
053 extends BootstrapObject
054 implements Cloneable
055 {
056
057 @XmlAttribute(name = "public-id", required = true)
058 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
059 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-12-07T03:06:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
060 protected String publicId;
061 @XmlAttribute(name = "system-id", required = true)
062 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
063 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-12-07T03:06:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
064 protected String systemId;
065 @XmlAttribute(name = "context-id")
066 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
067 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-12-07T03:06:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
068 protected String contextId;
069 @XmlAttribute(name = "classpath-id")
070 @XmlJavaTypeAdapter(CollapsedStringAdapter.class)
071 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-12-07T03:06:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
072 protected String classpathId;
073
074 /**
075 * Creates a new {@code Schema} instance.
076 *
077 */
078 public Schema() {
079 // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000
080 super();
081 }
082
083 /**
084 * Creates a new {@code Schema} instance by deeply copying a given {@code Schema} instance.
085 *
086 *
087 * @param o
088 * The instance to copy.
089 * @throws NullPointerException
090 * if {@code o} is {@code null}.
091 */
092 public Schema(final Schema o) {
093 // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000
094 super(o);
095 if (o == null) {
096 throw new NullPointerException("Cannot create a copy of 'Schema' from 'null'.");
097 }
098 // CBuiltinLeafInfo: java.lang.String
099 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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 = "2009-12-07T03:06:36+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 }