org.rutebanken.netex.model.ConnectingJourney_DerivedViewStructure 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.BigInteger;
import java.time.OffsetTime;
import javax.xml.bind.JAXBElement;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlElementRef;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetTimeISO8601XmlAdapter;
/**
* Java class for ConnectingJourney_DerivedViewStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="ConnectingJourney_DerivedViewStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DerivedViewStructure">
* <sequence>
* <element name="ServiceJourneyRef" type="{http://www.netex.org.uk/netex}ServiceJourneyRefStructure"/>
* <choice minOccurs="0">
* <element name="DepartureTime" type="{http://www.w3.org/2001/XMLSchema}time"/>
* <element name="Frequency" type="{http://www.netex.org.uk/netex}FrequencyStructure" minOccurs="0"/>
* </choice>
* <element name="Name" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}DestinationDisplayView" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}DayTypeRef" minOccurs="0"/>
* <element ref="{http://www.netex.org.uk/netex}JourneyPatternRef" minOccurs="0"/>
* <element name="ConnectingOrder" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* <element name="ConnectingVisitNumber" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ConnectingJourney_DerivedViewStructure", propOrder = {
"serviceJourneyRef",
"departureTime",
"frequency",
"name",
"destinationDisplayView",
"dayTypeRef",
"journeyPatternRef",
"connectingOrder",
"connectingVisitNumber"
})
public class ConnectingJourney_DerivedViewStructure
extends DerivedViewStructure
{
@XmlElement(name = "ServiceJourneyRef", required = true)
protected ServiceJourneyRefStructure serviceJourneyRef;
@XmlElement(name = "DepartureTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime departureTime;
@XmlElement(name = "Frequency")
protected FrequencyStructure frequency;
@XmlElement(name = "Name")
protected MultilingualString name;
@XmlElement(name = "DestinationDisplayView")
protected DestinationDisplayView destinationDisplayView;
@XmlElementRef(name = "DayTypeRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends DayTypeRefStructure> dayTypeRef;
@XmlElementRef(name = "JourneyPatternRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends JourneyPatternRefStructure> journeyPatternRef;
@XmlElement(name = "ConnectingOrder")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger connectingOrder;
@XmlElement(name = "ConnectingVisitNumber", defaultValue = "1")
@XmlSchemaType(name = "positiveInteger")
protected BigInteger connectingVisitNumber;
/**
* Gets the value of the serviceJourneyRef property.
*
* @return
* possible object is
* {@link ServiceJourneyRefStructure }
*
*/
public ServiceJourneyRefStructure getServiceJourneyRef() {
return serviceJourneyRef;
}
/**
* Sets the value of the serviceJourneyRef property.
*
* @param value
* allowed object is
* {@link ServiceJourneyRefStructure }
*
*/
public void setServiceJourneyRef(ServiceJourneyRefStructure value) {
this.serviceJourneyRef = value;
}
/**
* Gets the value of the departureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getDepartureTime() {
return departureTime;
}
/**
* Sets the value of the departureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDepartureTime(OffsetTime value) {
this.departureTime = value;
}
/**
* Gets the value of the frequency property.
*
* @return
* possible object is
* {@link FrequencyStructure }
*
*/
public FrequencyStructure getFrequency() {
return frequency;
}
/**
* Sets the value of the frequency property.
*
* @param value
* allowed object is
* {@link FrequencyStructure }
*
*/
public void setFrequency(FrequencyStructure value) {
this.frequency = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setName(MultilingualString value) {
this.name = 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 dayTypeRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FareDayTypeRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DayTypeRefStructure }{@code >}
*
*/
public JAXBElement extends DayTypeRefStructure> getDayTypeRef() {
return dayTypeRef;
}
/**
* Sets the value of the dayTypeRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FareDayTypeRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DayTypeRefStructure }{@code >}
*
*/
public void setDayTypeRef(JAXBElement extends DayTypeRefStructure> value) {
this.dayTypeRef = value;
}
/**
* Gets the value of the journeyPatternRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link ServiceJourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link JourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicePatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DeadRunJourneyPatternRefStructure }{@code >}
*
*/
public JAXBElement extends JourneyPatternRefStructure> getJourneyPatternRef() {
return journeyPatternRef;
}
/**
* Sets the value of the journeyPatternRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link ServiceJourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link JourneyPatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link ServicePatternRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link DeadRunJourneyPatternRefStructure }{@code >}
*
*/
public void setJourneyPatternRef(JAXBElement extends JourneyPatternRefStructure> value) {
this.journeyPatternRef = value;
}
/**
* Gets the value of the connectingOrder property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getConnectingOrder() {
return connectingOrder;
}
/**
* Sets the value of the connectingOrder property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setConnectingOrder(BigInteger value) {
this.connectingOrder = value;
}
/**
* Gets the value of the connectingVisitNumber property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getConnectingVisitNumber() {
return connectingVisitNumber;
}
/**
* Sets the value of the connectingVisitNumber property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setConnectingVisitNumber(BigInteger value) {
this.connectingVisitNumber = value;
}
public ConnectingJourney_DerivedViewStructure withServiceJourneyRef(ServiceJourneyRefStructure value) {
setServiceJourneyRef(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withDepartureTime(OffsetTime value) {
setDepartureTime(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withFrequency(FrequencyStructure value) {
setFrequency(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withName(MultilingualString value) {
setName(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withDestinationDisplayView(DestinationDisplayView value) {
setDestinationDisplayView(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withDayTypeRef(JAXBElement extends DayTypeRefStructure> value) {
setDayTypeRef(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withJourneyPatternRef(JAXBElement extends JourneyPatternRefStructure> value) {
setJourneyPatternRef(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withConnectingOrder(BigInteger value) {
setConnectingOrder(value);
return this;
}
public ConnectingJourney_DerivedViewStructure withConnectingVisitNumber(BigInteger value) {
setConnectingVisitNumber(value);
return this;
}
@Override
public ConnectingJourney_DerivedViewStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public ConnectingJourney_DerivedViewStructure 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