Package uk.org.siri.siri21
Class JourneyRelationsStructure
- java.lang.Object
-
- uk.org.siri.siri21.JourneyRelationsStructure
-
- All Implemented Interfaces:
Serializable
public class JourneyRelationsStructure extends Object implements Serializable
Provides information about relations to other journeys. +SIRI v2.1Java class for JourneyRelationsStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JourneyRelationsStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="JourneyRelation" type="{http://www.siri.org.uk/siri}JourneyRelationStructure" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<JourneyRelationStructure>journeyRelations
-
Constructor Summary
Constructors Constructor Description JourneyRelationsStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JourneyRelationStructure>getJourneyRelations()Gets the value of the journeyRelations property.
-
-
-
Field Detail
-
journeyRelations
protected List<JourneyRelationStructure> journeyRelations
-
-
Method Detail
-
getJourneyRelations
public List<JourneyRelationStructure> getJourneyRelations()
Gets the value of the journeyRelations 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 journeyRelations property.For example, to add a new item, do as follows:
getJourneyRelations().add(newItem);Objects of the following type(s) are allowed in the list
JourneyRelationStructure
-
-