org.rutebanken.netex.model.TimetabledPassingTime_VersionedChildStructure 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.Duration;
import java.time.OffsetDateTime;
import java.time.OffsetTime;
import java.util.Collection;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import com.migesok.jaxb.adapter.javatime.DurationXmlAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetTimeISO8601XmlAdapter;
/**
* Java class for TimetabledPassingTime_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimetabledPassingTime_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}PassingTime_VersionedChildStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}TimetabledPassingTimeGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimetabledPassingTime_VersionedChildStructure", propOrder = {
"arrivalTime",
"arrivalDayOffset",
"departureTime",
"departureDayOffset",
"waitingTime",
"headway",
"latestArrivalTime",
"latestArrivalDayOffset",
"earliestDepartureTime",
"earliestDepartureDayOffset"
})
@XmlSeeAlso({
TimetabledPassingTime.class
})
public class TimetabledPassingTime_VersionedChildStructure
extends PassingTime_VersionedChildStructure
{
@XmlElement(name = "ArrivalTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime arrivalTime;
@XmlElement(name = "ArrivalDayOffset", defaultValue = "0")
protected BigInteger arrivalDayOffset;
@XmlElement(name = "DepartureTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime departureTime;
@XmlElement(name = "DepartureDayOffset", defaultValue = "0")
protected BigInteger departureDayOffset;
@XmlElement(name = "WaitingTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration waitingTime;
@XmlElement(name = "Headway")
protected HeadwayIntervalStructure headway;
@XmlElement(name = "LatestArrivalTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime latestArrivalTime;
@XmlElement(name = "LatestArrivalDayOffset", defaultValue = "0")
protected BigInteger latestArrivalDayOffset;
@XmlElement(name = "EarliestDepartureTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime earliestDepartureTime;
@XmlElement(name = "EarliestDepartureDayOffset", defaultValue = "0")
protected BigInteger earliestDepartureDayOffset;
/**
* 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 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 waitingTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getWaitingTime() {
return waitingTime;
}
/**
* Sets the value of the waitingTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setWaitingTime(Duration value) {
this.waitingTime = value;
}
/**
* Gets the value of the headway property.
*
* @return
* possible object is
* {@link HeadwayIntervalStructure }
*
*/
public HeadwayIntervalStructure getHeadway() {
return headway;
}
/**
* Sets the value of the headway property.
*
* @param value
* allowed object is
* {@link HeadwayIntervalStructure }
*
*/
public void setHeadway(HeadwayIntervalStructure value) {
this.headway = value;
}
/**
* Gets the value of the latestArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getLatestArrivalTime() {
return latestArrivalTime;
}
/**
* Sets the value of the latestArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setLatestArrivalTime(OffsetTime value) {
this.latestArrivalTime = value;
}
/**
* Gets the value of the latestArrivalDayOffset property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getLatestArrivalDayOffset() {
return latestArrivalDayOffset;
}
/**
* Sets the value of the latestArrivalDayOffset property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setLatestArrivalDayOffset(BigInteger value) {
this.latestArrivalDayOffset = value;
}
/**
* Gets the value of the earliestDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getEarliestDepartureTime() {
return earliestDepartureTime;
}
/**
* Sets the value of the earliestDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setEarliestDepartureTime(OffsetTime value) {
this.earliestDepartureTime = value;
}
/**
* Gets the value of the earliestDepartureDayOffset property.
*
* @return
* possible object is
* {@link BigInteger }
*
*/
public BigInteger getEarliestDepartureDayOffset() {
return earliestDepartureDayOffset;
}
/**
* Sets the value of the earliestDepartureDayOffset property.
*
* @param value
* allowed object is
* {@link BigInteger }
*
*/
public void setEarliestDepartureDayOffset(BigInteger value) {
this.earliestDepartureDayOffset = value;
}
public TimetabledPassingTime_VersionedChildStructure withArrivalTime(OffsetTime value) {
setArrivalTime(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withArrivalDayOffset(BigInteger value) {
setArrivalDayOffset(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withDepartureTime(OffsetTime value) {
setDepartureTime(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withDepartureDayOffset(BigInteger value) {
setDepartureDayOffset(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withWaitingTime(Duration value) {
setWaitingTime(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withHeadway(HeadwayIntervalStructure value) {
setHeadway(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withLatestArrivalTime(OffsetTime value) {
setLatestArrivalTime(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withLatestArrivalDayOffset(BigInteger value) {
setLatestArrivalDayOffset(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withEarliestDepartureTime(OffsetTime value) {
setEarliestDepartureTime(value);
return this;
}
public TimetabledPassingTime_VersionedChildStructure withEarliestDepartureDayOffset(BigInteger value) {
setEarliestDepartureDayOffset(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withJourneyRef(JAXBElement extends JourneyRefStructure> value) {
setJourneyRef(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withAlightAndReboard(Boolean value) {
setAlightAndReboard(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withPointInJourneyPatternRef(JAXBElement extends PointInJourneyPatternRefStructure> value) {
setPointInJourneyPatternRef(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public TimetabledPassingTime_VersionedChildStructure 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