![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AffectedVehicleStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.NormalizedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import uk.org.acbs.siri20.AccessibilityAssessmentStructure;
/**
* Type for information about a VEHICLE affected by an SITUATION.
*
* Java class for AffectedVehicleStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedVehicleStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="VehicleRef" type="{http://www.siri.org.uk/siri}VehicleRefStructure"/>
* <element name="VehicleRegistrationNumberPlate" type="{http://www.w3.org/2001/XMLSchema}normalizedString" maxOccurs="unbounded" minOccurs="0"/>
* <element name="PhoneNumber" type="{http://www.siri.org.uk/siri}PhoneType" minOccurs="0"/>
* <element name="IPAddress" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
* <element name="RadioAddress" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
* <element name="FramedVehicleJourneyRef" type="{http://www.siri.org.uk/siri}FramedVehicleJourneyRefStructure" minOccurs="0"/>
* <element name="Location" type="{http://www.siri.org.uk/siri}LocationStructure" minOccurs="0"/>
* <element name="CurrentLocation" type="{http://www.siri.org.uk/siri}LocationStructure" minOccurs="0"/>
* <element name="AccessibilityAssessment" type="{http://www.ifopt.org.uk/acsb}AccessibilityAssessmentStructure" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}ServiceInfoGroup" minOccurs="0"/>
* <element name="TrainBlockPart" type="{http://www.siri.org.uk/siri}TrainBlockPartStructure" maxOccurs="unbounded" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}OperationalBlockGroup"/>
* <element name="InCongestion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="InPanic" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="HeadwayService" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedVehicleStructure", propOrder = {
"vehicleRef",
"vehicleRegistrationNumberPlates",
"phoneNumber",
"ipAddress",
"radioAddress",
"framedVehicleJourneyRef",
"location",
"currentLocation",
"accessibilityAssessment",
"operatorRef",
"productCategoryRef",
"serviceFeatureReves",
"vehicleFeatureReves",
"trainBlockParts",
"blockRef",
"courseOfJourneyRef",
"inCongestion",
"inPanic",
"headwayService",
"extensions"
})
public class AffectedVehicleStructure
implements Serializable
{
@XmlElement(name = "VehicleRef", required = true)
protected VehicleRef vehicleRef;
@XmlElement(name = "VehicleRegistrationNumberPlate")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected List vehicleRegistrationNumberPlates;
@XmlElement(name = "PhoneNumber")
protected String phoneNumber;
@XmlElement(name = "IPAddress")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String ipAddress;
@XmlElement(name = "RadioAddress")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String radioAddress;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@XmlElement(name = "Location")
protected LocationStructure location;
@XmlElement(name = "CurrentLocation")
protected LocationStructure currentLocation;
@XmlElement(name = "AccessibilityAssessment")
protected AccessibilityAssessmentStructure accessibilityAssessment;
@XmlElement(name = "OperatorRef")
protected OperatorRefStructure operatorRef;
@XmlElement(name = "ProductCategoryRef")
protected ProductCategoryRefStructure productCategoryRef;
@XmlElement(name = "ServiceFeatureRef")
protected List serviceFeatureReves;
@XmlElement(name = "VehicleFeatureRef")
protected List vehicleFeatureReves;
@XmlElement(name = "TrainBlockPart")
protected List trainBlockParts;
@XmlElement(name = "BlockRef")
protected BlockRefStructure blockRef;
@XmlElement(name = "CourseOfJourneyRef")
protected CourseOfJourneyRefStructure courseOfJourneyRef;
@XmlElement(name = "InCongestion")
protected Boolean inCongestion;
@XmlElement(name = "InPanic", defaultValue = "false")
protected Boolean inPanic;
@XmlElement(name = "HeadwayService", defaultValue = "false")
protected Boolean headwayService;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the vehicleRef property.
*
* @return
* possible object is
* {@link VehicleRef }
*
*/
public VehicleRef getVehicleRef() {
return vehicleRef;
}
/**
* Sets the value of the vehicleRef property.
*
* @param value
* allowed object is
* {@link VehicleRef }
*
*/
public void setVehicleRef(VehicleRef value) {
this.vehicleRef = value;
}
/**
* Gets the value of the vehicleRegistrationNumberPlates 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 Jakarta XML Binding object.
* This is why there is not a set
method for the vehicleRegistrationNumberPlates property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleRegistrationNumberPlates().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getVehicleRegistrationNumberPlates() {
if (vehicleRegistrationNumberPlates == null) {
vehicleRegistrationNumberPlates = new ArrayList();
}
return this.vehicleRegistrationNumberPlates;
}
/**
* Gets the value of the phoneNumber property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPhoneNumber() {
return phoneNumber;
}
/**
* Sets the value of the phoneNumber property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPhoneNumber(String value) {
this.phoneNumber = value;
}
/**
* Gets the value of the ipAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getIPAddress() {
return ipAddress;
}
/**
* Sets the value of the ipAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setIPAddress(String value) {
this.ipAddress = value;
}
/**
* Gets the value of the radioAddress property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRadioAddress() {
return radioAddress;
}
/**
* Sets the value of the radioAddress property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setRadioAddress(String value) {
this.radioAddress = value;
}
/**
* Gets the value of the framedVehicleJourneyRef property.
*
* @return
* possible object is
* {@link FramedVehicleJourneyRefStructure }
*
*/
public FramedVehicleJourneyRefStructure getFramedVehicleJourneyRef() {
return framedVehicleJourneyRef;
}
/**
* Sets the value of the framedVehicleJourneyRef property.
*
* @param value
* allowed object is
* {@link FramedVehicleJourneyRefStructure }
*
*/
public void setFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) {
this.framedVehicleJourneyRef = value;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link LocationStructure }
*
*/
public LocationStructure getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link LocationStructure }
*
*/
public void setLocation(LocationStructure value) {
this.location = value;
}
/**
* Gets the value of the currentLocation property.
*
* @return
* possible object is
* {@link LocationStructure }
*
*/
public LocationStructure getCurrentLocation() {
return currentLocation;
}
/**
* Sets the value of the currentLocation property.
*
* @param value
* allowed object is
* {@link LocationStructure }
*
*/
public void setCurrentLocation(LocationStructure value) {
this.currentLocation = value;
}
/**
* Gets the value of the accessibilityAssessment property.
*
* @return
* possible object is
* {@link AccessibilityAssessmentStructure }
*
*/
public AccessibilityAssessmentStructure getAccessibilityAssessment() {
return accessibilityAssessment;
}
/**
* Sets the value of the accessibilityAssessment property.
*
* @param value
* allowed object is
* {@link AccessibilityAssessmentStructure }
*
*/
public void setAccessibilityAssessment(AccessibilityAssessmentStructure value) {
this.accessibilityAssessment = value;
}
/**
* Gets the value of the operatorRef property.
*
* @return
* possible object is
* {@link OperatorRefStructure }
*
*/
public OperatorRefStructure getOperatorRef() {
return operatorRef;
}
/**
* Sets the value of the operatorRef property.
*
* @param value
* allowed object is
* {@link OperatorRefStructure }
*
*/
public void setOperatorRef(OperatorRefStructure value) {
this.operatorRef = value;
}
/**
* Gets the value of the productCategoryRef property.
*
* @return
* possible object is
* {@link ProductCategoryRefStructure }
*
*/
public ProductCategoryRefStructure getProductCategoryRef() {
return productCategoryRef;
}
/**
* Sets the value of the productCategoryRef property.
*
* @param value
* allowed object is
* {@link ProductCategoryRefStructure }
*
*/
public void setProductCategoryRef(ProductCategoryRefStructure value) {
this.productCategoryRef = value;
}
/**
* Classification of service into arbitrary Service categories, e.g. school bus. Recommended SIRI values based on TPEG are given in SIRI documentation and enumerated in the siri_facilities package.
* Corresponds to NeTEX TYPE OF SERVICe.Gets the value of the serviceFeatureReves 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 Jakarta XML Binding object.
* This is why there is not a set
method for the serviceFeatureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getServiceFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ServiceFeatureRef }
*
*
*/
public List getServiceFeatureReves() {
if (serviceFeatureReves == null) {
serviceFeatureReves = new ArrayList();
}
return this.serviceFeatureReves;
}
/**
* Gets the value of the vehicleFeatureReves 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 Jakarta XML Binding object.
* This is why there is not a set
method for the vehicleFeatureReves property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleFeatureReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleFeatureRefStructure }
*
*
*/
public List getVehicleFeatureReves() {
if (vehicleFeatureReves == null) {
vehicleFeatureReves = new ArrayList();
}
return this.vehicleFeatureReves;
}
/**
* Gets the value of the trainBlockParts 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 Jakarta XML Binding object.
* This is why there is not a set
method for the trainBlockParts property.
*
*
* For example, to add a new item, do as follows:
*
* getTrainBlockParts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TrainBlockPartStructure }
*
*
*/
public List getTrainBlockParts() {
if (trainBlockParts == null) {
trainBlockParts = new ArrayList();
}
return this.trainBlockParts;
}
/**
* Gets the value of the blockRef property.
*
* @return
* possible object is
* {@link BlockRefStructure }
*
*/
public BlockRefStructure getBlockRef() {
return blockRef;
}
/**
* Sets the value of the blockRef property.
*
* @param value
* allowed object is
* {@link BlockRefStructure }
*
*/
public void setBlockRef(BlockRefStructure value) {
this.blockRef = value;
}
/**
* Gets the value of the courseOfJourneyRef property.
*
* @return
* possible object is
* {@link CourseOfJourneyRefStructure }
*
*/
public CourseOfJourneyRefStructure getCourseOfJourneyRef() {
return courseOfJourneyRef;
}
/**
* Sets the value of the courseOfJourneyRef property.
*
* @param value
* allowed object is
* {@link CourseOfJourneyRefStructure }
*
*/
public void setCourseOfJourneyRef(CourseOfJourneyRefStructure value) {
this.courseOfJourneyRef = value;
}
/**
* Gets the value of the inCongestion property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInCongestion() {
return inCongestion;
}
/**
* Sets the value of the inCongestion property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInCongestion(Boolean value) {
this.inCongestion = value;
}
/**
* Gets the value of the inPanic property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isInPanic() {
return inPanic;
}
/**
* Sets the value of the inPanic property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setInPanic(Boolean value) {
this.inPanic = value;
}
/**
* Gets the value of the headwayService property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isHeadwayService() {
return headwayService;
}
/**
* Sets the value of the headwayService property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setHeadwayService(Boolean value) {
this.headwayService = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link Extensions }
*
*/
public Extensions getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link Extensions }
*
*/
public void setExtensions(Extensions value) {
this.extensions = value;
}
}