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.10.06 at 06:45:27 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-10-06T06:45:27+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-10-06T06:45:27+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-10-06T06:45:27+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-10-06T06:45:27+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-10-06T06:45:27+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.0 Build 2009-09-18T15:48:40+0000
056            super();
057        }
058    
059        /**
060         * Creates a new {@code Schema} instance by deeply copying a given instance.
061         * 
062         * @param o
063         *     The instance to copy or {@code null}.
064         */
065        public Schema(final Schema o) {
066             // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
067            super(o);
068            if (o!= null) {
069                {
070                    // CBuiltinLeafInfo: java.lang.String
071                    this.publicId = ((String) o.getPublicId());
072                    // CBuiltinLeafInfo: java.lang.String
073                    this.systemId = ((String) o.getSystemId());
074                    // CBuiltinLeafInfo: java.lang.String
075                    this.contextId = ((String) o.getContextId());
076                    // CBuiltinLeafInfo: java.lang.String
077                    this.classpathId = ((String) o.getClasspathId());
078                }
079            }
080        }
081    
082        /**
083         * The public id of the schema.
084         * 
085         * @return
086         *     possible object is
087         *     {@link String }
088         *     
089         */
090        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
091        public String getPublicId() {
092            return publicId;
093        }
094    
095        /**
096         * Sets the value of the publicId property.
097         * 
098         * @param value
099         *     allowed object is
100         *     {@link String }
101         *     
102         */
103        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
104        public void setPublicId(String value) {
105            this.publicId = value;
106        }
107    
108        /**
109         * The system id of the schema.
110         * 
111         * @return
112         *     possible object is
113         *     {@link String }
114         *     
115         */
116        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
117        public String getSystemId() {
118            return systemId;
119        }
120    
121        /**
122         * Sets the value of the systemId property.
123         * 
124         * @param value
125         *     allowed object is
126         *     {@link String }
127         *     
128         */
129        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
130        public void setSystemId(String value) {
131            this.systemId = value;
132        }
133    
134        /**
135         * The context id of the schema.
136         * 
137         * @return
138         *     possible object is
139         *     {@link String }
140         *     
141         */
142        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
143        public String getContextId() {
144            return contextId;
145        }
146    
147        /**
148         * Sets the value of the contextId property.
149         * 
150         * @param value
151         *     allowed object is
152         *     {@link String }
153         *     
154         */
155        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
156        public void setContextId(String value) {
157            this.contextId = value;
158        }
159    
160        /**
161         * The classpath id of the schema.
162         * 
163         * @return
164         *     possible object is
165         *     {@link String }
166         *     
167         */
168        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
169        public String getClasspathId() {
170            return classpathId;
171        }
172    
173        /**
174         * Sets the value of the classpathId property.
175         * 
176         * @param value
177         *     allowed object is
178         *     {@link String }
179         *     
180         */
181        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
182        public void setClasspathId(String value) {
183            this.classpathId = value;
184        }
185    
186        /**
187         * Creates and returns a deep copy of this object.
188         * 
189         * 
190         * @return
191         *     A deep copy of this object.
192         */
193        @Override
194        @Generated(value = "com.sun.tools.xjc.Driver", date = "2009-10-06T06:45:27+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
195        public Schema clone() {
196             // CC-XJC Version 1.0 Build 2009-09-18T15:48:40+0000
197            return new Schema(this);
198        }
199    
200    }