
de.vdv.ojp20.siri.TargetedInterchangeStructure 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.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.util.DurationXmlAdapter;
/**
* Java class for TargetedInterchangeStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TargetedInterchangeStructure", propOrder = {
"interchangeCode",
"distributorVehicleJourneyRef",
"distributorConnectionLinkRef",
"distributorConnectionLink",
"distributorVisitNumber",
"distributorOrder",
"staySeated",
"guaranteed",
"advertised",
"standardWaitTime",
"maximumWaitTime",
"maximumAutomaticWaitTime",
"standardTransferTime",
"minimumTransferTime",
"maximumTransferTime"
})
public class TargetedInterchangeStructure {
@XmlElement(name = "InterchangeCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String interchangeCode;
@XmlElement(name = "DistributorVehicleJourneyRef", required = true)
protected DatedVehicleJourneyRefStructure distributorVehicleJourneyRef;
@XmlElement(name = "DistributorConnectionLinkRef")
protected ConnectionLinkRefStructure distributorConnectionLinkRef;
@XmlElement(name = "DistributorConnectionLink")
protected ContextualisedConnectionLinkStructure distributorConnectionLink;
@XmlElement(name = "DistributorVisitNumber")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger distributorVisitNumber;
@XmlElement(name = "DistributorOrder")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger distributorOrder;
@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;
/**
* 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 distributorVehicleJourneyRef property.
*
* @return
* possible object is
* {@link DatedVehicleJourneyRefStructure }
*
*/
public DatedVehicleJourneyRefStructure getDistributorVehicleJourneyRef() {
return distributorVehicleJourneyRef;
}
/**
* Sets the value of the distributorVehicleJourneyRef property.
*
* @param value
* allowed object is
* {@link DatedVehicleJourneyRefStructure }
*
*/
public void setDistributorVehicleJourneyRef(DatedVehicleJourneyRefStructure value) {
this.distributorVehicleJourneyRef = value;
}
/**
* Gets the value of the distributorConnectionLinkRef property.
*
* @return
* possible object is
* {@link ConnectionLinkRefStructure }
*
*/
public ConnectionLinkRefStructure getDistributorConnectionLinkRef() {
return distributorConnectionLinkRef;
}
/**
* Sets the value of the distributorConnectionLinkRef property.
*
* @param value
* allowed object is
* {@link ConnectionLinkRefStructure }
*
*/
public void setDistributorConnectionLinkRef(ConnectionLinkRefStructure value) {
this.distributorConnectionLinkRef = value;
}
/**
* Gets the value of the distributorConnectionLink property.
*
* @return
* possible object is
* {@link ContextualisedConnectionLinkStructure }
*
*/
public ContextualisedConnectionLinkStructure getDistributorConnectionLink() {
return distributorConnectionLink;
}
/**
* Sets the value of the distributorConnectionLink property.
*
* @param value
* allowed object is
* {@link ContextualisedConnectionLinkStructure }
*
*/
public void setDistributorConnectionLink(ContextualisedConnectionLinkStructure value) {
this.distributorConnectionLink = 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 distributorOrder property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getDistributorOrder() {
return distributorOrder;
}
/**
* Sets the value of the distributorOrder property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setDistributorOrder(BigInteger value) {
this.distributorOrder = 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;
}
public TargetedInterchangeStructure withInterchangeCode(String value) {
setInterchangeCode(value);
return this;
}
public TargetedInterchangeStructure withDistributorVehicleJourneyRef(DatedVehicleJourneyRefStructure value) {
setDistributorVehicleJourneyRef(value);
return this;
}
public TargetedInterchangeStructure withDistributorConnectionLinkRef(ConnectionLinkRefStructure value) {
setDistributorConnectionLinkRef(value);
return this;
}
public TargetedInterchangeStructure withDistributorConnectionLink(ContextualisedConnectionLinkStructure value) {
setDistributorConnectionLink(value);
return this;
}
public TargetedInterchangeStructure withDistributorVisitNumber(BigInteger value) {
setDistributorVisitNumber(value);
return this;
}
public TargetedInterchangeStructure withDistributorOrder(BigInteger value) {
setDistributorOrder(value);
return this;
}
public TargetedInterchangeStructure withStaySeated(Boolean value) {
setStaySeated(value);
return this;
}
public TargetedInterchangeStructure withGuaranteed(Boolean value) {
setGuaranteed(value);
return this;
}
public TargetedInterchangeStructure withAdvertised(Boolean value) {
setAdvertised(value);
return this;
}
public TargetedInterchangeStructure withStandardWaitTime(Duration value) {
setStandardWaitTime(value);
return this;
}
public TargetedInterchangeStructure withMaximumWaitTime(Duration value) {
setMaximumWaitTime(value);
return this;
}
public TargetedInterchangeStructure withMaximumAutomaticWaitTime(Duration value) {
setMaximumAutomaticWaitTime(value);
return this;
}
public TargetedInterchangeStructure withStandardTransferTime(Duration value) {
setStandardTransferTime(value);
return this;
}
public TargetedInterchangeStructure withMinimumTransferTime(Duration value) {
setMinimumTransferTime(value);
return this;
}
public TargetedInterchangeStructure withMaximumTransferTime(Duration value) {
setMaximumTransferTime(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