
eu.datex2.schema._2._2_0.MaintenanceVehicles 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;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter2;
/**
* Java class for MaintenanceVehicles complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="MaintenanceVehicles">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="numberOfMaintenanceVehicles" type="{http://datex2.eu/schema/2/2_0}NonNegativeInteger" minOccurs="0"/>
* <element name="maintenanceVehicleActions" type="{http://datex2.eu/schema/2/2_0}MaintenanceVehicleActionsEnum" maxOccurs="unbounded" minOccurs="0"/>
* <element name="maintenanceVehiclesExtension" type="{http://datex2.eu/schema/2/2_0}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MaintenanceVehicles", propOrder = {
"numberOfMaintenanceVehicles",
"maintenanceVehicleActions",
"maintenanceVehiclesExtension"
})
public class MaintenanceVehicles {
@XmlElement(type = String.class)
@XmlJavaTypeAdapter(Adapter2 .class)
@XmlSchemaType(name = "nonNegativeInteger")
protected Long numberOfMaintenanceVehicles;
@XmlSchemaType(name = "string")
protected List maintenanceVehicleActions;
protected ExtensionType maintenanceVehiclesExtension;
/**
* Gets the value of the numberOfMaintenanceVehicles property.
*
* @return
* possible object is
* {@link String }
*
*/
public Long getNumberOfMaintenanceVehicles() {
return numberOfMaintenanceVehicles;
}
/**
* Sets the value of the numberOfMaintenanceVehicles property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setNumberOfMaintenanceVehicles(Long value) {
this.numberOfMaintenanceVehicles = value;
}
/**
* Gets the value of the maintenanceVehicleActions 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 maintenanceVehicleActions property.
*
*
* For example, to add a new item, do as follows:
*
* getMaintenanceVehicleActions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link MaintenanceVehicleActionsEnum }
*
*
*/
public List getMaintenanceVehicleActions() {
if (maintenanceVehicleActions == null) {
maintenanceVehicleActions = new ArrayList();
}
return this.maintenanceVehicleActions;
}
/**
* Gets the value of the maintenanceVehiclesExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getMaintenanceVehiclesExtension() {
return maintenanceVehiclesExtension;
}
/**
* Sets the value of the maintenanceVehiclesExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setMaintenanceVehiclesExtension(ExtensionType value) {
this.maintenanceVehiclesExtension = value;
}
}