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.11.18 at 06:28: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
017
018 /**
019 * Model of a schema.
020 * <p>A schema consists of the properties {@code publicId}, {@code systemId},
021 * {@code contextId} and {@code classpathId}. Property {@code publicId} holds the
022 * public id of the schema. Property {@code systemId} holds the system id of the
023 * schema. Property {@code contextId} holds the JAXB context id of the schema.
024 * Property {@code classpathId} holds the classpath location of the schema.
025 *
026 *
027 *
028 */
029 @XmlAccessorType(XmlAccessType.FIELD)
030 @XmlType(name = "Schema")
031 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
032 public class Schema
033 extends BootstrapObject
034 implements Cloneable
035 {
036
037 @XmlAttribute(name = "public-id", required = true)
038 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
039 protected String publicId;
040 @XmlAttribute(name = "system-id", required = true)
041 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
042 protected String systemId;
043 @XmlAttribute(name = "context-id")
044 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
045 protected String contextId;
046 @XmlAttribute(name = "classpath-id")
047 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
048 protected String classpathId;
049
050 /**
051 * Creates a new {@code Schema} instance.
052 *
053 */
054 public Schema() {
055 // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000
056 super();
057 }
058
059 /**
060 * Creates a new {@code Schema} instance by deeply copying a given {@code Schema} instance.
061 *
062 *
063 * @param o
064 * The instance to copy.
065 * @throws NullPointerException
066 * if {@code o} is {@code null}.
067 */
068 public Schema(final Schema o) {
069 // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000
070 super(o);
071 if (o == null) {
072 throw new NullPointerException("Cannot create a copy of 'Schema' from 'null'.");
073 }
074 // CBuiltinLeafInfo: java.lang.String
075 this.publicId = o.getPublicId();
076 // CBuiltinLeafInfo: java.lang.String
077 this.systemId = o.getSystemId();
078 // CBuiltinLeafInfo: java.lang.String
079 this.contextId = o.getContextId();
080 // CBuiltinLeafInfo: java.lang.String
081 this.classpathId = o.getClasspathId();
082 }
083
084 /**
085 * The public id of the schema.
086 *
087 * @return
088 * possible object is
089 * {@link String }
090 *
091 */
092 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
093 public String getPublicId() {
094 return publicId;
095 }
096
097 /**
098 * Sets the value of the publicId property.
099 *
100 * @param value
101 * allowed object is
102 * {@link String }
103 *
104 */
105 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
106 public void setPublicId(String value) {
107 this.publicId = value;
108 }
109
110 /**
111 * The system id of the schema.
112 *
113 * @return
114 * possible object is
115 * {@link String }
116 *
117 */
118 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
119 public String getSystemId() {
120 return systemId;
121 }
122
123 /**
124 * Sets the value of the systemId property.
125 *
126 * @param value
127 * allowed object is
128 * {@link String }
129 *
130 */
131 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
132 public void setSystemId(String value) {
133 this.systemId = value;
134 }
135
136 /**
137 * The context id of the schema or {@code null}.
138 *
139 * @return
140 * possible object is
141 * {@link String }
142 *
143 */
144 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
145 public String getContextId() {
146 return contextId;
147 }
148
149 /**
150 * Sets the value of the contextId property.
151 *
152 * @param value
153 * allowed object is
154 * {@link String }
155 *
156 */
157 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
158 public void setContextId(String value) {
159 this.contextId = value;
160 }
161
162 /**
163 * The classpath id of the schema or {@code null}.
164 *
165 * @return
166 * possible object is
167 * {@link String }
168 *
169 */
170 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
171 public String getClasspathId() {
172 return classpathId;
173 }
174
175 /**
176 * Sets the value of the classpathId property.
177 *
178 * @param value
179 * allowed object is
180 * {@link String }
181 *
182 */
183 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
184 public void setClasspathId(String value) {
185 this.classpathId = value;
186 }
187
188 /**
189 * Creates and returns a deep copy of this object.
190 *
191 *
192 * @return
193 * A deep copy of this object.
194 */
195 @Override
196 @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-11-18T06:28:36+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
197 public Schema clone() {
198 // CC-XJC Version 1.2 Build 2009-11-15T21:50:02+0000
199 return new Schema(this);
200 }
201
202 }