org.rutebanken.netex.model.EstimatedPassingTime_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 EstimatedPassingTime_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="EstimatedPassingTime_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DatedPassingTime_VersionedChildStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}EstimatedPassingTimeGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EstimatedPassingTime_VersionedChildStructure", propOrder = {
"expectedArrivalTime",
"arrivalDayOffset",
"expectedDepartureTime",
"departureDayOffset",
"expectedWaitingTime",
"expectedNonstopPassingTime",
"expectedHeadway"
})
@XmlSeeAlso({
EstimatedPassingTime.class
})
public class EstimatedPassingTime_VersionedChildStructure
extends DatedPassingTime_VersionedChildStructure
{
@XmlElement(name = "ExpectedArrivalTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime expectedArrivalTime;
@XmlElement(name = "ArrivalDayOffset")
protected BigInteger arrivalDayOffset;
@XmlElement(name = "ExpectedDepartureTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime expectedDepartureTime;
@XmlElement(name = "DepartureDayOffset")
protected BigInteger departureDayOffset;
@XmlElement(name = "ExpectedWaitingTime", type = String.class)
@XmlJavaTypeAdapter(DurationXmlAdapter.class)
@XmlSchemaType(name = "duration")
protected Duration expectedWaitingTime;
@XmlElement(name = "ExpectedNonstopPassingTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime expectedNonstopPassingTime;
@XmlElement(name = "ExpectedHeadway")
protected HeadwayIntervalStructure expectedHeadway;
/**
* Gets the value of the expectedArrivalTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getExpectedArrivalTime() {
return expectedArrivalTime;
}
/**
* Sets the value of the expectedArrivalTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedArrivalTime(OffsetTime value) {
this.expectedArrivalTime = 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 expectedDepartureTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getExpectedDepartureTime() {
return expectedDepartureTime;
}
/**
* Sets the value of the expectedDepartureTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedDepartureTime(OffsetTime value) {
this.expectedDepartureTime = 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 expectedWaitingTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public Duration getExpectedWaitingTime() {
return expectedWaitingTime;
}
/**
* Sets the value of the expectedWaitingTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedWaitingTime(Duration value) {
this.expectedWaitingTime = value;
}
/**
* Gets the value of the expectedNonstopPassingTime property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetTime getExpectedNonstopPassingTime() {
return expectedNonstopPassingTime;
}
/**
* Sets the value of the expectedNonstopPassingTime property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setExpectedNonstopPassingTime(OffsetTime value) {
this.expectedNonstopPassingTime = value;
}
/**
* Gets the value of the expectedHeadway property.
*
* @return
* possible object is
* {@link HeadwayIntervalStructure }
*
*/
public HeadwayIntervalStructure getExpectedHeadway() {
return expectedHeadway;
}
/**
* Sets the value of the expectedHeadway property.
*
* @param value
* allowed object is
* {@link HeadwayIntervalStructure }
*
*/
public void setExpectedHeadway(HeadwayIntervalStructure value) {
this.expectedHeadway = value;
}
public EstimatedPassingTime_VersionedChildStructure withExpectedArrivalTime(OffsetTime value) {
setExpectedArrivalTime(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withArrivalDayOffset(BigInteger value) {
setArrivalDayOffset(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withExpectedDepartureTime(OffsetTime value) {
setExpectedDepartureTime(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withDepartureDayOffset(BigInteger value) {
setDepartureDayOffset(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withExpectedWaitingTime(Duration value) {
setExpectedWaitingTime(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withExpectedNonstopPassingTime(OffsetTime value) {
setExpectedNonstopPassingTime(value);
return this;
}
public EstimatedPassingTime_VersionedChildStructure withExpectedHeadway(HeadwayIntervalStructure value) {
setExpectedHeadway(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withDatedJourneyRef(JourneyRefStructure value) {
setDatedJourneyRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withJourneyRef(JAXBElement extends JourneyRefStructure> value) {
setJourneyRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withAlightAndReboard(Boolean value) {
setAlightAndReboard(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withPointInJourneyPatternRef(JAXBElement extends PointInJourneyPatternRefStructure> value) {
setPointInJourneyPatternRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public EstimatedPassingTime_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public EstimatedPassingTime_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