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="{}Y-Axis"/>
033     *         &lt;element ref="{}TelemetryPoint" maxOccurs="unbounded" minOccurs="0"/>
034     *       &lt;/sequence>
035     *       &lt;attribute ref="{}Name 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        "yAxis",
046        "telemetryPoint"
047    })
048    @XmlRootElement(name = "TelemetryStream")
049    public class TelemetryStream
050        implements Serializable
051    {
052    
053        private final static long serialVersionUID = 12343L;
054        @XmlElement(name = "Y-Axis", required = true)
055        protected YAxis yAxis;
056        @XmlElement(name = "TelemetryPoint")
057        protected List<TelemetryPoint> telemetryPoint;
058        @XmlAttribute(name = "Name", required = true)
059        protected String name;
060    
061        /**
062         * Gets the value of the yAxis property.
063         * 
064         * @return
065         *     possible object is
066         *     {@link YAxis }
067         *     
068         */
069        public YAxis getYAxis() {
070            return yAxis;
071        }
072    
073        /**
074         * Sets the value of the yAxis property.
075         * 
076         * @param value
077         *     allowed object is
078         *     {@link YAxis }
079         *     
080         */
081        public void setYAxis(YAxis value) {
082            this.yAxis = value;
083        }
084    
085        public boolean isSetYAxis() {
086            return (this.yAxis!= null);
087        }
088    
089        /**
090         * Gets the value of the telemetryPoint property.
091         * 
092         * <p>
093         * This accessor method returns a reference to the live list,
094         * not a snapshot. Therefore any modification you make to the
095         * returned list will be present inside the JAXB object.
096         * This is why there is not a <CODE>set</CODE> method for the telemetryPoint property.
097         * 
098         * <p>
099         * For example, to add a new item, do as follows:
100         * <pre>
101         *    getTelemetryPoint().add(newItem);
102         * </pre>
103         * 
104         * 
105         * <p>
106         * Objects of the following type(s) are allowed in the list
107         * {@link TelemetryPoint }
108         * 
109         * 
110         */
111        public List<TelemetryPoint> getTelemetryPoint() {
112            if (telemetryPoint == null) {
113                telemetryPoint = new ArrayList<TelemetryPoint>();
114            }
115            return this.telemetryPoint;
116        }
117    
118        public boolean isSetTelemetryPoint() {
119            return ((this.telemetryPoint!= null)&&(!this.telemetryPoint.isEmpty()));
120        }
121    
122        public void unsetTelemetryPoint() {
123            this.telemetryPoint = null;
124        }
125    
126        /**
127         * Gets the value of the name property.
128         * 
129         * @return
130         *     possible object is
131         *     {@link String }
132         *     
133         */
134        public String getName() {
135            return name;
136        }
137    
138        /**
139         * Sets the value of the name property.
140         * 
141         * @param value
142         *     allowed object is
143         *     {@link String }
144         *     
145         */
146        public void setName(String value) {
147            this.name = value;
148        }
149    
150        public boolean isSetName() {
151            return (this.name!= null);
152        }
153    
154    }