Package uk.org.siri.siri21
Class PassageBetweenTrainsStructure
- java.lang.Object
-
- uk.org.siri.siri21.PassageBetweenTrainsStructure
-
- All Implemented Interfaces:
Serializable
public class PassageBetweenTrainsStructure extends Object implements Serializable
Indicates whether passengers have access to adjacent TRAINs or TRAIN COMPONENTs within a COMPOUND TRAIN, i.e., whether passage between those wagons/coaches is possible. +SIRI v2.1Java class for PassageBetweenTrainsStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="PassageBetweenTrainsStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element ref="{http://www.siri.org.uk/siri}TrainRef"/> <element ref="{http://www.siri.org.uk/siri}TrainComponentRef" minOccurs="0"/> <element name="PassageIsPossible" type="{http://www.w3.org/2001/XMLSchema}boolean"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected booleanpassageIsPossibleprotected TrainComponentReftrainComponentRefprotected TrainReftrainRef
-
Constructor Summary
Constructors Constructor Description PassageBetweenTrainsStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TrainComponentRefgetTrainComponentRef()Gets the value of the trainComponentRef property.TrainRefgetTrainRef()Gets the value of the trainRef property.booleanisPassageIsPossible()Gets the value of the passageIsPossible property.voidsetPassageIsPossible(boolean value)Sets the value of the passageIsPossible property.voidsetTrainComponentRef(TrainComponentRef value)Sets the value of the trainComponentRef property.voidsetTrainRef(TrainRef value)Sets the value of the trainRef property.
-
-
-
Field Detail
-
trainRef
protected TrainRef trainRef
-
trainComponentRef
protected TrainComponentRef trainComponentRef
-
passageIsPossible
protected boolean passageIsPossible
-
-
Method Detail
-
getTrainRef
public TrainRef getTrainRef()
Gets the value of the trainRef property.- Returns:
- possible object is
TrainRef
-
setTrainRef
public void setTrainRef(TrainRef value)
Sets the value of the trainRef property.- Parameters:
value- allowed object isTrainRef
-
getTrainComponentRef
public TrainComponentRef getTrainComponentRef()
Gets the value of the trainComponentRef property.- Returns:
- possible object is
TrainComponentRef
-
setTrainComponentRef
public void setTrainComponentRef(TrainComponentRef value)
Sets the value of the trainComponentRef property.- Parameters:
value- allowed object isTrainComponentRef
-
isPassageIsPossible
public boolean isPassageIsPossible()
Gets the value of the passageIsPossible property.
-
setPassageIsPossible
public void setPassageIsPossible(boolean value)
Sets the value of the passageIsPossible property.
-
-