org.rutebanken.netex.model.JourneyPattern_VersionStructure Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of netex-java-model Show documentation
Show all versions of netex-java-model Show documentation
Generates Java model from NeTEx XSDs using JAXB.
//
// 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.BigDecimal;
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 JourneyPattern_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="JourneyPattern_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}LinkSequence_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}JourneyPatternGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "JourneyPattern_VersionStructure", propOrder = {
"routeRef",
"routeView",
"directionType",
"directionRef",
"directionView",
"destinationDisplayRef",
"destinationDisplayView",
"typeOfJourneyPatternRef",
"operationalContextRef",
"timingPatternRef",
"runTimes",
"waitTimes",
"headways",
"layovers",
"pointsInSequence",
"linksInSequence"
})
@XmlSeeAlso({
JourneyPattern.class,
DeadRunJourneyPattern_VersionStructure.class,
ServiceJourneyPattern_VersionStructure.class
})
public abstract class JourneyPattern_VersionStructure
extends LinkSequence_VersionStructure
{
@XmlElement(name = "RouteRef")
protected RouteRefStructure routeRef;
@XmlElement(name = "RouteView")
protected RouteView routeView;
@XmlElement(name = "DirectionType")
@XmlSchemaType(name = "normalizedString")
protected DirectionTypeEnumeration directionType;
@XmlElement(name = "DirectionRef")
protected DirectionRefStructure directionRef;
@XmlElement(name = "DirectionView")
protected DirectionView directionView;
@XmlElement(name = "DestinationDisplayRef")
protected DestinationDisplayRefStructure destinationDisplayRef;
@XmlElement(name = "DestinationDisplayView")
protected DestinationDisplayView destinationDisplayView;
@XmlElement(name = "TypeOfJourneyPatternRef")
protected TypeOfJourneyPatternRefStructure typeOfJourneyPatternRef;
@XmlElement(name = "OperationalContextRef")
protected OperationalContextRefStructure operationalContextRef;
@XmlElement(name = "TimingPatternRef")
protected TimingPatternRefStructure timingPatternRef;
protected JourneyPatternRunTimes_RelStructure runTimes;
protected JourneyPatternWaitTimes_RelStructure waitTimes;
protected JourneyPatternHeadways_RelStructure headways;
protected JourneyPatternLayovers_RelStructure layovers;
protected PointsInJourneyPattern_RelStructure pointsInSequence;
protected LinksInJourneyPattern_RelStructure linksInSequence;
/**
* Gets the value of the routeRef property.
*
* @return
* possible object is
* {@link RouteRefStructure }
*
*/
public RouteRefStructure getRouteRef() {
return routeRef;
}
/**
* Sets the value of the routeRef property.
*
* @param value
* allowed object is
* {@link RouteRefStructure }
*
*/
public void setRouteRef(RouteRefStructure value) {
this.routeRef = value;
}
/**
* Gets the value of the routeView property.
*
* @return
* possible object is
* {@link RouteView }
*
*/
public RouteView getRouteView() {
return routeView;
}
/**
* Sets the value of the routeView property.
*
* @param value
* allowed object is
* {@link RouteView }
*
*/
public void setRouteView(RouteView value) {
this.routeView = value;
}
/**
* Gets the value of the directionType property.
*
* @return
* possible object is
* {@link DirectionTypeEnumeration }
*
*/
public DirectionTypeEnumeration getDirectionType() {
return directionType;
}
/**
* Sets the value of the directionType property.
*
* @param value
* allowed object is
* {@link DirectionTypeEnumeration }
*
*/
public void setDirectionType(DirectionTypeEnumeration value) {
this.directionType = value;
}
/**
* Gets the value of the directionRef property.
*
* @return
* possible object is
* {@link DirectionRefStructure }
*
*/
public DirectionRefStructure getDirectionRef() {
return directionRef;
}
/**
* Sets the value of the directionRef property.
*
* @param value
* allowed object is
* {@link DirectionRefStructure }
*
*/
public void setDirectionRef(DirectionRefStructure value) {
this.directionRef = value;
}
/**
* Gets the value of the directionView property.
*
* @return
* possible object is
* {@link DirectionView }
*
*/
public DirectionView getDirectionView() {
return directionView;
}
/**
* Sets the value of the directionView property.
*
* @param value
* allowed object is
* {@link DirectionView }
*
*/
public void setDirectionView(DirectionView value) {
this.directionView = value;
}
/**
* Gets the value of the destinationDisplayRef property.
*
* @return
* possible object is
* {@link DestinationDisplayRefStructure }
*
*/
public DestinationDisplayRefStructure getDestinationDisplayRef() {
return destinationDisplayRef;
}
/**
* Sets the value of the destinationDisplayRef property.
*
* @param value
* allowed object is
* {@link DestinationDisplayRefStructure }
*
*/
public void setDestinationDisplayRef(DestinationDisplayRefStructure value) {
this.destinationDisplayRef = value;
}
/**
* Gets the value of the destinationDisplayView property.
*
* @return
* possible object is
* {@link DestinationDisplayView }
*
*/
public DestinationDisplayView getDestinationDisplayView() {
return destinationDisplayView;
}
/**
* Sets the value of the destinationDisplayView property.
*
* @param value
* allowed object is
* {@link DestinationDisplayView }
*
*/
public void setDestinationDisplayView(DestinationDisplayView value) {
this.destinationDisplayView = value;
}
/**
* Gets the value of the typeOfJourneyPatternRef property.
*
* @return
* possible object is
* {@link TypeOfJourneyPatternRefStructure }
*
*/
public TypeOfJourneyPatternRefStructure getTypeOfJourneyPatternRef() {
return typeOfJourneyPatternRef;
}
/**
* Sets the value of the typeOfJourneyPatternRef property.
*
* @param value
* allowed object is
* {@link TypeOfJourneyPatternRefStructure }
*
*/
public void setTypeOfJourneyPatternRef(TypeOfJourneyPatternRefStructure value) {
this.typeOfJourneyPatternRef = value;
}
/**
* Gets the value of the operationalContextRef property.
*
* @return
* possible object is
* {@link OperationalContextRefStructure }
*
*/
public OperationalContextRefStructure getOperationalContextRef() {
return operationalContextRef;
}
/**
* Sets the value of the operationalContextRef property.
*
* @param value
* allowed object is
* {@link OperationalContextRefStructure }
*
*/
public void setOperationalContextRef(OperationalContextRefStructure value) {
this.operationalContextRef = value;
}
/**
* Gets the value of the timingPatternRef property.
*
* @return
* possible object is
* {@link TimingPatternRefStructure }
*
*/
public TimingPatternRefStructure getTimingPatternRef() {
return timingPatternRef;
}
/**
* Sets the value of the timingPatternRef property.
*
* @param value
* allowed object is
* {@link TimingPatternRefStructure }
*
*/
public void setTimingPatternRef(TimingPatternRefStructure value) {
this.timingPatternRef = value;
}
/**
* Gets the value of the runTimes property.
*
* @return
* possible object is
* {@link JourneyPatternRunTimes_RelStructure }
*
*/
public JourneyPatternRunTimes_RelStructure getRunTimes() {
return runTimes;
}
/**
* Sets the value of the runTimes property.
*
* @param value
* allowed object is
* {@link JourneyPatternRunTimes_RelStructure }
*
*/
public void setRunTimes(JourneyPatternRunTimes_RelStructure value) {
this.runTimes = value;
}
/**
* Gets the value of the waitTimes property.
*
* @return
* possible object is
* {@link JourneyPatternWaitTimes_RelStructure }
*
*/
public JourneyPatternWaitTimes_RelStructure getWaitTimes() {
return waitTimes;
}
/**
* Sets the value of the waitTimes property.
*
* @param value
* allowed object is
* {@link JourneyPatternWaitTimes_RelStructure }
*
*/
public void setWaitTimes(JourneyPatternWaitTimes_RelStructure value) {
this.waitTimes = value;
}
/**
* Gets the value of the headways property.
*
* @return
* possible object is
* {@link JourneyPatternHeadways_RelStructure }
*
*/
public JourneyPatternHeadways_RelStructure getHeadways() {
return headways;
}
/**
* Sets the value of the headways property.
*
* @param value
* allowed object is
* {@link JourneyPatternHeadways_RelStructure }
*
*/
public void setHeadways(JourneyPatternHeadways_RelStructure value) {
this.headways = value;
}
/**
* Gets the value of the layovers property.
*
* @return
* possible object is
* {@link JourneyPatternLayovers_RelStructure }
*
*/
public JourneyPatternLayovers_RelStructure getLayovers() {
return layovers;
}
/**
* Sets the value of the layovers property.
*
* @param value
* allowed object is
* {@link JourneyPatternLayovers_RelStructure }
*
*/
public void setLayovers(JourneyPatternLayovers_RelStructure value) {
this.layovers = value;
}
/**
* Gets the value of the pointsInSequence property.
*
* @return
* possible object is
* {@link PointsInJourneyPattern_RelStructure }
*
*/
public PointsInJourneyPattern_RelStructure getPointsInSequence() {
return pointsInSequence;
}
/**
* Sets the value of the pointsInSequence property.
*
* @param value
* allowed object is
* {@link PointsInJourneyPattern_RelStructure }
*
*/
public void setPointsInSequence(PointsInJourneyPattern_RelStructure value) {
this.pointsInSequence = value;
}
/**
* Gets the value of the linksInSequence property.
*
* @return
* possible object is
* {@link LinksInJourneyPattern_RelStructure }
*
*/
public LinksInJourneyPattern_RelStructure getLinksInSequence() {
return linksInSequence;
}
/**
* Sets the value of the linksInSequence property.
*
* @param value
* allowed object is
* {@link LinksInJourneyPattern_RelStructure }
*
*/
public void setLinksInSequence(LinksInJourneyPattern_RelStructure value) {
this.linksInSequence = value;
}
public JourneyPattern_VersionStructure withRouteRef(RouteRefStructure value) {
setRouteRef(value);
return this;
}
public JourneyPattern_VersionStructure withRouteView(RouteView value) {
setRouteView(value);
return this;
}
public JourneyPattern_VersionStructure withDirectionType(DirectionTypeEnumeration value) {
setDirectionType(value);
return this;
}
public JourneyPattern_VersionStructure withDirectionRef(DirectionRefStructure value) {
setDirectionRef(value);
return this;
}
public JourneyPattern_VersionStructure withDirectionView(DirectionView value) {
setDirectionView(value);
return this;
}
public JourneyPattern_VersionStructure withDestinationDisplayRef(DestinationDisplayRefStructure value) {
setDestinationDisplayRef(value);
return this;
}
public JourneyPattern_VersionStructure withDestinationDisplayView(DestinationDisplayView value) {
setDestinationDisplayView(value);
return this;
}
public JourneyPattern_VersionStructure withTypeOfJourneyPatternRef(TypeOfJourneyPatternRefStructure value) {
setTypeOfJourneyPatternRef(value);
return this;
}
public JourneyPattern_VersionStructure withOperationalContextRef(OperationalContextRefStructure value) {
setOperationalContextRef(value);
return this;
}
public JourneyPattern_VersionStructure withTimingPatternRef(TimingPatternRefStructure value) {
setTimingPatternRef(value);
return this;
}
public JourneyPattern_VersionStructure withRunTimes(JourneyPatternRunTimes_RelStructure value) {
setRunTimes(value);
return this;
}
public JourneyPattern_VersionStructure withWaitTimes(JourneyPatternWaitTimes_RelStructure value) {
setWaitTimes(value);
return this;
}
public JourneyPattern_VersionStructure withHeadways(JourneyPatternHeadways_RelStructure value) {
setHeadways(value);
return this;
}
public JourneyPattern_VersionStructure withLayovers(JourneyPatternLayovers_RelStructure value) {
setLayovers(value);
return this;
}
public JourneyPattern_VersionStructure withPointsInSequence(PointsInJourneyPattern_RelStructure value) {
setPointsInSequence(value);
return this;
}
public JourneyPattern_VersionStructure withLinksInSequence(LinksInJourneyPattern_RelStructure value) {
setLinksInSequence(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withDistance(BigDecimal value) {
setDistance(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withSectionsInSequence(SectionsInSequence_RelStructure value) {
setSectionsInSequence(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public JourneyPattern_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public JourneyPattern_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public JourneyPattern_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public JourneyPattern_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