![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AffectedVehicleJourneyStructure 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.time.ZonedDateTime;
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.XmlJavaTypeAdapter;
import org.w3._2001.xmlschema.Adapter1;
import uk.org.acbs.siri20.AccessibilityAssessmentStructure;
/**
* Type for information about a VEHICLE JOURNEY affected by a SITUATION.
*
* Java class for AffectedVehicleJourneyStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedVehicleJourneyStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <choice minOccurs="0">
* <element name="FramedVehicleJourneyRef" type="{http://www.siri.org.uk/siri}FramedVehicleJourneyRefStructure"/>
* <element name="VehicleJourneyRef" type="{http://www.siri.org.uk/siri}VehicleJourneyRefStructure" maxOccurs="unbounded"/>
* </choice>
* <element name="DatedVehicleJourneyRef" type="{http://www.siri.org.uk/siri}DatedVehicleJourneyRefStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="JourneyName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Operator" type="{http://www.siri.org.uk/siri}AffectedOperatorStructure" minOccurs="0"/>
* <element name="LineRef" type="{http://www.siri.org.uk/siri}LineRefStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}PublishedLineName" minOccurs="0"/>
* <element name="DirectionRef" type="{http://www.siri.org.uk/siri}DirectionRefStructure" minOccurs="0"/>
* <element name="BlockRef" type="{http://www.siri.org.uk/siri}BlockRefStructure" minOccurs="0"/>
* <element name="TrainNumbers" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="JourneyParts" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="JourneyPartInfo" type="{http://www.siri.org.uk/siri}JourneyPartInfoStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Origins" type="{http://www.siri.org.uk/siri}AffectedStopPointStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Destinations" type="{http://www.siri.org.uk/siri}AffectedStopPointStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Route" type="{http://www.siri.org.uk/siri}AffectedRouteStructure" maxOccurs="unbounded"/>
* <element name="OriginAimedDepartureTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="DestinationAimedArrivalTime" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
* <element name="OriginDisplayAtDestination" type="{http://www.siri.org.uk/siri}NaturalLanguagePlaceNameStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="DestinationDisplayAtOrigin" type="{http://www.siri.org.uk/siri}NaturalLanguagePlaceNameStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="AccessibilityAssessment" type="{http://www.ifopt.org.uk/acsb}AccessibilityAssessmentStructure" minOccurs="0"/>
* <element name="JourneyCondition" type="{http://www.siri.org.uk/siri}ServiceConditionEnumeration" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Calls" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Call" type="{http://www.siri.org.uk/siri}AffectedCallStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Facilities" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedFacility" type="{http://www.siri.org.uk/siri}AffectedFacilityStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedVehicleJourneyStructure", propOrder = {
"vehicleJourneyReves",
"framedVehicleJourneyRef",
"datedVehicleJourneyReves",
"journeyNames",
"operator",
"lineRef",
"publishedLineName",
"directionRef",
"blockRef",
"trainNumbers",
"journeyParts",
"origins",
"destinations",
"routes",
"originAimedDepartureTime",
"destinationAimedArrivalTime",
"originDisplayAtDestinations",
"destinationDisplayAtOrigins",
"accessibilityAssessment",
"journeyConditions",
"calls",
"facilities",
"extensions"
})
public class AffectedVehicleJourneyStructure
implements Serializable
{
@XmlElement(name = "VehicleJourneyRef")
protected List vehicleJourneyReves;
@XmlElement(name = "FramedVehicleJourneyRef")
protected FramedVehicleJourneyRefStructure framedVehicleJourneyRef;
@XmlElement(name = "DatedVehicleJourneyRef")
protected List datedVehicleJourneyReves;
@XmlElement(name = "JourneyName")
protected List journeyNames;
@XmlElement(name = "Operator")
protected AffectedOperatorStructure operator;
@XmlElement(name = "LineRef")
protected LineRef lineRef;
@XmlElement(name = "PublishedLineName")
protected NaturalLanguageStringStructure publishedLineName;
@XmlElement(name = "DirectionRef")
protected DirectionRefStructure directionRef;
@XmlElement(name = "BlockRef")
protected BlockRefStructure blockRef;
@XmlElement(name = "TrainNumbers")
protected AffectedVehicleJourneyStructure.TrainNumbers trainNumbers;
@XmlElement(name = "JourneyParts")
protected AffectedVehicleJourneyStructure.JourneyParts journeyParts;
@XmlElement(name = "Origins")
protected List origins;
@XmlElement(name = "Destinations")
protected List destinations;
@XmlElement(name = "Route", required = true)
protected List routes;
@XmlElement(name = "OriginAimedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime originAimedDepartureTime;
@XmlElement(name = "DestinationAimedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(Adapter1 .class)
@XmlSchemaType(name = "dateTime")
protected ZonedDateTime destinationAimedArrivalTime;
@XmlElement(name = "OriginDisplayAtDestination")
protected List originDisplayAtDestinations;
@XmlElement(name = "DestinationDisplayAtOrigin")
protected List destinationDisplayAtOrigins;
@XmlElement(name = "AccessibilityAssessment")
protected AccessibilityAssessmentStructure accessibilityAssessment;
@XmlElement(name = "JourneyCondition")
@XmlSchemaType(name = "NMTOKEN")
protected List journeyConditions;
@XmlElement(name = "Calls")
protected AffectedVehicleJourneyStructure.Calls calls;
@XmlElement(name = "Facilities")
protected AffectedVehicleJourneyStructure.Facilities facilities;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the vehicleJourneyReves 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 vehicleJourneyReves property.
*
*
* For example, to add a new item, do as follows:
*
* getVehicleJourneyReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleJourneyRef }
*
*
*/
public List getVehicleJourneyReves() {
if (vehicleJourneyReves == null) {
vehicleJourneyReves = new ArrayList();
}
return this.vehicleJourneyReves;
}
/**
* 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 datedVehicleJourneyReves 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 datedVehicleJourneyReves property.
*
*
* For example, to add a new item, do as follows:
*
* getDatedVehicleJourneyReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DatedVehicleJourneyRef }
*
*
*/
public List getDatedVehicleJourneyReves() {
if (datedVehicleJourneyReves == null) {
datedVehicleJourneyReves = new ArrayList();
}
return this.datedVehicleJourneyReves;
}
/**
* Gets the value of the journeyNames 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 journeyNames property.
*
*
* For example, to add a new item, do as follows:
*
* getJourneyNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getJourneyNames() {
if (journeyNames == null) {
journeyNames = new ArrayList();
}
return this.journeyNames;
}
/**
* Gets the value of the operator property.
*
* @return
* possible object is
* {@link AffectedOperatorStructure }
*
*/
public AffectedOperatorStructure getOperator() {
return operator;
}
/**
* Sets the value of the operator property.
*
* @param value
* allowed object is
* {@link AffectedOperatorStructure }
*
*/
public void setOperator(AffectedOperatorStructure value) {
this.operator = value;
}
/**
* Gets the value of the lineRef property.
*
* @return
* possible object is
* {@link LineRef }
*
*/
public LineRef getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link LineRef }
*
*/
public void setLineRef(LineRef value) {
this.lineRef = value;
}
/**
* Gets the value of the publishedLineName property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getPublishedLineName() {
return publishedLineName;
}
/**
* Sets the value of the publishedLineName property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setPublishedLineName(NaturalLanguageStringStructure value) {
this.publishedLineName = value;
}
/**
* Gets the value of the directionRef property.
*
* @return
* possible object is
* {@link DirectionRefStructure }
*
*/
public DirectionRefStructure getDirectionRef() {
return directionRef;
}
/**
* Sets the value of the directionRef property.
*
* @param value
* allowed object is
* {@link DirectionRefStructure }
*
*/
public void setDirectionRef(DirectionRefStructure value) {
this.directionRef = value;
}
/**
* 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 trainNumbers property.
*
* @return
* possible object is
* {@link AffectedVehicleJourneyStructure.TrainNumbers }
*
*/
public AffectedVehicleJourneyStructure.TrainNumbers getTrainNumbers() {
return trainNumbers;
}
/**
* Sets the value of the trainNumbers property.
*
* @param value
* allowed object is
* {@link AffectedVehicleJourneyStructure.TrainNumbers }
*
*/
public void setTrainNumbers(AffectedVehicleJourneyStructure.TrainNumbers value) {
this.trainNumbers = value;
}
/**
* Gets the value of the journeyParts property.
*
* @return
* possible object is
* {@link AffectedVehicleJourneyStructure.JourneyParts }
*
*/
public AffectedVehicleJourneyStructure.JourneyParts getJourneyParts() {
return journeyParts;
}
/**
* Sets the value of the journeyParts property.
*
* @param value
* allowed object is
* {@link AffectedVehicleJourneyStructure.JourneyParts }
*
*/
public void setJourneyParts(AffectedVehicleJourneyStructure.JourneyParts value) {
this.journeyParts = value;
}
/**
* Gets the value of the origins 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 origins property.
*
*
* For example, to add a new item, do as follows:
*
* getOrigins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPointStructure }
*
*
*/
public List getOrigins() {
if (origins == null) {
origins = new ArrayList();
}
return this.origins;
}
/**
* Gets the value of the destinations 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 destinations property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPointStructure }
*
*
*/
public List getDestinations() {
if (destinations == null) {
destinations = new ArrayList();
}
return this.destinations;
}
/**
* Gets the value of the routes 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 routes property.
*
*
* For example, to add a new item, do as follows:
*
* getRoutes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedRouteStructure }
*
*
*/
public List getRoutes() {
if (routes == null) {
routes = new ArrayList();
}
return this.routes;
}
/**
* Gets the value of the originAimedDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getOriginAimedDepartureTime() {
return originAimedDepartureTime;
}
/**
* Sets the value of the originAimedDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setOriginAimedDepartureTime(ZonedDateTime value) {
this.originAimedDepartureTime = value;
}
/**
* Gets the value of the destinationAimedArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public ZonedDateTime getDestinationAimedArrivalTime() {
return destinationAimedArrivalTime;
}
/**
* Sets the value of the destinationAimedArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDestinationAimedArrivalTime(ZonedDateTime value) {
this.destinationAimedArrivalTime = value;
}
/**
* Gets the value of the originDisplayAtDestinations 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 originDisplayAtDestinations property.
*
*
* For example, to add a new item, do as follows:
*
* getOriginDisplayAtDestinations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getOriginDisplayAtDestinations() {
if (originDisplayAtDestinations == null) {
originDisplayAtDestinations = new ArrayList();
}
return this.originDisplayAtDestinations;
}
/**
* Gets the value of the destinationDisplayAtOrigins 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 destinationDisplayAtOrigins property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinationDisplayAtOrigins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguagePlaceNameStructure }
*
*
*/
public List getDestinationDisplayAtOrigins() {
if (destinationDisplayAtOrigins == null) {
destinationDisplayAtOrigins = new ArrayList();
}
return this.destinationDisplayAtOrigins;
}
/**
* 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 journeyConditions 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 journeyConditions property.
*
*
* For example, to add a new item, do as follows:
*
* getJourneyConditions().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ServiceConditionEnumeration }
*
*
*/
public List getJourneyConditions() {
if (journeyConditions == null) {
journeyConditions = new ArrayList();
}
return this.journeyConditions;
}
/**
* Gets the value of the calls property.
*
* @return
* possible object is
* {@link AffectedVehicleJourneyStructure.Calls }
*
*/
public AffectedVehicleJourneyStructure.Calls getCalls() {
return calls;
}
/**
* Sets the value of the calls property.
*
* @param value
* allowed object is
* {@link AffectedVehicleJourneyStructure.Calls }
*
*/
public void setCalls(AffectedVehicleJourneyStructure.Calls value) {
this.calls = value;
}
/**
* Gets the value of the facilities property.
*
* @return
* possible object is
* {@link AffectedVehicleJourneyStructure.Facilities }
*
*/
public AffectedVehicleJourneyStructure.Facilities getFacilities() {
return facilities;
}
/**
* Sets the value of the facilities property.
*
* @param value
* allowed object is
* {@link AffectedVehicleJourneyStructure.Facilities }
*
*/
public void setFacilities(AffectedVehicleJourneyStructure.Facilities value) {
this.facilities = 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;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Call" type="{http://www.siri.org.uk/siri}AffectedCallStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"calls"
})
public static class Calls
implements Serializable
{
@XmlElement(name = "Call", required = true)
protected List calls;
/**
* Gets the value of the calls 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 calls property.
*
*
* For example, to add a new item, do as follows:
*
* getCalls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedCallStructure }
*
*
*/
public List getCalls() {
if (calls == null) {
calls = new ArrayList();
}
return this.calls;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="AffectedFacility" type="{http://www.siri.org.uk/siri}AffectedFacilityStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedFacilities"
})
public static class Facilities
implements Serializable
{
@XmlElement(name = "AffectedFacility", required = true)
protected List affectedFacilities;
/**
* Gets the value of the affectedFacilities 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 affectedFacilities property.
*
*
* For example, to add a new item, do as follows:
*
* getAffectedFacilities().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedFacilityStructure }
*
*
*/
public List getAffectedFacilities() {
if (affectedFacilities == null) {
affectedFacilities = new ArrayList();
}
return this.affectedFacilities;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="JourneyPartInfo" type="{http://www.siri.org.uk/siri}JourneyPartInfoStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"journeyPartInfos"
})
public static class JourneyParts
implements Serializable
{
@XmlElement(name = "JourneyPartInfo", required = true)
protected List journeyPartInfos;
/**
* Gets the value of the journeyPartInfos 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 journeyPartInfos property.
*
*
* For example, to add a new item, do as follows:
*
* getJourneyPartInfos().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link JourneyPartInfoStructure }
*
*
*/
public List getJourneyPartInfos() {
if (journeyPartInfos == null) {
journeyPartInfos = new ArrayList();
}
return this.journeyPartInfos;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"trainNumberReves"
})
public static class TrainNumbers
implements Serializable
{
@XmlElement(name = "TrainNumberRef", required = true)
protected List trainNumberReves;
/**
* Gets the value of the trainNumberReves 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 trainNumberReves property.
*
*
* For example, to add a new item, do as follows:
*
* getTrainNumberReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TrainNumberRefStructure }
*
*
*/
public List getTrainNumberReves() {
if (trainNumberReves == null) {
trainNumberReves = new ArrayList();
}
return this.trainNumberReves;
}
}
}