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.07.15 at 10:02:34 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.telemetry.service.resource.chart.jaxb;
010    
011    import java.io.Serializable;
012    import java.util.ArrayList;
013    import java.util.List;
014    import javax.xml.bind.annotation.XmlAccessType;
015    import javax.xml.bind.annotation.XmlAccessorType;
016    import javax.xml.bind.annotation.XmlAttribute;
017    import javax.xml.bind.annotation.XmlElement;
018    import javax.xml.bind.annotation.XmlRootElement;
019    import javax.xml.bind.annotation.XmlType;
020    
021    
022    /**
023     * <p>Java class for anonymous complex type.
024     * 
025     * <p>The following schema fragment specifies the expected content contained within this class.
026     * 
027     * <pre>
028     * &lt;complexType>
029     *   &lt;complexContent>
030     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
031     *       &lt;sequence>
032     *         &lt;element ref="{}Parameter" maxOccurs="unbounded" minOccurs="0"/>
033     *         &lt;element ref="{}TelemetryStream" maxOccurs="unbounded" minOccurs="0"/>
034     *       &lt;/sequence>
035     *       &lt;attribute ref="{}URI use="required""/>
036     *     &lt;/restriction>
037     *   &lt;/complexContent>
038     * &lt;/complexType>
039     * </pre>
040     * 
041     * 
042     */
043    @XmlAccessorType(XmlAccessType.FIELD)
044    @XmlType(name = "", propOrder = {
045        "parameter",
046        "telemetryStream"
047    })
048    @XmlRootElement(name = "TelemetryChartData")
049    public class TelemetryChartData
050        implements Serializable
051    {
052    
053        private final static long serialVersionUID = 12343L;
054        @XmlElement(name = "Parameter")
055        protected List<Parameter> parameter;
056        @XmlElement(name = "TelemetryStream")
057        protected List<TelemetryStream> telemetryStream;
058        @XmlAttribute(name = "URI", required = true)
059        protected String uri;
060    
061        /**
062         * Gets the value of the parameter property.
063         * 
064         * <p>
065         * This accessor method returns a reference to the live list,
066         * not a snapshot. Therefore any modification you make to the
067         * returned list will be present inside the JAXB object.
068         * This is why there is not a <CODE>set</CODE> method for the parameter property.
069         * 
070         * <p>
071         * For example, to add a new item, do as follows:
072         * <pre>
073         *    getParameter().add(newItem);
074         * </pre>
075         * 
076         * 
077         * <p>
078         * Objects of the following type(s) are allowed in the list
079         * {@link Parameter }
080         * 
081         * 
082         */
083        public List<Parameter> getParameter() {
084            if (parameter == null) {
085                parameter = new ArrayList<Parameter>();
086            }
087            return this.parameter;
088        }
089    
090        public boolean isSetParameter() {
091            return ((this.parameter!= null)&&(!this.parameter.isEmpty()));
092        }
093    
094        public void unsetParameter() {
095            this.parameter = null;
096        }
097    
098        /**
099         * Gets the value of the telemetryStream property.
100         * 
101         * <p>
102         * This accessor method returns a reference to the live list,
103         * not a snapshot. Therefore any modification you make to the
104         * returned list will be present inside the JAXB object.
105         * This is why there is not a <CODE>set</CODE> method for the telemetryStream property.
106         * 
107         * <p>
108         * For example, to add a new item, do as follows:
109         * <pre>
110         *    getTelemetryStream().add(newItem);
111         * </pre>
112         * 
113         * 
114         * <p>
115         * Objects of the following type(s) are allowed in the list
116         * {@link TelemetryStream }
117         * 
118         * 
119         */
120        public List<TelemetryStream> getTelemetryStream() {
121            if (telemetryStream == null) {
122                telemetryStream = new ArrayList<TelemetryStream>();
123            }
124            return this.telemetryStream;
125        }
126    
127        public boolean isSetTelemetryStream() {
128            return ((this.telemetryStream!= null)&&(!this.telemetryStream.isEmpty()));
129        }
130    
131        public void unsetTelemetryStream() {
132            this.telemetryStream = null;
133        }
134    
135        /**
136         * Gets the value of the uri property.
137         * 
138         * @return
139         *     possible object is
140         *     {@link String }
141         *     
142         */
143        public String getURI() {
144            return uri;
145        }
146    
147        /**
148         * Sets the value of the uri property.
149         * 
150         * @param value
151         *     allowed object is
152         *     {@link String }
153         *     
154         */
155        public void setURI(String value) {
156            this.uri = value;
157        }
158    
159        public boolean isSetURI() {
160            return (this.uri!= null);
161        }
162    
163    }