Package uk.org.siri.siri21
Class DatedVehicleJourney.Trains
- java.lang.Object
-
- uk.org.siri.siri21.DatedVehicleJourney.Trains
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DatedVehicleJourney
public static class DatedVehicleJourney.Trains extends Object implements Serializable
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"> <choice maxOccurs="unbounded"> <element name="TrainRef" type="{http://www.w3.org/2001/XMLSchema}anyType"/> <element ref="{http://www.siri.org.uk/siri}Train"/> </choice> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<Object>trainRevesAndTrains
-
Constructor Summary
Constructors Constructor Description Trains()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<Object>getTrainRevesAndTrains()Gets the value of the trainRevesAndTrains property.
-
-
-
Method Detail
-
getTrainRevesAndTrains
public List<Object> getTrainRevesAndTrains()
Gets the value of the trainRevesAndTrains 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
setmethod for the trainRevesAndTrains property.For example, to add a new item, do as follows:
getTrainRevesAndTrains().add(newItem);Objects of the following type(s) are allowed in the list
ObjectTrain
-
-