
de.vdv.ojp20.siri.AbstractServiceJourneyInterchangeStructure 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 java.math.BigInteger;
import java.time.Duration;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.time.XmlDateTime;
import org.opentripplanner.ojp.util.DurationXmlAdapter;
import org.opentripplanner.ojp.util.XmlDateTimeAdapter;
/**
* Java class for AbstractServiceJourneyInterchangeStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AbstractServiceJourneyInterchangeStructure", propOrder = {
"interchangeCode",
"interchangeRef",
"connectionLinkRef",
"extraInterchange",
"cancellation",
"reasonForRemoval",
"feederRef",
"feederArrivalStopRef",
"feederVisitNumber",
"feederStopOrder",
"aimedArrivalTimeOfFeeder",
"distributorRef",
"distributorDepartureStopRef",
"distributorVisitNumber",
"distributorStopOrder",
"aimedDepartureTimeOfDistributor",
"staySeated",
"guaranteed",
"advertised",
"standardWaitTime",
"maximumWaitTime",
"maximumAutomaticWaitTime",
"standardTransferTime",
"minimumTransferTime",
"maximumTransferTime",
"extensions"
})
@XmlSeeAlso({
FromServiceJourneyInterchangeStructure.class,
ToServiceJourneyInterchangeStructure.class,
ServiceJourneyInterchangeStructure.class,
RemovedServiceJourneyInterchangeStructure.class
})
public abstract class AbstractServiceJourneyInterchangeStructure {
@XmlElement(name = "InterchangeCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String interchangeCode;
@XmlElement(name = "InterchangeRef")
protected InterchangeRefStructure interchangeRef;
@XmlElement(name = "ConnectionLinkRef")
protected ConnectionLinkRefStructure connectionLinkRef;
@XmlElement(name = "ExtraInterchange", defaultValue = "false")
protected Boolean extraInterchange;
@XmlElement(name = "Cancellation", defaultValue = "false")
protected Boolean cancellation;
@XmlElement(name = "ReasonForRemoval")
protected NaturalLanguageStringStructure reasonForRemoval;
@XmlElement(name = "FeederRef")
protected ConnectingJourneyRefStructure feederRef;
@XmlElement(name = "FeederArrivalStopRef")
protected StopPointRefStructure feederArrivalStopRef;
@XmlElement(name = "FeederVisitNumber")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger feederVisitNumber;
@XmlElement(name = "FeederStopOrder")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger feederStopOrder;
@XmlElement(name = "AimedArrivalTimeOfFeeder", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedArrivalTimeOfFeeder;
@XmlElement(name = "DistributorRef")
protected ConnectingJourneyRefStructure distributorRef;
@XmlElement(name = "DistributorDepartureStopRef")
protected StopPointRefStructure distributorDepartureStopRef;
@XmlElement(name = "DistributorVisitNumber")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger distributorVisitNumber;
@XmlElement(name = "DistributorStopOrder")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger distributorStopOrder;
@XmlElement(name = "AimedDepartureTimeOfDistributor", type = String.class)
@XmlJavaTypeAdapter(XmlDateTimeAdapter.class)
@XmlSchemaType(name = "dateTime")
protected XmlDateTime aimedDepartureTimeOfDistributor;
@XmlElement(name = "StaySeated", defaultValue = "false")
protected Boolean staySeated;
@XmlElement(name = "Guaranteed", defaultValue = "false")
protected Boolean guaranteed;
@XmlElement(name = "Advertised", defaultValue = "false")
protected Boolean advertised;
@XmlElement(name = "StandardWaitTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration standardWaitTime;
@XmlElement(name = "MaximumWaitTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration maximumWaitTime;
@XmlElement(name = "MaximumAutomaticWaitTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration maximumAutomaticWaitTime;
@XmlElement(name = "StandardTransferTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration standardTransferTime;
@XmlElement(name = "MinimumTransferTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration minimumTransferTime;
@XmlElement(name = "MaximumTransferTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration maximumTransferTime;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the interchangeCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getInterchangeCode() {
return interchangeCode;
}
/**
* Sets the value of the interchangeCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setInterchangeCode(String value) {
this.interchangeCode = value;
}
/**
* Gets the value of the interchangeRef property.
*
* @return
* possible object is
* {@link InterchangeRefStructure }
*
*/
public InterchangeRefStructure getInterchangeRef() {
return interchangeRef;
}
/**
* Sets the value of the interchangeRef property.
*
* @param value
* allowed object is
* {@link InterchangeRefStructure }
*
*/
public void setInterchangeRef(InterchangeRefStructure value) {
this.interchangeRef = value;
}
/**
* Gets the value of the connectionLinkRef property.
*
* @return
* possible object is
* {@link ConnectionLinkRefStructure }
*
*/
public ConnectionLinkRefStructure getConnectionLinkRef() {
return connectionLinkRef;
}
/**
* Sets the value of the connectionLinkRef property.
*
* @param value
* allowed object is
* {@link ConnectionLinkRefStructure }
*
*/
public void setConnectionLinkRef(ConnectionLinkRefStructure value) {
this.connectionLinkRef = value;
}
/**
* Gets the value of the extraInterchange property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isExtraInterchange() {
return extraInterchange;
}
/**
* Sets the value of the extraInterchange property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setExtraInterchange(Boolean value) {
this.extraInterchange = value;
}
/**
* Gets the value of the cancellation property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isCancellation() {
return cancellation;
}
/**
* Sets the value of the cancellation property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setCancellation(Boolean value) {
this.cancellation = value;
}
/**
* Gets the value of the reasonForRemoval property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getReasonForRemoval() {
return reasonForRemoval;
}
/**
* Sets the value of the reasonForRemoval property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setReasonForRemoval(NaturalLanguageStringStructure value) {
this.reasonForRemoval = value;
}
/**
* Gets the value of the feederRef property.
*
* @return
* possible object is
* {@link ConnectingJourneyRefStructure }
*
*/
public ConnectingJourneyRefStructure getFeederRef() {
return feederRef;
}
/**
* Sets the value of the feederRef property.
*
* @param value
* allowed object is
* {@link ConnectingJourneyRefStructure }
*
*/
public void setFeederRef(ConnectingJourneyRefStructure value) {
this.feederRef = value;
}
/**
* Gets the value of the feederArrivalStopRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getFeederArrivalStopRef() {
return feederArrivalStopRef;
}
/**
* Sets the value of the feederArrivalStopRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setFeederArrivalStopRef(StopPointRefStructure value) {
this.feederArrivalStopRef = value;
}
/**
* Gets the value of the feederVisitNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFeederVisitNumber() {
return feederVisitNumber;
}
/**
* Sets the value of the feederVisitNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFeederVisitNumber(BigInteger value) {
this.feederVisitNumber = value;
}
/**
* Gets the value of the feederStopOrder property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getFeederStopOrder() {
return feederStopOrder;
}
/**
* Sets the value of the feederStopOrder property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setFeederStopOrder(BigInteger value) {
this.feederStopOrder = value;
}
/**
* Gets the value of the aimedArrivalTimeOfFeeder property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getAimedArrivalTimeOfFeeder() {
return aimedArrivalTimeOfFeeder;
}
/**
* Sets the value of the aimedArrivalTimeOfFeeder property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedArrivalTimeOfFeeder(XmlDateTime value) {
this.aimedArrivalTimeOfFeeder = value;
}
/**
* Gets the value of the distributorRef property.
*
* @return
* possible object is
* {@link ConnectingJourneyRefStructure }
*
*/
public ConnectingJourneyRefStructure getDistributorRef() {
return distributorRef;
}
/**
* Sets the value of the distributorRef property.
*
* @param value
* allowed object is
* {@link ConnectingJourneyRefStructure }
*
*/
public void setDistributorRef(ConnectingJourneyRefStructure value) {
this.distributorRef = value;
}
/**
* Gets the value of the distributorDepartureStopRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getDistributorDepartureStopRef() {
return distributorDepartureStopRef;
}
/**
* Sets the value of the distributorDepartureStopRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setDistributorDepartureStopRef(StopPointRefStructure value) {
this.distributorDepartureStopRef = value;
}
/**
* Gets the value of the distributorVisitNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDistributorVisitNumber() {
return distributorVisitNumber;
}
/**
* Sets the value of the distributorVisitNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDistributorVisitNumber(BigInteger value) {
this.distributorVisitNumber = value;
}
/**
* Gets the value of the distributorStopOrder property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDistributorStopOrder() {
return distributorStopOrder;
}
/**
* Sets the value of the distributorStopOrder property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDistributorStopOrder(BigInteger value) {
this.distributorStopOrder = value;
}
/**
* Gets the value of the aimedDepartureTimeOfDistributor property.
*
* @return
* possible object is
* {@link String }
*
*/
public XmlDateTime getAimedDepartureTimeOfDistributor() {
return aimedDepartureTimeOfDistributor;
}
/**
* Sets the value of the aimedDepartureTimeOfDistributor property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAimedDepartureTimeOfDistributor(XmlDateTime value) {
this.aimedDepartureTimeOfDistributor = value;
}
/**
* Gets the value of the staySeated property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isStaySeated() {
return staySeated;
}
/**
* Sets the value of the staySeated property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setStaySeated(Boolean value) {
this.staySeated = value;
}
/**
* Gets the value of the guaranteed property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isGuaranteed() {
return guaranteed;
}
/**
* Sets the value of the guaranteed property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setGuaranteed(Boolean value) {
this.guaranteed = value;
}
/**
* Gets the value of the advertised property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isAdvertised() {
return advertised;
}
/**
* Sets the value of the advertised property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setAdvertised(Boolean value) {
this.advertised = value;
}
/**
* Gets the value of the standardWaitTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getStandardWaitTime() {
return standardWaitTime;
}
/**
* Sets the value of the standardWaitTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStandardWaitTime(Duration value) {
this.standardWaitTime = value;
}
/**
* Gets the value of the maximumWaitTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getMaximumWaitTime() {
return maximumWaitTime;
}
/**
* Sets the value of the maximumWaitTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMaximumWaitTime(Duration value) {
this.maximumWaitTime = value;
}
/**
* Gets the value of the maximumAutomaticWaitTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getMaximumAutomaticWaitTime() {
return maximumAutomaticWaitTime;
}
/**
* Sets the value of the maximumAutomaticWaitTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMaximumAutomaticWaitTime(Duration value) {
this.maximumAutomaticWaitTime = value;
}
/**
* Gets the value of the standardTransferTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getStandardTransferTime() {
return standardTransferTime;
}
/**
* Sets the value of the standardTransferTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setStandardTransferTime(Duration value) {
this.standardTransferTime = value;
}
/**
* Gets the value of the minimumTransferTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getMinimumTransferTime() {
return minimumTransferTime;
}
/**
* Sets the value of the minimumTransferTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMinimumTransferTime(Duration value) {
this.minimumTransferTime = value;
}
/**
* Gets the value of the maximumTransferTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getMaximumTransferTime() {
return maximumTransferTime;
}
/**
* Sets the value of the maximumTransferTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setMaximumTransferTime(Duration value) {
this.maximumTransferTime = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public AbstractServiceJourneyInterchangeStructure withInterchangeCode(String value) {
setInterchangeCode(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withInterchangeRef(InterchangeRefStructure value) {
setInterchangeRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withConnectionLinkRef(ConnectionLinkRefStructure value) {
setConnectionLinkRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withExtraInterchange(Boolean value) {
setExtraInterchange(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withCancellation(Boolean value) {
setCancellation(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withReasonForRemoval(NaturalLanguageStringStructure value) {
setReasonForRemoval(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withFeederRef(ConnectingJourneyRefStructure value) {
setFeederRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withFeederArrivalStopRef(StopPointRefStructure value) {
setFeederArrivalStopRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withFeederVisitNumber(BigInteger value) {
setFeederVisitNumber(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withFeederStopOrder(BigInteger value) {
setFeederStopOrder(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withAimedArrivalTimeOfFeeder(XmlDateTime value) {
setAimedArrivalTimeOfFeeder(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withDistributorRef(ConnectingJourneyRefStructure value) {
setDistributorRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withDistributorDepartureStopRef(StopPointRefStructure value) {
setDistributorDepartureStopRef(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withDistributorVisitNumber(BigInteger value) {
setDistributorVisitNumber(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withDistributorStopOrder(BigInteger value) {
setDistributorStopOrder(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withAimedDepartureTimeOfDistributor(XmlDateTime value) {
setAimedDepartureTimeOfDistributor(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withStaySeated(Boolean value) {
setStaySeated(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withGuaranteed(Boolean value) {
setGuaranteed(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withAdvertised(Boolean value) {
setAdvertised(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withStandardWaitTime(Duration value) {
setStandardWaitTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withMaximumWaitTime(Duration value) {
setMaximumWaitTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withMaximumAutomaticWaitTime(Duration value) {
setMaximumAutomaticWaitTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withStandardTransferTime(Duration value) {
setStandardTransferTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withMinimumTransferTime(Duration value) {
setMinimumTransferTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withMaximumTransferTime(Duration value) {
setMaximumTransferTime(value);
return this;
}
public AbstractServiceJourneyInterchangeStructure withExtensions(ExtensionsStructure value) {
setExtensions(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