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:07 AM GMT-10:00 
006    //
007    
008    
009    package org.hackystat.sensorbase.resource.sensordatatypes.jaxb;
010    
011    import java.io.Serializable;
012    import javax.xml.bind.annotation.XmlAccessType;
013    import javax.xml.bind.annotation.XmlAccessorType;
014    import javax.xml.bind.annotation.XmlAttribute;
015    import javax.xml.bind.annotation.XmlElement;
016    import javax.xml.bind.annotation.XmlRootElement;
017    import javax.xml.bind.annotation.XmlSchemaType;
018    import javax.xml.bind.annotation.XmlType;
019    import javax.xml.datatype.XMLGregorianCalendar;
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="{}Description"/>
033     *         &lt;element ref="{}RequiredFields"/>
034     *         &lt;element ref="{}Properties"/>
035     *       &lt;/sequence>
036     *       &lt;attribute ref="{}Name use="required""/>
037     *       &lt;attribute ref="{}LastMod"/>
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        "requiredFields",
049        "properties"
050    })
051    @XmlRootElement(name = "SensorDataType")
052    public class SensorDataType
053        implements Serializable
054    {
055    
056        private final static long serialVersionUID = 12343L;
057        @XmlElement(name = "Description", required = true)
058        protected String description;
059        @XmlElement(name = "RequiredFields", required = true)
060        protected RequiredFields requiredFields;
061        @XmlElement(name = "Properties", required = true)
062        protected Properties properties;
063        @XmlAttribute(name = "Name", required = true)
064        protected String name;
065        @XmlAttribute(name = "LastMod")
066        @XmlSchemaType(name = "dateTime")
067        protected XMLGregorianCalendar lastMod;
068    
069        /**
070         * Gets the value of the description property.
071         * 
072         * @return
073         *     possible object is
074         *     {@link String }
075         *     
076         */
077        public String getDescription() {
078            return description;
079        }
080    
081        /**
082         * Sets the value of the description property.
083         * 
084         * @param value
085         *     allowed object is
086         *     {@link String }
087         *     
088         */
089        public void setDescription(String value) {
090            this.description = value;
091        }
092    
093        public boolean isSetDescription() {
094            return (this.description!= null);
095        }
096    
097        /**
098         * Gets the value of the requiredFields property.
099         * 
100         * @return
101         *     possible object is
102         *     {@link RequiredFields }
103         *     
104         */
105        public RequiredFields getRequiredFields() {
106            return requiredFields;
107        }
108    
109        /**
110         * Sets the value of the requiredFields property.
111         * 
112         * @param value
113         *     allowed object is
114         *     {@link RequiredFields }
115         *     
116         */
117        public void setRequiredFields(RequiredFields value) {
118            this.requiredFields = value;
119        }
120    
121        public boolean isSetRequiredFields() {
122            return (this.requiredFields!= null);
123        }
124    
125        /**
126         * Gets the value of the properties property.
127         * 
128         * @return
129         *     possible object is
130         *     {@link Properties }
131         *     
132         */
133        public Properties getProperties() {
134            return properties;
135        }
136    
137        /**
138         * Sets the value of the properties property.
139         * 
140         * @param value
141         *     allowed object is
142         *     {@link Properties }
143         *     
144         */
145        public void setProperties(Properties value) {
146            this.properties = value;
147        }
148    
149        public boolean isSetProperties() {
150            return (this.properties!= null);
151        }
152    
153        /**
154         * Gets the value of the name property.
155         * 
156         * @return
157         *     possible object is
158         *     {@link String }
159         *     
160         */
161        public String getName() {
162            return name;
163        }
164    
165        /**
166         * Sets the value of the name property.
167         * 
168         * @param value
169         *     allowed object is
170         *     {@link String }
171         *     
172         */
173        public void setName(String value) {
174            this.name = value;
175        }
176    
177        public boolean isSetName() {
178            return (this.name!= null);
179        }
180    
181        /**
182         * Gets the value of the lastMod property.
183         * 
184         * @return
185         *     possible object is
186         *     {@link XMLGregorianCalendar }
187         *     
188         */
189        public XMLGregorianCalendar getLastMod() {
190            return lastMod;
191        }
192    
193        /**
194         * Sets the value of the lastMod property.
195         * 
196         * @param value
197         *     allowed object is
198         *     {@link XMLGregorianCalendar }
199         *     
200         */
201        public void setLastMod(XMLGregorianCalendar value) {
202            this.lastMod = value;
203        }
204    
205        public boolean isSetLastMod() {
206            return (this.lastMod!= null);
207        }
208    
209    }