org.rutebanken.netex.model.TimetabledPassingTime_ViewStructure 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.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.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_ViewStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="TimetabledPassingTime_ViewStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}PassingTime_ViewStructure">
* <sequence>
* <element name="ArrivalTime" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
* <element name="ArrivalDayOffset" type="{http://www.netex.org.uk/netex}DayOffsetType" minOccurs="0"/>
* <element name="DepartureTime" type="{http://www.w3.org/2001/XMLSchema}time" minOccurs="0"/>
* <element name="DepartureDayOffset" type="{http://www.netex.org.uk/netex}DayOffsetType" minOccurs="0"/>
* <element name="WaitingTime" type="{http://www.w3.org/2001/XMLSchema}duration" minOccurs="0"/>
* <element name="Headway" type="{http://www.netex.org.uk/netex}HeadwayIntervalStructure" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimetabledPassingTime_ViewStructure", propOrder = {
"arrivalTime",
"arrivalDayOffset",
"departureTime",
"departureDayOffset",
"waitingTime",
"headway"
})
public class TimetabledPassingTime_ViewStructure
extends PassingTime_ViewStructure
{
@XmlElement(name = "ArrivalTime", type = String.class)
@XmlJavaTypeAdapter(OffsetTimeISO8601XmlAdapter.class)
@XmlSchemaType(name = "time")
protected OffsetTime arrivalTime;
@XmlElement(name = "ArrivalDayOffset")
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;
/**
* 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;
}
public TimetabledPassingTime_ViewStructure withArrivalTime(OffsetTime value) {
setArrivalTime(value);
return this;
}
public TimetabledPassingTime_ViewStructure withArrivalDayOffset(BigInteger value) {
setArrivalDayOffset(value);
return this;
}
public TimetabledPassingTime_ViewStructure withDepartureTime(OffsetTime value) {
setDepartureTime(value);
return this;
}
public TimetabledPassingTime_ViewStructure withDepartureDayOffset(BigInteger value) {
setDepartureDayOffset(value);
return this;
}
public TimetabledPassingTime_ViewStructure withWaitingTime(Duration value) {
setWaitingTime(value);
return this;
}
public TimetabledPassingTime_ViewStructure withHeadway(HeadwayIntervalStructure value) {
setHeadway(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withDayOffset(BigInteger value) {
setDayOffset(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public TimetabledPassingTime_ViewStructure 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