
eu.datex2.schema._2._2_0.MeasuredDataPublication Maven / Gradle / Ivy
Show all versions of datex2-api Show documentation
package eu.datex2.schema._2._2_0;
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.XmlType;
/**
* Java class for MeasuredDataPublication complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MeasuredDataPublication">
* <complexContent>
* <extension base="{http://datex2.eu/schema/2/2_0}PayloadPublication">
* <sequence>
* <element name="measurementSiteTableReference" type="{http://datex2.eu/schema/2/2_0}_MeasurementSiteTableVersionedReference"/>
* <element name="headerInformation" type="{http://datex2.eu/schema/2/2_0}HeaderInformation"/>
* <element name="siteMeasurements" type="{http://datex2.eu/schema/2/2_0}SiteMeasurements" maxOccurs="unbounded"/>
* <element name="measuredDataPublicationExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MeasuredDataPublication", propOrder = {
"measurementSiteTableReference",
"headerInformation",
"siteMeasurements",
"measuredDataPublicationExtension"
})
public class MeasuredDataPublication
extends PayloadPublication
{
@XmlElement(required = true)
protected MeasurementSiteTableVersionedReference measurementSiteTableReference;
@XmlElement(required = true)
protected HeaderInformation headerInformation;
@XmlElement(required = true)
protected List siteMeasurements;
protected ExtensionType measuredDataPublicationExtension;
/**
* Gets the value of the measurementSiteTableReference property.
*
* @return
* possible object is
* {@link MeasurementSiteTableVersionedReference }
*
*/
public MeasurementSiteTableVersionedReference getMeasurementSiteTableReference() {
return measurementSiteTableReference;
}
/**
* Sets the value of the measurementSiteTableReference property.
*
* @param value
* allowed object is
* {@link MeasurementSiteTableVersionedReference }
*
*/
public void setMeasurementSiteTableReference(MeasurementSiteTableVersionedReference value) {
this.measurementSiteTableReference = value;
}
/**
* Gets the value of the headerInformation property.
*
* @return
* possible object is
* {@link HeaderInformation }
*
*/
public HeaderInformation getHeaderInformation() {
return headerInformation;
}
/**
* Sets the value of the headerInformation property.
*
* @param value
* allowed object is
* {@link HeaderInformation }
*
*/
public void setHeaderInformation(HeaderInformation value) {
this.headerInformation = value;
}
/**
* Gets the value of the siteMeasurements property.
*
*
* 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 set
method for the siteMeasurements property.
*
*
* For example, to add a new item, do as follows:
*
* getSiteMeasurements().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SiteMeasurements }
*
*
*/
public List getSiteMeasurements() {
if (siteMeasurements == null) {
siteMeasurements = new ArrayList();
}
return this.siteMeasurements;
}
/**
* Gets the value of the measuredDataPublicationExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getMeasuredDataPublicationExtension() {
return measuredDataPublicationExtension;
}
/**
* Sets the value of the measuredDataPublicationExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setMeasuredDataPublicationExtension(ExtensionType value) {
this.measuredDataPublicationExtension = value;
}
}