Package uk.org.siri.siri21
Class JourneyRelationStructure
- java.lang.Object
-
- uk.org.siri.siri21.JourneyRelationStructure
-
- All Implemented Interfaces:
Serializable
public class JourneyRelationStructure extends Object implements Serializable
Java class for JourneyRelationStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="JourneyRelationStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="JourneyRelationType" type="{http://www.siri.org.uk/siri}JourneyRelationTypeEnumeration"/> <group ref="{http://www.siri.org.uk/siri}JourneyRelationInfoGroup"/> <element ref="{http://www.siri.org.uk/siri}RelatedJourney" maxOccurs="unbounded"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected RelatedCallStructurecallInfoprotected RelatedJourney.JourneyPartsjourneyPartsprotected JourneyRelationTypeEnumerationjourneyRelationTypeprotected List<RelatedJourney>relatedJourneies
-
Constructor Summary
Constructors Constructor Description JourneyRelationStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RelatedCallStructuregetCallInfo()Gets the value of the callInfo property.RelatedJourney.JourneyPartsgetJourneyParts()Gets the value of the journeyParts property.JourneyRelationTypeEnumerationgetJourneyRelationType()Gets the value of the journeyRelationType property.List<RelatedJourney>getRelatedJourneies()Gets the value of the relatedJourneies property.voidsetCallInfo(RelatedCallStructure value)Sets the value of the callInfo property.voidsetJourneyParts(RelatedJourney.JourneyParts value)Sets the value of the journeyParts property.voidsetJourneyRelationType(JourneyRelationTypeEnumeration value)Sets the value of the journeyRelationType property.
-
-
-
Field Detail
-
journeyRelationType
protected JourneyRelationTypeEnumeration journeyRelationType
-
journeyParts
protected RelatedJourney.JourneyParts journeyParts
-
callInfo
protected RelatedCallStructure callInfo
-
relatedJourneies
protected List<RelatedJourney> relatedJourneies
-
-
Method Detail
-
getJourneyRelationType
public JourneyRelationTypeEnumeration getJourneyRelationType()
Gets the value of the journeyRelationType property.- Returns:
- possible object is
JourneyRelationTypeEnumeration
-
setJourneyRelationType
public void setJourneyRelationType(JourneyRelationTypeEnumeration value)
Sets the value of the journeyRelationType property.- Parameters:
value- allowed object isJourneyRelationTypeEnumeration
-
getJourneyParts
public RelatedJourney.JourneyParts getJourneyParts()
Gets the value of the journeyParts property.- Returns:
- possible object is
RelatedJourney.JourneyParts
-
setJourneyParts
public void setJourneyParts(RelatedJourney.JourneyParts value)
Sets the value of the journeyParts property.- Parameters:
value- allowed object isRelatedJourney.JourneyParts
-
getCallInfo
public RelatedCallStructure getCallInfo()
Gets the value of the callInfo property.- Returns:
- possible object is
RelatedCallStructure
-
setCallInfo
public void setCallInfo(RelatedCallStructure value)
Sets the value of the callInfo property.- Parameters:
value- allowed object isRelatedCallStructure
-
getRelatedJourneies
public List<RelatedJourney> getRelatedJourneies()
Gets the value of the relatedJourneies 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 relatedJourneies property.For example, to add a new item, do as follows:
getRelatedJourneies().add(newItem);Objects of the following type(s) are allowed in the list
RelatedJourney
-
-