org.rutebanken.netex.model.DatedCall_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 org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
import org.rutebanken.util.OffsetDateXmlAdapter;
/**
* Java class for DatedCall_VersionedChildStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="DatedCall_VersionedChildStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}Call_VersionedChildStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}DatedCallGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DatedCall_VersionedChildStructure", propOrder = {
"driverRef",
"arrivalDate",
"departureDate"
})
@XmlSeeAlso({
DatedCall.class,
DatedCallZ.class
})
public class DatedCall_VersionedChildStructure
extends Call_VersionedChildStructure
{
@XmlElement(name = "DriverRef")
protected DriverRefStructure driverRef;
@XmlElement(name = "ArrivalDate", type = String.class)
@XmlJavaTypeAdapter(OffsetDateXmlAdapter.class)
@XmlSchemaType(name = "date")
protected OffsetDateTime arrivalDate;
@XmlElement(name = "DepartureDate", type = String.class)
@XmlJavaTypeAdapter(OffsetDateXmlAdapter.class)
@XmlSchemaType(name = "date")
protected OffsetDateTime departureDate;
/**
* Gets the value of the driverRef property.
*
* @return
* possible object is
* {@link DriverRefStructure }
*
*/
public DriverRefStructure getDriverRef() {
return driverRef;
}
/**
* Sets the value of the driverRef property.
*
* @param value
* allowed object is
* {@link DriverRefStructure }
*
*/
public void setDriverRef(DriverRefStructure value) {
this.driverRef = value;
}
/**
* Gets the value of the arrivalDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getArrivalDate() {
return arrivalDate;
}
/**
* Sets the value of the arrivalDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setArrivalDate(OffsetDateTime value) {
this.arrivalDate = value;
}
/**
* Gets the value of the departureDate property.
*
* @return
* possible object is
* {@link String }
*
*/
public OffsetDateTime getDepartureDate() {
return departureDate;
}
/**
* Sets the value of the departureDate property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setDepartureDate(OffsetDateTime value) {
this.departureDate = value;
}
public DatedCall_VersionedChildStructure withDriverRef(DriverRefStructure value) {
setDriverRef(value);
return this;
}
public DatedCall_VersionedChildStructure withArrivalDate(OffsetDateTime value) {
setArrivalDate(value);
return this;
}
public DatedCall_VersionedChildStructure withDepartureDate(OffsetDateTime value) {
setDepartureDate(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withVisitNumber(BigInteger value) {
setVisitNumber(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withScheduledStopPointRef(JAXBElement extends ScheduledStopPointRefStructure> value) {
setScheduledStopPointRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withScheduledStopPointView(ScheduledStopPoint_DerivedViewStructure value) {
setScheduledStopPointView(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withOnwardTimingLinkView(OnwardTimingLinkView value) {
setOnwardTimingLinkView(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withOnwardServiceLinkRef(ServiceLinkRefStructure value) {
setOnwardServiceLinkRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withOnwardServiceLinkView(OnwardServiceLinkView value) {
setOnwardServiceLinkView(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withTimingPointStatus(TimingPointStatusEnumeration value) {
setTimingPointStatus(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withServiceJourneyRef(JAXBElement extends ServiceJourneyRefStructure> value) {
setServiceJourneyRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withPointInJourneyPatternRef(PointInJourneyPatternRefStructure value) {
setPointInJourneyPatternRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withArrival(ArrivalStructure value) {
setArrival(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withDeparture(DepartureStructure value) {
setDeparture(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withFrequency(FrequencyStructure value) {
setFrequency(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withDestinationDisplayRef(DestinationDisplayRefStructure value) {
setDestinationDisplayRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withDestinationDisplayView(DestinationDisplayView value) {
setDestinationDisplayView(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withVias(Vias_RelStructure value) {
setVias(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withFlexiblePointProperties(FlexiblePointProperties value) {
setFlexiblePointProperties(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withChangeOfDestinationDisplay(Boolean value) {
setChangeOfDestinationDisplay(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withChangeOfServiceRequirements(Boolean value) {
setChangeOfServiceRequirements(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withNoticeAssignments(Call_VersionedChildStructure.NoticeAssignments value) {
setNoticeAssignments(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withRequestStop(Boolean value) {
setRequestStop(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withRequestMethod(RequestMethodTypeEnumeration value) {
setRequestMethod(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withStopUse(StopUseEnumeration value) {
setStopUse(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingArrangements(BookingArrangementsStructure value) {
setBookingArrangements(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingContact(ContactStructure value) {
setBookingContact(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingMethods(BookingMethodEnumeration... values) {
if (values!= null) {
for (BookingMethodEnumeration value: values) {
getBookingMethods().add(value);
}
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingMethods(Collection values) {
if (values!= null) {
getBookingMethods().addAll(values);
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingAccess(BookingAccessEnumeration value) {
setBookingAccess(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookWhen(PurchaseWhenEnumeration value) {
setBookWhen(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBuyWhen(PurchaseMomentEnumeration... values) {
if (values!= null) {
for (PurchaseMomentEnumeration value: values) {
getBuyWhen().add(value);
}
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withBuyWhen(Collection values) {
if (values!= null) {
getBuyWhen().addAll(values);
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withLatestBookingTime(OffsetTime value) {
setLatestBookingTime(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withMinimumBookingPeriod(Duration value) {
setMinimumBookingPeriod(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingUrl(String value) {
setBookingUrl(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withBookingNote(MultilingualString value) {
setBookingNote(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withPassengerCarryingRequirementRef(PassengerCarryingRequirementRefStructure value) {
setPassengerCarryingRequirementRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withPassengerCarryingRequirementsView(PassengerCarryingRequirementsView value) {
setPassengerCarryingRequirementsView(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withTrainSize(TrainSizeStructure value) {
setTrainSize(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withEquipments(VehicleEquipments_RelStructure value) {
setEquipments(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withNote(MultilingualString value) {
setNote(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withOrder(BigInteger value) {
setOrder(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withConstrained(Boolean value) {
setConstrained(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public DatedCall_VersionedChildStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public DatedCall_VersionedChildStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public DatedCall_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