![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AffectedNetworkStructure 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.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import uk.org.ifopt.siri20.AccessModesEnumeration;
/**
* Type for information about the parts of the network affected by an incident. If not explclitly overrided Modes and submodes will be defaulted to any values present in the general Context.
*
* Java class for AffectedNetworkStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedNetworkStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedOperator" type="{http://www.siri.org.uk/siri}AffectedOperatorStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="NetworkRef" type="{http://www.siri.org.uk/siri}NetworkRefStructure" minOccurs="0"/>
* <element name="NetworkName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="RoutesAffected" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}AffectedModeGroup"/>
* <choice>
* <element name="AllLines" type="{http://www.siri.org.uk/siri}EmptyType"/>
* <element name="SelectedRoutes" type="{http://www.siri.org.uk/siri}EmptyType"/>
* <sequence>
* <element name="AffectedLine" type="{http://www.siri.org.uk/siri}AffectedLineStructure" maxOccurs="unbounded"/>
* </sequence>
* </choice>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedNetworkStructure", propOrder = {
"affectedOperators",
"networkRef",
"networkNames",
"routesAffecteds",
"vehicleMode",
"waterSubmode",
"tramSubmode",
"railSubmode",
"metroSubmode",
"coachSubmode",
"busSubmode",
"airSubmode",
"accessMode",
"affectedLines",
"selectedRoutes",
"allLines",
"extensions"
})
@XmlSeeAlso({
uk.org.siri.siri20.AffectsScopeStructure.Networks.AffectedNetwork.class
})
public class AffectedNetworkStructure
implements Serializable
{
@XmlElement(name = "AffectedOperator")
protected List affectedOperators;
@XmlElement(name = "NetworkRef")
protected NetworkRefStructure networkRef;
@XmlElement(name = "NetworkName")
protected List networkNames;
@XmlElement(name = "RoutesAffected")
protected List routesAffecteds;
@XmlElement(name = "VehicleMode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected VehicleModesOfTransportEnumeration vehicleMode;
@XmlElement(name = "WaterSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected WaterSubmodesOfTransportEnumeration waterSubmode;
@XmlElement(name = "TramSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected TramSubmodesOfTransportEnumeration tramSubmode;
@XmlElement(name = "RailSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected RailSubmodesOfTransportEnumeration railSubmode;
@XmlElement(name = "MetroSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected MetroSubmodesOfTransportEnumeration metroSubmode;
@XmlElement(name = "CoachSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected CoachSubmodesOfTransportEnumeration coachSubmode;
@XmlElement(name = "BusSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected BusSubmodesOfTransportEnumeration busSubmode;
@XmlElement(name = "AirSubmode", defaultValue = "unknown")
@XmlSchemaType(name = "NMTOKEN")
protected AirSubmodesOfTransportEnumeration airSubmode;
@XmlElement(name = "AccessMode")
@XmlSchemaType(name = "string")
protected AccessModesEnumeration accessMode;
@XmlElement(name = "AffectedLine")
protected List affectedLines;
@XmlElement(name = "SelectedRoutes")
protected String selectedRoutes;
@XmlElement(name = "AllLines")
protected String allLines;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the affectedOperators 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 affectedOperators property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedOperators().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedOperatorStructure }
*
*
*/
public List getAffectedOperators() {
if (affectedOperators == null) {
affectedOperators = new ArrayList();
}
return this.affectedOperators;
}
/**
* Gets the value of the networkRef property.
*
* @return
* possible object is
* {@link NetworkRefStructure }
*
*/
public NetworkRefStructure getNetworkRef() {
return networkRef;
}
/**
* Sets the value of the networkRef property.
*
* @param value
* allowed object is
* {@link NetworkRefStructure }
*
*/
public void setNetworkRef(NetworkRefStructure value) {
this.networkRef = value;
}
/**
* Gets the value of the networkNames 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 networkNames property.
*
*
* For example, to add a new item, do as follows:
*
* getNetworkNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getNetworkNames() {
if (networkNames == null) {
networkNames = new ArrayList();
}
return this.networkNames;
}
/**
* Gets the value of the routesAffecteds 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 routesAffecteds property.
*
*
* For example, to add a new item, do as follows:
*
* getRoutesAffecteds().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getRoutesAffecteds() {
if (routesAffecteds == null) {
routesAffecteds = new ArrayList();
}
return this.routesAffecteds;
}
/**
* Gets the value of the vehicleMode property.
*
* @return
* possible object is
* {@link VehicleModesOfTransportEnumeration }
*
*/
public VehicleModesOfTransportEnumeration getVehicleMode() {
return vehicleMode;
}
/**
* Sets the value of the vehicleMode property.
*
* @param value
* allowed object is
* {@link VehicleModesOfTransportEnumeration }
*
*/
public void setVehicleMode(VehicleModesOfTransportEnumeration value) {
this.vehicleMode = value;
}
/**
* Gets the value of the waterSubmode property.
*
* @return
* possible object is
* {@link WaterSubmodesOfTransportEnumeration }
*
*/
public WaterSubmodesOfTransportEnumeration getWaterSubmode() {
return waterSubmode;
}
/**
* Sets the value of the waterSubmode property.
*
* @param value
* allowed object is
* {@link WaterSubmodesOfTransportEnumeration }
*
*/
public void setWaterSubmode(WaterSubmodesOfTransportEnumeration value) {
this.waterSubmode = value;
}
/**
* Gets the value of the tramSubmode property.
*
* @return
* possible object is
* {@link TramSubmodesOfTransportEnumeration }
*
*/
public TramSubmodesOfTransportEnumeration getTramSubmode() {
return tramSubmode;
}
/**
* Sets the value of the tramSubmode property.
*
* @param value
* allowed object is
* {@link TramSubmodesOfTransportEnumeration }
*
*/
public void setTramSubmode(TramSubmodesOfTransportEnumeration value) {
this.tramSubmode = value;
}
/**
* Gets the value of the railSubmode property.
*
* @return
* possible object is
* {@link RailSubmodesOfTransportEnumeration }
*
*/
public RailSubmodesOfTransportEnumeration getRailSubmode() {
return railSubmode;
}
/**
* Sets the value of the railSubmode property.
*
* @param value
* allowed object is
* {@link RailSubmodesOfTransportEnumeration }
*
*/
public void setRailSubmode(RailSubmodesOfTransportEnumeration value) {
this.railSubmode = value;
}
/**
* Gets the value of the metroSubmode property.
*
* @return
* possible object is
* {@link MetroSubmodesOfTransportEnumeration }
*
*/
public MetroSubmodesOfTransportEnumeration getMetroSubmode() {
return metroSubmode;
}
/**
* Sets the value of the metroSubmode property.
*
* @param value
* allowed object is
* {@link MetroSubmodesOfTransportEnumeration }
*
*/
public void setMetroSubmode(MetroSubmodesOfTransportEnumeration value) {
this.metroSubmode = value;
}
/**
* Gets the value of the coachSubmode property.
*
* @return
* possible object is
* {@link CoachSubmodesOfTransportEnumeration }
*
*/
public CoachSubmodesOfTransportEnumeration getCoachSubmode() {
return coachSubmode;
}
/**
* Sets the value of the coachSubmode property.
*
* @param value
* allowed object is
* {@link CoachSubmodesOfTransportEnumeration }
*
*/
public void setCoachSubmode(CoachSubmodesOfTransportEnumeration value) {
this.coachSubmode = value;
}
/**
* Gets the value of the busSubmode property.
*
* @return
* possible object is
* {@link BusSubmodesOfTransportEnumeration }
*
*/
public BusSubmodesOfTransportEnumeration getBusSubmode() {
return busSubmode;
}
/**
* Sets the value of the busSubmode property.
*
* @param value
* allowed object is
* {@link BusSubmodesOfTransportEnumeration }
*
*/
public void setBusSubmode(BusSubmodesOfTransportEnumeration value) {
this.busSubmode = value;
}
/**
* Gets the value of the airSubmode property.
*
* @return
* possible object is
* {@link AirSubmodesOfTransportEnumeration }
*
*/
public AirSubmodesOfTransportEnumeration getAirSubmode() {
return airSubmode;
}
/**
* Sets the value of the airSubmode property.
*
* @param value
* allowed object is
* {@link AirSubmodesOfTransportEnumeration }
*
*/
public void setAirSubmode(AirSubmodesOfTransportEnumeration value) {
this.airSubmode = value;
}
/**
* Gets the value of the accessMode property.
*
* @return
* possible object is
* {@link AccessModesEnumeration }
*
*/
public AccessModesEnumeration getAccessMode() {
return accessMode;
}
/**
* Sets the value of the accessMode property.
*
* @param value
* allowed object is
* {@link AccessModesEnumeration }
*
*/
public void setAccessMode(AccessModesEnumeration value) {
this.accessMode = value;
}
/**
* Gets the value of the affectedLines 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 affectedLines property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedLines().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedLineStructure }
*
*
*/
public List getAffectedLines() {
if (affectedLines == null) {
affectedLines = new ArrayList();
}
return this.affectedLines;
}
/**
* Gets the value of the selectedRoutes property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSelectedRoutes() {
return selectedRoutes;
}
/**
* Sets the value of the selectedRoutes property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setSelectedRoutes(String value) {
this.selectedRoutes = value;
}
/**
* Gets the value of the allLines property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAllLines() {
return allLines;
}
/**
* Sets the value of the allLines property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAllLines(String value) {
this.allLines = 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;
}
}