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:10 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensorbase.resource.sensordata.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.XmlSchemaType;
020    import javax.xml.bind.annotation.XmlType;
021    import javax.xml.datatype.XMLGregorianCalendar;
022    
023    
024    /**
025     * <p>Java class for anonymous complex type.
026     * 
027     * <p>The following schema fragment specifies the expected content contained within this class.
028     * 
029     * <pre>
030     * &lt;complexType>
031     *   &lt;complexContent>
032     *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
033     *       &lt;sequence>
034     *         &lt;element ref="{}SensorDataRef" maxOccurs="unbounded" minOccurs="0"/>
035     *       &lt;/sequence>
036     *       &lt;attribute ref="{}LastMod use="required""/>
037     *     &lt;/restriction>
038     *   &lt;/complexContent>
039     * &lt;/complexType>
040     * </pre>
041     * 
042     * 
043     */
044    @XmlAccessorType(XmlAccessType.FIELD)
045    @XmlType(name = "", propOrder = {
046        "sensorDataRef"
047    })
048    @XmlRootElement(name = "SensorDataIndex")
049    public class SensorDataIndex
050        implements Serializable
051    {
052    
053        private final static long serialVersionUID = 12343L;
054        @XmlElement(name = "SensorDataRef")
055        protected List<SensorDataRef> sensorDataRef;
056        @XmlAttribute(name = "LastMod", required = true)
057        @XmlSchemaType(name = "dateTime")
058        protected XMLGregorianCalendar lastMod;
059    
060        /**
061         * Gets the value of the sensorDataRef property.
062         * 
063         * <p>
064         * This accessor method returns a reference to the live list,
065         * not a snapshot. Therefore any modification you make to the
066         * returned list will be present inside the JAXB object.
067         * This is why there is not a <CODE>set</CODE> method for the sensorDataRef property.
068         * 
069         * <p>
070         * For example, to add a new item, do as follows:
071         * <pre>
072         *    getSensorDataRef().add(newItem);
073         * </pre>
074         * 
075         * 
076         * <p>
077         * Objects of the following type(s) are allowed in the list
078         * {@link SensorDataRef }
079         * 
080         * 
081         */
082        public List<SensorDataRef> getSensorDataRef() {
083            if (sensorDataRef == null) {
084                sensorDataRef = new ArrayList<SensorDataRef>();
085            }
086            return this.sensorDataRef;
087        }
088    
089        public boolean isSetSensorDataRef() {
090            return ((this.sensorDataRef!= null)&&(!this.sensorDataRef.isEmpty()));
091        }
092    
093        public void unsetSensorDataRef() {
094            this.sensorDataRef = null;
095        }
096    
097        /**
098         * Gets the value of the lastMod property.
099         * 
100         * @return
101         *     possible object is
102         *     {@link XMLGregorianCalendar }
103         *     
104         */
105        public XMLGregorianCalendar getLastMod() {
106            return lastMod;
107        }
108    
109        /**
110         * Sets the value of the lastMod property.
111         * 
112         * @param value
113         *     allowed object is
114         *     {@link XMLGregorianCalendar }
115         *     
116         */
117        public void setLastMod(XMLGregorianCalendar value) {
118            this.lastMod = value;
119        }
120    
121        public boolean isSetLastMod() {
122            return (this.lastMod!= null);
123        }
124    
125    }