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.06.27 at 11:37:11 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensorbase.resource.projects.jaxb;
010    
011    import java.io.Serializable;
012    import java.math.BigInteger;
013    import java.util.ArrayList;
014    import java.util.List;
015    import javax.xml.bind.annotation.XmlAccessType;
016    import javax.xml.bind.annotation.XmlAccessorType;
017    import javax.xml.bind.annotation.XmlAttribute;
018    import javax.xml.bind.annotation.XmlElement;
019    import javax.xml.bind.annotation.XmlRootElement;
020    import javax.xml.bind.annotation.XmlType;
021    
022    
023    /**
024     * <p>Java class for anonymous complex type.
025     * 
026     * <p>The following schema fragment specifies the expected content contained within this class.
027     * 
028     * <pre>
029     * &lt;complexType>
030     *   &lt;complexContent>
031     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
032     *       &lt;sequence>
033     *         &lt;element ref="{}SensorDataSummary" maxOccurs="unbounded" minOccurs="0"/>
034     *       &lt;/sequence>
035     *       &lt;attribute ref="{}NumInstances 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        "sensorDataSummary"
046    })
047    @XmlRootElement(name = "SensorDataSummaries")
048    public class SensorDataSummaries
049        implements Serializable
050    {
051    
052        private final static long serialVersionUID = 12343L;
053        @XmlElement(name = "SensorDataSummary")
054        protected List<SensorDataSummary> sensorDataSummary;
055        @XmlAttribute(name = "NumInstances", required = true)
056        protected BigInteger numInstances;
057    
058        /**
059         * Gets the value of the sensorDataSummary property.
060         * 
061         * <p>
062         * This accessor method returns a reference to the live list,
063         * not a snapshot. Therefore any modification you make to the
064         * returned list will be present inside the JAXB object.
065         * This is why there is not a <CODE>set</CODE> method for the sensorDataSummary property.
066         * 
067         * <p>
068         * For example, to add a new item, do as follows:
069         * <pre>
070         *    getSensorDataSummary().add(newItem);
071         * </pre>
072         * 
073         * 
074         * <p>
075         * Objects of the following type(s) are allowed in the list
076         * {@link SensorDataSummary }
077         * 
078         * 
079         */
080        public List<SensorDataSummary> getSensorDataSummary() {
081            if (sensorDataSummary == null) {
082                sensorDataSummary = new ArrayList<SensorDataSummary>();
083            }
084            return this.sensorDataSummary;
085        }
086    
087        public boolean isSetSensorDataSummary() {
088            return ((this.sensorDataSummary!= null)&&(!this.sensorDataSummary.isEmpty()));
089        }
090    
091        public void unsetSensorDataSummary() {
092            this.sensorDataSummary = null;
093        }
094    
095        /**
096         * Gets the value of the numInstances property.
097         * 
098         * @return
099         *     possible object is
100         *     {@link BigInteger }
101         *     
102         */
103        public BigInteger getNumInstances() {
104            return numInstances;
105        }
106    
107        /**
108         * Sets the value of the numInstances property.
109         * 
110         * @param value
111         *     allowed object is
112         *     {@link BigInteger }
113         *     
114         */
115        public void setNumInstances(BigInteger value) {
116            this.numInstances = value;
117        }
118    
119        public boolean isSetNumInstances() {
120            return (this.numInstances!= null);
121        }
122    
123    }