001    //
002    // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.1.5-b01-fcs 
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: 2008.02.16 at 08:42:12 AM HST 
006    //
007    
008    
009    package org.hackystat.telemetry.analyzer.configuration.jaxb;
010    
011    import java.util.ArrayList;
012    import java.util.List;
013    import javax.xml.bind.annotation.XmlAccessType;
014    import javax.xml.bind.annotation.XmlAccessorType;
015    import javax.xml.bind.annotation.XmlAttribute;
016    import javax.xml.bind.annotation.XmlElement;
017    import javax.xml.bind.annotation.XmlRootElement;
018    import javax.xml.bind.annotation.XmlType;
019    
020    
021    /**
022     * <p>Java class for anonymous complex type.
023     * 
024     * <p>The following schema fragment specifies the expected content contained within this class.
025     * 
026     * <pre>
027     * &lt;complexType>
028     *   &lt;complexContent>
029     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
030     *       &lt;sequence>
031     *         &lt;element ref="{}Description" minOccurs="0"/>
032     *         &lt;element ref="{}Parameter" maxOccurs="unbounded" minOccurs="0"/>
033     *         &lt;element ref="{}SourceCode"/>
034     *       &lt;/sequence>
035     *       &lt;attribute ref="{}DefinitionType use="required""/>
036     *       &lt;attribute ref="{}ShareScope use="required""/>
037     *       &lt;attribute ref="{}Name use="required""/>
038     *     &lt;/restriction>
039     *   &lt;/complexContent>
040     * &lt;/complexType>
041     * </pre>
042     * 
043     * 
044     */
045    @XmlAccessorType(XmlAccessType.FIELD)
046    @XmlType(name = "", propOrder = {
047        "description",
048        "parameter",
049        "sourceCode"
050    })
051    @XmlRootElement(name = "TelemetryDefinition")
052    public class TelemetryDefinition {
053    
054        @XmlElement(name = "Description")
055        protected String description;
056        @XmlElement(name = "Parameter")
057        protected List<Parameter> parameter;
058        @XmlElement(name = "SourceCode", required = true)
059        protected String sourceCode;
060        @XmlAttribute(name = "DefinitionType", required = true)
061        protected String definitionType;
062        @XmlAttribute(name = "ShareScope", required = true)
063        protected String shareScope;
064        @XmlAttribute(name = "Name", required = true)
065        protected String name;
066    
067        /**
068         * Gets the value of the description property.
069         * 
070         * @return
071         *     possible object is
072         *     {@link String }
073         *     
074         */
075        public String getDescription() {
076            return description;
077        }
078    
079        /**
080         * Sets the value of the description property.
081         * 
082         * @param value
083         *     allowed object is
084         *     {@link String }
085         *     
086         */
087        public void setDescription(String value) {
088            this.description = value;
089        }
090    
091        /**
092         * Gets the value of the parameter property.
093         * 
094         * <p>
095         * This accessor method returns a reference to the live list,
096         * not a snapshot. Therefore any modification you make to the
097         * returned list will be present inside the JAXB object.
098         * This is why there is not a <CODE>set</CODE> method for the parameter property.
099         * 
100         * <p>
101         * For example, to add a new item, do as follows:
102         * <pre>
103         *    getParameter().add(newItem);
104         * </pre>
105         * 
106         * 
107         * <p>
108         * Objects of the following type(s) are allowed in the list
109         * {@link Parameter }
110         * 
111         * 
112         */
113        public List<Parameter> getParameter() {
114            if (parameter == null) {
115                parameter = new ArrayList<Parameter>();
116            }
117            return this.parameter;
118        }
119    
120        /**
121         * Gets the value of the sourceCode property.
122         * 
123         * @return
124         *     possible object is
125         *     {@link String }
126         *     
127         */
128        public String getSourceCode() {
129            return sourceCode;
130        }
131    
132        /**
133         * Sets the value of the sourceCode property.
134         * 
135         * @param value
136         *     allowed object is
137         *     {@link String }
138         *     
139         */
140        public void setSourceCode(String value) {
141            this.sourceCode = value;
142        }
143    
144        /**
145         * Gets the value of the definitionType property.
146         * 
147         * @return
148         *     possible object is
149         *     {@link String }
150         *     
151         */
152        public String getDefinitionType() {
153            return definitionType;
154        }
155    
156        /**
157         * Sets the value of the definitionType property.
158         * 
159         * @param value
160         *     allowed object is
161         *     {@link String }
162         *     
163         */
164        public void setDefinitionType(String value) {
165            this.definitionType = value;
166        }
167    
168        /**
169         * Gets the value of the shareScope property.
170         * 
171         * @return
172         *     possible object is
173         *     {@link String }
174         *     
175         */
176        public String getShareScope() {
177            return shareScope;
178        }
179    
180        /**
181         * Sets the value of the shareScope property.
182         * 
183         * @param value
184         *     allowed object is
185         *     {@link String }
186         *     
187         */
188        public void setShareScope(String value) {
189            this.shareScope = value;
190        }
191    
192        /**
193         * Gets the value of the name property.
194         * 
195         * @return
196         *     possible object is
197         *     {@link String }
198         *     
199         */
200        public String getName() {
201            return name;
202        }
203    
204        /**
205         * Sets the value of the name property.
206         * 
207         * @param value
208         *     allowed object is
209         *     {@link String }
210         *     
211         */
212        public void setName(String value) {
213            this.name = value;
214        }
215    
216    }