
eu.datex2.schema._2._2_0.RoadsideServiceDisruption 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
/**
* Java class for RoadsideServiceDisruption complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="RoadsideServiceDisruption">
* <complexContent>
* <extension base="{http://datex2.eu/schema/2/2_0}NonRoadEventInformation">
* <sequence>
* <element name="roadsideServiceDisruptionType" type="{http://datex2.eu/schema/2/2_0}RoadsideServiceDisruptionTypeEnum" maxOccurs="unbounded"/>
* <element name="roadsideServiceDisruptionExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RoadsideServiceDisruption", propOrder = {
"roadsideServiceDisruptionType",
"roadsideServiceDisruptionExtension"
})
public class RoadsideServiceDisruption
extends NonRoadEventInformation
{
@XmlElement(required = true)
@XmlSchemaType(name = "string")
protected List roadsideServiceDisruptionType;
protected ExtensionType roadsideServiceDisruptionExtension;
/**
* Gets the value of the roadsideServiceDisruptionType 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 roadsideServiceDisruptionType property.
*
*
* For example, to add a new item, do as follows:
*
* getRoadsideServiceDisruptionType().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoadsideServiceDisruptionTypeEnum }
*
*
*/
public List getRoadsideServiceDisruptionType() {
if (roadsideServiceDisruptionType == null) {
roadsideServiceDisruptionType = new ArrayList();
}
return this.roadsideServiceDisruptionType;
}
/**
* Gets the value of the roadsideServiceDisruptionExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getRoadsideServiceDisruptionExtension() {
return roadsideServiceDisruptionExtension;
}
/**
* Sets the value of the roadsideServiceDisruptionExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setRoadsideServiceDisruptionExtension(ExtensionType value) {
this.roadsideServiceDisruptionExtension = value;
}
}