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

org.rutebanken.netex.model.TravelSpecification_VersionStructure 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.BigDecimal;
import java.math.BigInteger;
import java.time.OffsetDateTime;
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.XmlElementRef;
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.OffsetDateTimeISO8601XmlAdapter;


/**
 * 

Java class for TravelSpecification_VersionStructure complex type. * *

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

 * <complexType name="TravelSpecification_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}PassengerContractEntry_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}TravelSpecificationGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TravelSpecification_VersionStructure", propOrder = { "salesTransactionRef", "fareQueryRef", "farePriceRef", "celRef_", "amount", "priceUnitRef", "units", "startOfValidity", "endOfValidity", "specificParameterAssignments", "noticeAssignments" }) @XmlSeeAlso({ TravelSpecification.class }) public class TravelSpecification_VersionStructure extends PassengerContractEntry_VersionStructure { @XmlElement(name = "SalesTransactionRef") protected SalesTransactionRefStructure salesTransactionRef; @XmlElementRef(name = "FareQueryRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement fareQueryRef; @XmlElementRef(name = "FarePriceRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected JAXBElement farePriceRef; @XmlElement(name = "CelRef_") protected Object celRef_; @XmlElement(name = "Amount") protected BigDecimal amount; @XmlElement(name = "PriceUnitRef") protected PriceUnitRefStructure priceUnitRef; @XmlElement(name = "Units") protected BigInteger units; @XmlElement(name = "StartOfValidity", type = String.class) @XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "dateTime") protected OffsetDateTime startOfValidity; @XmlElement(name = "EndOfValidity", type = String.class) @XmlJavaTypeAdapter(OffsetDateTimeISO8601XmlAdapter.class) @XmlSchemaType(name = "dateTime") protected OffsetDateTime endOfValidity; protected SpecificParameterAssignments_RelStructure specificParameterAssignments; protected NoticeAssignments_RelStructure noticeAssignments; /** * Gets the value of the salesTransactionRef property. * * @return * possible object is * {@link SalesTransactionRefStructure } * */ public SalesTransactionRefStructure getSalesTransactionRef() { return salesTransactionRef; } /** * Sets the value of the salesTransactionRef property. * * @param value * allowed object is * {@link SalesTransactionRefStructure } * */ public void setSalesTransactionRef(SalesTransactionRefStructure value) { this.salesTransactionRef = value; } /** * Gets the value of the fareQueryRef property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link SingleTripFareQueryRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link RepeatedTripFareQueryRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareQueryRefStructure }{@code >} * */ public JAXBElement getFareQueryRef() { return fareQueryRef; } /** * Sets the value of the fareQueryRef property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link SingleTripFareQueryRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link RepeatedTripFareQueryRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareQueryRefStructure }{@code >} * */ public void setFareQueryRef(JAXBElement value) { this.fareQueryRef = value; } /** * Gets the value of the farePriceRef property. * * @return * possible object is * {@link JAXBElement }{@code <}{@link QualityStructureFactorPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalIntervalPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link TimeUnitPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ValidableElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SalesPackagePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CustomerPurchasePackagePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareProductPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FarePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ControllableElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link TimeIntervalPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link UsageParameterPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalUnitPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FulfilmentMethodPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareStructureElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link DistanceMatrixElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SeriesConstraintPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CappingRulePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ParkingPriceRefStructure }{@code >} * */ public JAXBElement getFarePriceRef() { return farePriceRef; } /** * Sets the value of the farePriceRef property. * * @param value * allowed object is * {@link JAXBElement }{@code <}{@link QualityStructureFactorPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalIntervalPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link TimeUnitPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ValidableElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SalesPackagePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CustomerPurchasePackagePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareProductPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FarePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ControllableElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link TimeIntervalPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link UsageParameterPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link GeographicalUnitPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FulfilmentMethodPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link FareStructureElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link DistanceMatrixElementPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link SeriesConstraintPriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link CappingRulePriceRefStructure }{@code >} * {@link JAXBElement }{@code <}{@link ParkingPriceRefStructure }{@code >} * */ public void setFarePriceRef(JAXBElement value) { this.farePriceRef = value; } /** * Gets the value of the celRef_ property. * * @return * possible object is * {@link Object } * */ public Object getCelRef_() { return celRef_; } /** * Sets the value of the celRef_ property. * * @param value * allowed object is * {@link Object } * */ public void setCelRef_(Object value) { this.celRef_ = value; } /** * Gets the value of the amount property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getAmount() { return amount; } /** * Sets the value of the amount property. * * @param value * allowed object is * {@link BigDecimal } * */ public void setAmount(BigDecimal value) { this.amount = value; } /** * Gets the value of the priceUnitRef property. * * @return * possible object is * {@link PriceUnitRefStructure } * */ public PriceUnitRefStructure getPriceUnitRef() { return priceUnitRef; } /** * Sets the value of the priceUnitRef property. * * @param value * allowed object is * {@link PriceUnitRefStructure } * */ public void setPriceUnitRef(PriceUnitRefStructure value) { this.priceUnitRef = value; } /** * Gets the value of the units property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getUnits() { return units; } /** * Sets the value of the units property. * * @param value * allowed object is * {@link BigInteger } * */ public void setUnits(BigInteger value) { this.units = value; } /** * Gets the value of the startOfValidity property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getStartOfValidity() { return startOfValidity; } /** * Sets the value of the startOfValidity property. * * @param value * allowed object is * {@link String } * */ public void setStartOfValidity(OffsetDateTime value) { this.startOfValidity = value; } /** * Gets the value of the endOfValidity property. * * @return * possible object is * {@link String } * */ public OffsetDateTime getEndOfValidity() { return endOfValidity; } /** * Sets the value of the endOfValidity property. * * @param value * allowed object is * {@link String } * */ public void setEndOfValidity(OffsetDateTime value) { this.endOfValidity = value; } /** * Gets the value of the specificParameterAssignments property. * * @return * possible object is * {@link SpecificParameterAssignments_RelStructure } * */ public SpecificParameterAssignments_RelStructure getSpecificParameterAssignments() { return specificParameterAssignments; } /** * Sets the value of the specificParameterAssignments property. * * @param value * allowed object is * {@link SpecificParameterAssignments_RelStructure } * */ public void setSpecificParameterAssignments(SpecificParameterAssignments_RelStructure value) { this.specificParameterAssignments = value; } /** * Gets the value of the noticeAssignments property. * * @return * possible object is * {@link NoticeAssignments_RelStructure } * */ public NoticeAssignments_RelStructure getNoticeAssignments() { return noticeAssignments; } /** * Sets the value of the noticeAssignments property. * * @param value * allowed object is * {@link NoticeAssignments_RelStructure } * */ public void setNoticeAssignments(NoticeAssignments_RelStructure value) { this.noticeAssignments = value; } public TravelSpecification_VersionStructure withSalesTransactionRef(SalesTransactionRefStructure value) { setSalesTransactionRef(value); return this; } public TravelSpecification_VersionStructure withFareQueryRef(JAXBElement value) { setFareQueryRef(value); return this; } public TravelSpecification_VersionStructure withFarePriceRef(JAXBElement value) { setFarePriceRef(value); return this; } public TravelSpecification_VersionStructure withCelRef_(Object value) { setCelRef_(value); return this; } public TravelSpecification_VersionStructure withAmount(BigDecimal value) { setAmount(value); return this; } public TravelSpecification_VersionStructure withPriceUnitRef(PriceUnitRefStructure value) { setPriceUnitRef(value); return this; } public TravelSpecification_VersionStructure withUnits(BigInteger value) { setUnits(value); return this; } public TravelSpecification_VersionStructure withStartOfValidity(OffsetDateTime value) { setStartOfValidity(value); return this; } public TravelSpecification_VersionStructure withEndOfValidity(OffsetDateTime value) { setEndOfValidity(value); return this; } public TravelSpecification_VersionStructure withSpecificParameterAssignments(SpecificParameterAssignments_RelStructure value) { setSpecificParameterAssignments(value); return this; } public TravelSpecification_VersionStructure withNoticeAssignments(NoticeAssignments_RelStructure value) { setNoticeAssignments(value); return this; } @Override public TravelSpecification_VersionStructure withIsValid(Boolean value) { setIsValid(value); return this; } @Override public TravelSpecification_VersionStructure withTypeOfPassengerContractEntryRef(TypeOfPassengerContractEntryRefStructure value) { setTypeOfPassengerContractEntryRef(value); return this; } @Override public TravelSpecification_VersionStructure withPassengerContractRef(PassengerContractRefStructure value) { setPassengerContractRef(value); return this; } @Override public TravelSpecification_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public TravelSpecification_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public TravelSpecification_VersionStructure withDate(OffsetDateTime value) { setDate(value); return this; } @Override public TravelSpecification_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public TravelSpecification_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public TravelSpecification_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public TravelSpecification_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public TravelSpecification_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public TravelSpecification_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public TravelSpecification_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public TravelSpecification_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public TravelSpecification_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public TravelSpecification_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public TravelSpecification_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public TravelSpecification_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public TravelSpecification_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public TravelSpecification_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public TravelSpecification_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public TravelSpecification_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public TravelSpecification_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public TravelSpecification_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public TravelSpecification_VersionStructure 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