Package uk.org.siri.siri21
Class DatedJourneyPartInfoStructure
- java.lang.Object
-
- uk.org.siri.siri21.DatedJourneyPartInfoStructure
-
- All Implemented Interfaces:
Serializable
public class DatedJourneyPartInfoStructure extends Object implements Serializable
Type for a reference to JOURNEY PART. +SIRI v2.1Java class for DatedJourneyPartInfoStructure complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="DatedJourneyPartInfoStructure"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="JourneyPartRef" type="{http://www.w3.org/2001/XMLSchema}normalizedString" minOccurs="0"/> <element name="TrainNumberRef" type="{http://www.siri.org.uk/siri}TrainNumberRefStructure" minOccurs="0"/> <element name="OperatorRef" type="{http://www.siri.org.uk/siri}OperatorRefStructure" minOccurs="0"/> <element ref="{http://www.siri.org.uk/siri}CompoundTrainRef" minOccurs="0"/> <group ref="{http://www.siri.org.uk/siri}JourneyPartViewGroup" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected CompoundTrainRefcompoundTrainRefprotected ZonedDateTimeendTimeprotected StopPointRefStructurefromStopPointRefprotected StringjourneyPartRefprotected OperatorRefStructureoperatorRefprotected ZonedDateTimestartTimeprotected StopPointRefStructuretoStopPointRefprotected TrainNumberRefStructuretrainNumberRef
-
Constructor Summary
Constructors Constructor Description DatedJourneyPartInfoStructure()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompoundTrainRefgetCompoundTrainRef()Reference to COMPOUND TRAIN that represents the train formation/composition as a whole (for this JOURNEY PART).ZonedDateTimegetEndTime()Gets the value of the endTime property.StopPointRefStructuregetFromStopPointRef()Gets the value of the fromStopPointRef property.StringgetJourneyPartRef()Gets the value of the journeyPartRef property.OperatorRefStructuregetOperatorRef()Gets the value of the operatorRef property.ZonedDateTimegetStartTime()Gets the value of the startTime property.StopPointRefStructuregetToStopPointRef()Gets the value of the toStopPointRef property.TrainNumberRefStructuregetTrainNumberRef()Gets the value of the trainNumberRef property.voidsetCompoundTrainRef(CompoundTrainRef value)Sets the value of the compoundTrainRef property.voidsetEndTime(ZonedDateTime value)Sets the value of the endTime property.voidsetFromStopPointRef(StopPointRefStructure value)Sets the value of the fromStopPointRef property.voidsetJourneyPartRef(String value)Sets the value of the journeyPartRef property.voidsetOperatorRef(OperatorRefStructure value)Sets the value of the operatorRef property.voidsetStartTime(ZonedDateTime value)Sets the value of the startTime property.voidsetToStopPointRef(StopPointRefStructure value)Sets the value of the toStopPointRef property.voidsetTrainNumberRef(TrainNumberRefStructure value)Sets the value of the trainNumberRef property.
-
-
-
Field Detail
-
journeyPartRef
protected String journeyPartRef
-
trainNumberRef
protected TrainNumberRefStructure trainNumberRef
-
operatorRef
protected OperatorRefStructure operatorRef
-
compoundTrainRef
protected CompoundTrainRef compoundTrainRef
-
fromStopPointRef
protected StopPointRefStructure fromStopPointRef
-
toStopPointRef
protected StopPointRefStructure toStopPointRef
-
startTime
protected ZonedDateTime startTime
-
endTime
protected ZonedDateTime endTime
-
-
Method Detail
-
getJourneyPartRef
public String getJourneyPartRef()
Gets the value of the journeyPartRef property.- Returns:
- possible object is
String
-
setJourneyPartRef
public void setJourneyPartRef(String value)
Sets the value of the journeyPartRef property.- Parameters:
value- allowed object isString
-
getTrainNumberRef
public TrainNumberRefStructure getTrainNumberRef()
Gets the value of the trainNumberRef property.- Returns:
- possible object is
TrainNumberRefStructure
-
setTrainNumberRef
public void setTrainNumberRef(TrainNumberRefStructure value)
Sets the value of the trainNumberRef property.- Parameters:
value- allowed object isTrainNumberRefStructure
-
getOperatorRef
public OperatorRefStructure getOperatorRef()
Gets the value of the operatorRef property.- Returns:
- possible object is
OperatorRefStructure
-
setOperatorRef
public void setOperatorRef(OperatorRefStructure value)
Sets the value of the operatorRef property.- Parameters:
value- allowed object isOperatorRefStructure
-
getCompoundTrainRef
public CompoundTrainRef getCompoundTrainRef()
Reference to COMPOUND TRAIN that represents the train formation/composition as a whole (for this JOURNEY PART). +SIRI v2.1 A journey does always have one or more JOURNEY PARTs for which the train formation/composition remains unchanged.- Returns:
- possible object is
CompoundTrainRef
-
setCompoundTrainRef
public void setCompoundTrainRef(CompoundTrainRef value)
Sets the value of the compoundTrainRef property.- Parameters:
value- allowed object isCompoundTrainRef
-
getFromStopPointRef
public StopPointRefStructure getFromStopPointRef()
Gets the value of the fromStopPointRef property.- Returns:
- possible object is
StopPointRefStructure
-
setFromStopPointRef
public void setFromStopPointRef(StopPointRefStructure value)
Sets the value of the fromStopPointRef property.- Parameters:
value- allowed object isStopPointRefStructure
-
getToStopPointRef
public StopPointRefStructure getToStopPointRef()
Gets the value of the toStopPointRef property.- Returns:
- possible object is
StopPointRefStructure
-
setToStopPointRef
public void setToStopPointRef(StopPointRefStructure value)
Sets the value of the toStopPointRef property.- Parameters:
value- allowed object isStopPointRefStructure
-
getStartTime
public ZonedDateTime getStartTime()
Gets the value of the startTime property.- Returns:
- possible object is
String
-
setStartTime
public void setStartTime(ZonedDateTime value)
Sets the value of the startTime property.- Parameters:
value- allowed object isString
-
getEndTime
public ZonedDateTime getEndTime()
Gets the value of the endTime property.- Returns:
- possible object is
String
-
setEndTime
public void setEndTime(ZonedDateTime value)
Sets the value of the endTime property.- Parameters:
value- allowed object isString
-
-