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