//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.4
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2013.01.08 at 04:48:15 PM CET
//
package it.polito.elite.dog.core.library.stream.source.mapping.xml;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
/**
* <p>Java class for sensorCollectionType complex type.
*
* <p>The following schema fragment specifies the expected content contained within this class.
*
* <pre>
* <complexType name="sensorCollectionType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="sensor" type="{http://elite.polito.it/xml/schema/sourceDeviceMapping}sensorData" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlRootElement(name="sourceDeviceMapping")
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sensorCollectionType", propOrder = {
"sensor"
})
public class SensorCollectionType {
@XmlElement(required = true)
protected List<SensorData> sensor;
/**
* Gets the value of the sensor property.
*
* <p>
* This accessor method returns a reference to the live list,
* not a snapshot. Therefore any modification you make to the
* returned list will be present inside the JAXB object.
* This is why there is not a <CODE>set</CODE> method for the sensor property.
*
* <p>
* For example, to add a new item, do as follows:
* <pre>
* getSensor().add(newItem);
* </pre>
*
*
* <p>
* Objects of the following type(s) are allowed in the list
* {@link SensorData }
*
*
*/
public List<SensorData> getSensor() {
if (sensor == null) {
sensor = new ArrayList<SensorData>();
}
return this.sensor;
}
}