All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.rutebanken.netex.model.ServiceJourneyInterchange_VersionStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.math.BigInteger;
import java.time.Duration;
import java.time.OffsetDateTime;
import java.util.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for ServiceJourneyInterchange_VersionStructure complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="ServiceJourneyInterchange_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}Interchange_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}ServiceJourneyInterchangeGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ServiceJourneyInterchange_VersionStructure", propOrder = { "fromPointRef", "fromVisitNumber", "toPointRef", "toVisitNumber", "fromJourneyRef", "toJourneyRef", "serviceJourneyPatternInterchangeRef" }) @XmlSeeAlso({ ServiceJourneyInterchange.class }) public class ServiceJourneyInterchange_VersionStructure extends Interchange_VersionStructure { @XmlElement(name = "FromPointRef") protected ScheduledStopPointRefStructure fromPointRef; @XmlElement(name = "FromVisitNumber", defaultValue = "1") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger fromVisitNumber; @XmlElement(name = "ToPointRef") protected ScheduledStopPointRefStructure toPointRef; @XmlElement(name = "ToVisitNumber", defaultValue = "1") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger toVisitNumber; @XmlElement(name = "FromJourneyRef", required = true) protected VehicleJourneyRefStructure fromJourneyRef; @XmlElement(name = "ToJourneyRef", required = true) protected VehicleJourneyRefStructure toJourneyRef; @XmlElement(name = "ServiceJourneyPatternInterchangeRef") protected ServiceJourneyPatternInterchangeRefStructure serviceJourneyPatternInterchangeRef; /** * Gets the value of the fromPointRef property. * * @return * possible object is * {@link ScheduledStopPointRefStructure } * */ public ScheduledStopPointRefStructure getFromPointRef() { return fromPointRef; } /** * Sets the value of the fromPointRef property. * * @param value * allowed object is * {@link ScheduledStopPointRefStructure } * */ public void setFromPointRef(ScheduledStopPointRefStructure value) { this.fromPointRef = value; } /** * Gets the value of the fromVisitNumber property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getFromVisitNumber() { return fromVisitNumber; } /** * Sets the value of the fromVisitNumber property. * * @param value * allowed object is * {@link BigInteger } * */ public void setFromVisitNumber(BigInteger value) { this.fromVisitNumber = value; } /** * Gets the value of the toPointRef property. * * @return * possible object is * {@link ScheduledStopPointRefStructure } * */ public ScheduledStopPointRefStructure getToPointRef() { return toPointRef; } /** * Sets the value of the toPointRef property. * * @param value * allowed object is * {@link ScheduledStopPointRefStructure } * */ public void setToPointRef(ScheduledStopPointRefStructure value) { this.toPointRef = value; } /** * Gets the value of the toVisitNumber property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getToVisitNumber() { return toVisitNumber; } /** * Sets the value of the toVisitNumber property. * * @param value * allowed object is * {@link BigInteger } * */ public void setToVisitNumber(BigInteger value) { this.toVisitNumber = value; } /** * Gets the value of the fromJourneyRef property. * * @return * possible object is * {@link VehicleJourneyRefStructure } * */ public VehicleJourneyRefStructure getFromJourneyRef() { return fromJourneyRef; } /** * Sets the value of the fromJourneyRef property. * * @param value * allowed object is * {@link VehicleJourneyRefStructure } * */ public void setFromJourneyRef(VehicleJourneyRefStructure value) { this.fromJourneyRef = value; } /** * Gets the value of the toJourneyRef property. * * @return * possible object is * {@link VehicleJourneyRefStructure } * */ public VehicleJourneyRefStructure getToJourneyRef() { return toJourneyRef; } /** * Sets the value of the toJourneyRef property. * * @param value * allowed object is * {@link VehicleJourneyRefStructure } * */ public void setToJourneyRef(VehicleJourneyRefStructure value) { this.toJourneyRef = value; } /** * Gets the value of the serviceJourneyPatternInterchangeRef property. * * @return * possible object is * {@link ServiceJourneyPatternInterchangeRefStructure } * */ public ServiceJourneyPatternInterchangeRefStructure getServiceJourneyPatternInterchangeRef() { return serviceJourneyPatternInterchangeRef; } /** * Sets the value of the serviceJourneyPatternInterchangeRef property. * * @param value * allowed object is * {@link ServiceJourneyPatternInterchangeRefStructure } * */ public void setServiceJourneyPatternInterchangeRef(ServiceJourneyPatternInterchangeRefStructure value) { this.serviceJourneyPatternInterchangeRef = value; } public ServiceJourneyInterchange_VersionStructure withFromPointRef(ScheduledStopPointRefStructure value) { setFromPointRef(value); return this; } public ServiceJourneyInterchange_VersionStructure withFromVisitNumber(BigInteger value) { setFromVisitNumber(value); return this; } public ServiceJourneyInterchange_VersionStructure withToPointRef(ScheduledStopPointRefStructure value) { setToPointRef(value); return this; } public ServiceJourneyInterchange_VersionStructure withToVisitNumber(BigInteger value) { setToVisitNumber(value); return this; } public ServiceJourneyInterchange_VersionStructure withFromJourneyRef(VehicleJourneyRefStructure value) { setFromJourneyRef(value); return this; } public ServiceJourneyInterchange_VersionStructure withToJourneyRef(VehicleJourneyRefStructure value) { setToJourneyRef(value); return this; } public ServiceJourneyInterchange_VersionStructure withServiceJourneyPatternInterchangeRef(ServiceJourneyPatternInterchangeRefStructure value) { setServiceJourneyPatternInterchangeRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withExternalInterchangeRef(ExternalObjectRefStructure value) { setExternalInterchangeRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withConnectionRef(ConnectionRefStructure value) { setConnectionRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withPriority(BigInteger value) { setPriority(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withStaySeated(Boolean value) { setStaySeated(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withCrossBorder(Boolean value) { setCrossBorder(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withPlanned(Boolean value) { setPlanned(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withGuaranteed(Boolean value) { setGuaranteed(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withAdvertised(Boolean value) { setAdvertised(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withControlled(Boolean value) { setControlled(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withStandardWaitTime(Duration value) { setStandardWaitTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withMaximumWaitTime(Duration value) { setMaximumWaitTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withMaximumAutomaticWaitTime(Duration value) { setMaximumAutomaticWaitTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withStandardTransferTime(Duration value) { setStandardTransferTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withMinimumTransferTime(Duration value) { setMinimumTransferTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withMaximumTransferTime(Duration value) { setMaximumTransferTime(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withControlCentreNotifyThreshold(Duration value) { setControlCentreNotifyThreshold(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withTransferModes(AccessModeEnumeration... values) { if (values!= null) { for (AccessModeEnumeration value: values) { getTransferModes().add(value); } } return this; } @Override public ServiceJourneyInterchange_VersionStructure withTransferModes(Collection values) { if (values!= null) { getTransferModes().addAll(values); } return this; } @Override public ServiceJourneyInterchange_VersionStructure withNoticeAssignments(Interchange_VersionStructure.NoticeAssignments value) { setNoticeAssignments(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public ServiceJourneyInterchange_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public ServiceJourneyInterchange_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public ServiceJourneyInterchange_VersionStructure withId(String value) { setId(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 - 2024 Weber Informatics LLC | Privacy Policy