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: 2010.06.29 at 01:09:34 AM CEST 
006    //
007    
008    
009    package org.jomc.tools.model;
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.XmlElement;
016    import javax.xml.bind.annotation.XmlType;
017    
018    
019    /**
020     * <p>Java class for SourceFileType complex type.
021     * 
022     * <p>The following schema fragment specifies the expected content contained within this class.
023     * 
024     * <pre>
025     * &lt;complexType name="SourceFileType">
026     *   &lt;complexContent>
027     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
028     *       &lt;sequence>
029     *         &lt;element ref="{http://jomc.org/tools/model}source-sections" minOccurs="0"/>
030     *       &lt;/sequence>
031     *       &lt;attribute name="identifier" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
032     *       &lt;attribute name="location" use="required" type="{http://www.w3.org/2001/XMLSchema}string" />
033     *       &lt;attribute name="template" type="{http://www.w3.org/2001/XMLSchema}string" />
034     *     &lt;/restriction>
035     *   &lt;/complexContent>
036     * &lt;/complexType>
037     * </pre>
038     * 
039     * 
040     */
041    @XmlAccessorType(XmlAccessType.FIELD)
042    @XmlType(name = "SourceFileType", propOrder = {
043        "sourceSections"
044    })
045    @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
046    public class SourceFileType implements Cloneable
047    {
048    
049        @XmlElement(name = "source-sections")
050        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
051        protected SourceSectionsType sourceSections;
052        @XmlAttribute(required = true)
053        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
054        protected String identifier;
055        @XmlAttribute(required = true)
056        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
057        protected String location;
058        @XmlAttribute
059        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
060        protected String template;
061    
062        /**
063         * Creates a new {@code SourceFileType} instance.
064         * 
065         */
066        public SourceFileType() {
067            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
068            super();
069        }
070    
071        /**
072         * Creates a new {@code SourceFileType} instance by deeply copying a given {@code SourceFileType} instance.
073         * 
074         * 
075         * @param o
076         *     The instance to copy.
077         * @throws NullPointerException
078         *     if {@code o} is {@code null}.
079         */
080        public SourceFileType(final SourceFileType o) {
081            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
082            super();
083            if (o == null) {
084                throw new NullPointerException("Cannot create a copy of 'SourceFileType' from 'null'.");
085            }
086            // CClassInfo: org.jomc.tools.model.SourceSectionsType
087            this.sourceSections = ((o.getSourceSections() == null)?null:o.getSourceSections().clone());
088            // CBuiltinLeafInfo: java.lang.String
089            this.identifier = o.getIdentifier();
090            // CBuiltinLeafInfo: java.lang.String
091            this.location = o.getLocation();
092            // CBuiltinLeafInfo: java.lang.String
093            this.template = o.getTemplate();
094        }
095    
096        /**
097         * Sections of the source file.
098         * 
099         * @return
100         *     possible object is
101         *     {@link SourceSectionsType }
102         *     
103         */
104        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
105        public SourceSectionsType getSourceSections() {
106            return sourceSections;
107        }
108    
109        /**
110         * Sets the value of the sourceSections property.
111         * 
112         * @param value
113         *     allowed object is
114         *     {@link SourceSectionsType }
115         *     
116         */
117        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
118        public void setSourceSections(SourceSectionsType value) {
119            this.sourceSections = value;
120        }
121    
122        /**
123         * Gets the value of the identifier property.
124         * 
125         * @return
126         *     possible object is
127         *     {@link String }
128         *     
129         */
130        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
131        public String getIdentifier() {
132            return identifier;
133        }
134    
135        /**
136         * Sets the value of the identifier property.
137         * 
138         * @param value
139         *     allowed object is
140         *     {@link String }
141         *     
142         */
143        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
144        public void setIdentifier(String value) {
145            this.identifier = value;
146        }
147    
148        /**
149         * Gets the value of the location property.
150         * 
151         * @return
152         *     possible object is
153         *     {@link String }
154         *     
155         */
156        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
157        public String getLocation() {
158            return location;
159        }
160    
161        /**
162         * Sets the value of the location property.
163         * 
164         * @param value
165         *     allowed object is
166         *     {@link String }
167         *     
168         */
169        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
170        public void setLocation(String value) {
171            this.location = value;
172        }
173    
174        /**
175         * Gets the value of the template property.
176         * 
177         * @return
178         *     possible object is
179         *     {@link String }
180         *     
181         */
182        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
183        public String getTemplate() {
184            return template;
185        }
186    
187        /**
188         * Sets the value of the template property.
189         * 
190         * @param value
191         *     allowed object is
192         *     {@link String }
193         *     
194         */
195        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
196        public void setTemplate(String value) {
197            this.template = value;
198        }
199    
200        /**
201         * Creates and returns a deep copy of this object.
202         * 
203         * 
204         * @return
205         *     A deep copy of this object.
206         */
207        @Override
208        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-06-29T01:09:34+02:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
209        public SourceFileType clone() {
210            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
211            return new SourceFileType(this);
212        }
213    
214    }