
de.vdv.ojp20.siri.RelatedJourneyStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ojp-java-model Show documentation
Show all versions of ojp-java-model Show documentation
Generates Java model from OJP xsds using jaxb.
The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
//
package de.vdv.ojp20.siri;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for RelatedJourneyStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "RelatedJourneyStructure", propOrder = {
"callInfo",
"journeyParts"
})
public class RelatedJourneyStructure
extends ConnectingJourneyRefStructure
{
@XmlElement(name = "CallInfo")
protected RelatedCallStructure callInfo;
@XmlElement(name = "JourneyParts")
protected de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts journeyParts;
/**
* Gets the value of the callInfo property.
*
* @return
* possible object is
* {@link RelatedCallStructure }
*
*/
public RelatedCallStructure getCallInfo() {
return callInfo;
}
/**
* Sets the value of the callInfo property.
*
* @param value
* allowed object is
* {@link RelatedCallStructure }
*
*/
public void setCallInfo(RelatedCallStructure value) {
this.callInfo = value;
}
/**
* Gets the value of the journeyParts property.
*
* @return
* possible object is
* {@link de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts }
*
*/
public de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts getJourneyParts() {
return journeyParts;
}
/**
* Sets the value of the journeyParts property.
*
* @param value
* allowed object is
* {@link de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts }
*
*/
public void setJourneyParts(de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts value) {
this.journeyParts = value;
}
public RelatedJourneyStructure withCallInfo(RelatedCallStructure value) {
setCallInfo(value);
return this;
}
public RelatedJourneyStructure withJourneyParts(de.vdv.ojp20.siri.JourneyRelationStructure.JourneyParts value) {
setJourneyParts(value);
return this;
}
@Override
public RelatedJourneyStructure withFramedVehicleJourneyRef(FramedVehicleJourneyRefStructure value) {
setFramedVehicleJourneyRef(value);
return this;
}
@Override
public RelatedJourneyStructure withDatedVehicleJourneyIndirectRef(DatedVehicleJourneyIndirectRefStructure value) {
setDatedVehicleJourneyIndirectRef(value);
return this;
}
@Override
public RelatedJourneyStructure withLineRef(LineRefStructure value) {
setLineRef(value);
return this;
}
@Override
public RelatedJourneyStructure withTrainNumberRef(TrainNumberRefStructure value) {
setTrainNumberRef(value);
return this;
}
@Override
public RelatedJourneyStructure withOperatorRef(OperatorRefStructure value) {
setOperatorRef(value);
return this;
}
@Override
public RelatedJourneyStructure withParticipantRef(ParticipantRefStructure value) {
setParticipantRef(value);
return this;
}
/**
* Generates a String representation of the contents of this type.
* This is an extension method, produced by the 'ts' xjc plugin
*
*/
@Override
public String toString() {
return ToStringBuilder.reflectionToString(this, OmitNullsToStringStyle.INSTANCE);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy