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

org.rutebanken.netex.model.JourneyDesignatorStructure 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.OffsetDateTime;
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.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateXmlAdapter;
import org.rutebanken.util.OffsetTimeISO8601XmlAdapter;


/**
 * 

Java class for JourneyDesignatorStructure complex type. * *

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

 * <complexType name="JourneyDesignatorStructure">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element name="FromPointRef" type="{http://www.netex.org.uk/netex}TimingPointRefStructure"/>
 *         <element name="ToPointRef" type="{http://www.netex.org.uk/netex}TimingPointRefStructure" minOccurs="0"/>
 *         <group ref="{http://www.netex.org.uk/netex}DesignatorGroup"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "JourneyDesignatorStructure", propOrder = { "fromPointRef", "toPointRef", "date", "departureTime", "departureDayOffset", "arrivalTime", "arrivalDayOffset", "dayTypeRef", "lineRef", "directionRef", "alternativeJourneyRef" }) public class JourneyDesignatorStructure { @XmlElement(name = "FromPointRef", required = true) protected TimingPointRefStructure fromPointRef; @XmlElement(name = "ToPointRef") protected TimingPointRefStructure toPointRef; @XmlElement(name = "Date", type = String.class) @XmlJavaTypeAdapter(OffsetDateXmlAdapter.class) @XmlSchemaType(name = "date") protected OffsetDateTime date; @XmlElement(name = "DepartureTime", type = String.class) @XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "time") protected OffsetTime departureTime; @XmlElement(name = "DepartureDayOffset") protected BigInteger departureDayOffset; @XmlElement(name = "ArrivalTime", type = String.class) @XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "time") protected OffsetTime arrivalTime; @XmlElement(name = "ArrivalDayOffset") protected BigInteger arrivalDayOffset; @XmlElementRef(name = "DayTypeRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement dayTypeRef; @XmlElementRef(name = "LineRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement lineRef; @XmlElement(name = "DirectionRef") protected DirectionRefStructure directionRef; @XmlElement(name = "AlternativeJourneyRef") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String alternativeJourneyRef; /** * Gets the value of the fromPointRef property. * * @return * possible object is * {@link TimingPointRefStructure } * */ public TimingPointRefStructure getFromPointRef() { return fromPointRef; } /** * Sets the value of the fromPointRef property. * * @param value * allowed object is * {@link TimingPointRefStructure } * */ public void setFromPointRef(TimingPointRefStructure value) { this.fromPointRef = value; } /** * Gets the value of the toPointRef property. * * @return * possible object is * {@link TimingPointRefStructure } * */ public TimingPointRefStructure getToPointRef() { return toPointRef; } /** * Sets the value of the toPointRef property. * * @param value * allowed object is * {@link TimingPointRefStructure } * */ public void setToPointRef(TimingPointRefStructure value) { this.toPointRef = value; } /** * Gets the value of the date property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getDate() { return date; } /** * Sets the value of the date property. * * @param value * allowed object is * {@link String } * */ public void setDate(OffsetDateTime value) { this.date = 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 departureDayOffset property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getDepartureDayOffset() { return departureDayOffset; } /** * Sets the value of the departureDayOffset property. * * @param value * allowed object is * {@link BigInteger } * */ public void setDepartureDayOffset(BigInteger value) { this.departureDayOffset = value; } /** * Gets the value of the arrivalTime property. * * @return * possible object is * {@link String } * */ public OffsetTime getArrivalTime() { return arrivalTime; } /** * Sets the value of the arrivalTime property. * * @param value * allowed object is * {@link String } * */ public void setArrivalTime(OffsetTime value) { this.arrivalTime = value; } /** * Gets the value of the arrivalDayOffset property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getArrivalDayOffset() { return arrivalDayOffset; } /** * Sets the value of the arrivalDayOffset property. * * @param value * allowed object is * {@link BigInteger } * */ public void setArrivalDayOffset(BigInteger value) { this.arrivalDayOffset = 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 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 value) { this.dayTypeRef = value; } /** * Gets the value of the lineRef property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >} * */ public JAXBElement getLineRef() { return lineRef; } /** * Sets the value of the lineRef property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >} * */ public void setLineRef(JAXBElement value) { this.lineRef = 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 alternativeJourneyRef property. * * @return * possible object is * {@link String } * */ public String getAlternativeJourneyRef() { return alternativeJourneyRef; } /** * Sets the value of the alternativeJourneyRef property. * * @param value * allowed object is * {@link String } * */ public void setAlternativeJourneyRef(String value) { this.alternativeJourneyRef = value; } public JourneyDesignatorStructure withFromPointRef(TimingPointRefStructure value) { setFromPointRef(value); return this; } public JourneyDesignatorStructure withToPointRef(TimingPointRefStructure value) { setToPointRef(value); return this; } public JourneyDesignatorStructure withDate(OffsetDateTime value) { setDate(value); return this; } public JourneyDesignatorStructure withDepartureTime(OffsetTime value) { setDepartureTime(value); return this; } public JourneyDesignatorStructure withDepartureDayOffset(BigInteger value) { setDepartureDayOffset(value); return this; } public JourneyDesignatorStructure withArrivalTime(OffsetTime value) { setArrivalTime(value); return this; } public JourneyDesignatorStructure withArrivalDayOffset(BigInteger value) { setArrivalDayOffset(value); return this; } public JourneyDesignatorStructure withDayTypeRef(JAXBElement value) { setDayTypeRef(value); return this; } public JourneyDesignatorStructure withLineRef(JAXBElement value) { setLineRef(value); return this; } public JourneyDesignatorStructure withDirectionRef(DirectionRefStructure value) { setDirectionRef(value); return this; } public JourneyDesignatorStructure withAlternativeJourneyRef(String value) { setAlternativeJourneyRef(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