Class JourneyRelationsStructure

  • All Implemented Interfaces:
    Serializable

    public class JourneyRelationsStructure
    extends Object
    implements Serializable
    Provides information about relations to other journeys. +SIRI v2.1

    Java 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
    • Constructor Detail

      • JourneyRelationsStructure

        public JourneyRelationsStructure()
    • 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 set method 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