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.03.07 at 09:32:55 PM UTC 
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="template" type="{http://www.w3.org/2001/XMLSchema}string" />
033     *     &lt;/restriction>
034     *   &lt;/complexContent>
035     * &lt;/complexType>
036     * </pre>
037     * 
038     * 
039     */
040    @XmlAccessorType(XmlAccessType.FIELD)
041    @XmlType(name = "SourceFileType", propOrder = {
042        "sourceSections"
043    })
044    @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
045    public class SourceFileType implements Cloneable
046    {
047    
048        @XmlElement(name = "source-sections")
049        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
050        protected SourceSectionsType sourceSections;
051        @XmlAttribute(required = true)
052        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
053        protected String identifier;
054        @XmlAttribute
055        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
056        protected String template;
057    
058        /**
059         * Creates a new {@code SourceFileType} instance.
060         * 
061         */
062        public SourceFileType() {
063            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
064            super();
065        }
066    
067        /**
068         * Creates a new {@code SourceFileType} instance by deeply copying a given {@code SourceFileType} instance.
069         * 
070         * 
071         * @param o
072         *     The instance to copy.
073         * @throws NullPointerException
074         *     if {@code o} is {@code null}.
075         */
076        public SourceFileType(final SourceFileType o) {
077            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
078            super();
079            if (o == null) {
080                throw new NullPointerException("Cannot create a copy of 'SourceFileType' from 'null'.");
081            }
082            // CClassInfo: org.jomc.tools.model.SourceSectionsType
083            this.sourceSections = ((o.getSourceSections() == null)?null:o.getSourceSections().clone());
084            // CBuiltinLeafInfo: java.lang.String
085            this.identifier = o.getIdentifier();
086            // CBuiltinLeafInfo: java.lang.String
087            this.template = o.getTemplate();
088        }
089    
090        /**
091         * Sections of the source file.
092         * 
093         * @return
094         *     possible object is
095         *     {@link SourceSectionsType }
096         *     
097         */
098        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
099        public SourceSectionsType getSourceSections() {
100            return sourceSections;
101        }
102    
103        /**
104         * Sets the value of the sourceSections property.
105         * 
106         * @param value
107         *     allowed object is
108         *     {@link SourceSectionsType }
109         *     
110         */
111        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
112        public void setSourceSections(SourceSectionsType value) {
113            this.sourceSections = value;
114        }
115    
116        /**
117         * Gets the value of the identifier property.
118         * 
119         * @return
120         *     possible object is
121         *     {@link String }
122         *     
123         */
124        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
125        public String getIdentifier() {
126            return identifier;
127        }
128    
129        /**
130         * Sets the value of the identifier property.
131         * 
132         * @param value
133         *     allowed object is
134         *     {@link String }
135         *     
136         */
137        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
138        public void setIdentifier(String value) {
139            this.identifier = value;
140        }
141    
142        /**
143         * Gets the value of the template property.
144         * 
145         * @return
146         *     possible object is
147         *     {@link String }
148         *     
149         */
150        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
151        public String getTemplate() {
152            return template;
153        }
154    
155        /**
156         * Sets the value of the template property.
157         * 
158         * @param value
159         *     allowed object is
160         *     {@link String }
161         *     
162         */
163        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
164        public void setTemplate(String value) {
165            this.template = value;
166        }
167    
168        /**
169         * Creates and returns a deep copy of this object.
170         * 
171         * 
172         * @return
173         *     A deep copy of this object.
174         */
175        @Override
176        @Generated(value = "com.sun.tools.xjc.Driver", date = "2010-03-07T09:32:55+00:00", comments = "JAXB RI vhudson-jaxb-ri-2.1-833")
177        public SourceFileType clone() {
178            // CC-XJC Version 1.3 Build 2010-02-27T15:04:03+0000
179            return new SourceFileType(this);
180        }
181    
182    }