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

org.rutebanken.netex.model.TicketingService_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.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
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.XmlList;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for TicketingService_VersionStructure complex type. * *

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

 * <complexType name="TicketingService_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}LocalService_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}TicketingServiceGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TicketingService_VersionStructure", propOrder = { "vehicleModes", "ticketingServiceList", "ticketTypeList", "ticketCounterService", "onlinePurchaseForCollection", "onlinePurchaseForETicket", "onlinePurchaseForSelfPrintTicket", "mobileDeviceTickets", "paymentMethods" }) @XmlSeeAlso({ TicketingService.class }) public class TicketingService_VersionStructure extends LocalService_VersionStructure { @XmlList @XmlElement(name = "VehicleModes") protected List vehicleModes; @XmlList @XmlElement(name = "TicketingServiceList") protected List ticketingServiceList; @XmlElementRef(name = "TicketTypeList", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false) protected List>> ticketTypeList; @XmlElement(name = "TicketCounterService") protected Boolean ticketCounterService; @XmlElement(name = "OnlinePurchaseForCollection") protected Boolean onlinePurchaseForCollection; @XmlElement(name = "OnlinePurchaseForETicket") protected Boolean onlinePurchaseForETicket; @XmlElement(name = "OnlinePurchaseForSelfPrintTicket") protected Boolean onlinePurchaseForSelfPrintTicket; @XmlElement(name = "MobileDeviceTickets") protected Boolean mobileDeviceTickets; @XmlList @XmlElement(name = "PaymentMethods") protected List paymentMethods; /** * Gets the value of the vehicleModes property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the vehicleModes property. * *

* For example, to add a new item, do as follows: *

     *    getVehicleModes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link VehicleModeEnumeration } * * */ public List getVehicleModes() { if (vehicleModes == null) { vehicleModes = new ArrayList(); } return this.vehicleModes; } /** * Gets the value of the ticketingServiceList property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the ticketingServiceList property. * *

* For example, to add a new item, do as follows: *

     *    getTicketingServiceList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TicketingServiceFacilityEnumeration } * * */ public List getTicketingServiceList() { if (ticketingServiceList == null) { ticketingServiceList = new ArrayList(); } return this.ticketingServiceList; } /** * Gets the value of the ticketTypeList property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the ticketTypeList property. * *

* For example, to add a new item, do as follows: *

     *    getTicketTypeList().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link List }{@code <}{@link TicketTypeEnumeration }{@code >}{@code >} * * */ public List>> getTicketTypeList() { if (ticketTypeList == null) { ticketTypeList = new ArrayList>>(); } return this.ticketTypeList; } /** * Gets the value of the ticketCounterService property. * * @return * possible object is * {@link Boolean } * */ public Boolean isTicketCounterService() { return ticketCounterService; } /** * Sets the value of the ticketCounterService property. * * @param value * allowed object is * {@link Boolean } * */ public void setTicketCounterService(Boolean value) { this.ticketCounterService = value; } /** * Gets the value of the onlinePurchaseForCollection property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOnlinePurchaseForCollection() { return onlinePurchaseForCollection; } /** * Sets the value of the onlinePurchaseForCollection property. * * @param value * allowed object is * {@link Boolean } * */ public void setOnlinePurchaseForCollection(Boolean value) { this.onlinePurchaseForCollection = value; } /** * Gets the value of the onlinePurchaseForETicket property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOnlinePurchaseForETicket() { return onlinePurchaseForETicket; } /** * Sets the value of the onlinePurchaseForETicket property. * * @param value * allowed object is * {@link Boolean } * */ public void setOnlinePurchaseForETicket(Boolean value) { this.onlinePurchaseForETicket = value; } /** * Gets the value of the onlinePurchaseForSelfPrintTicket property. * * @return * possible object is * {@link Boolean } * */ public Boolean isOnlinePurchaseForSelfPrintTicket() { return onlinePurchaseForSelfPrintTicket; } /** * Sets the value of the onlinePurchaseForSelfPrintTicket property. * * @param value * allowed object is * {@link Boolean } * */ public void setOnlinePurchaseForSelfPrintTicket(Boolean value) { this.onlinePurchaseForSelfPrintTicket = value; } /** * Gets the value of the mobileDeviceTickets property. * * @return * possible object is * {@link Boolean } * */ public Boolean isMobileDeviceTickets() { return mobileDeviceTickets; } /** * Sets the value of the mobileDeviceTickets property. * * @param value * allowed object is * {@link Boolean } * */ public void setMobileDeviceTickets(Boolean value) { this.mobileDeviceTickets = value; } /** * Gets the value of the paymentMethods property. * *

* This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the paymentMethods property. * *

* For example, to add a new item, do as follows: *

     *    getPaymentMethods().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PaymentMethodEnumeration } * * */ public List getPaymentMethods() { if (paymentMethods == null) { paymentMethods = new ArrayList(); } return this.paymentMethods; } public TicketingService_VersionStructure withVehicleModes(VehicleModeEnumeration... values) { if (values!= null) { for (VehicleModeEnumeration value: values) { getVehicleModes().add(value); } } return this; } public TicketingService_VersionStructure withVehicleModes(Collection values) { if (values!= null) { getVehicleModes().addAll(values); } return this; } public TicketingService_VersionStructure withTicketingServiceList(TicketingServiceFacilityEnumeration... values) { if (values!= null) { for (TicketingServiceFacilityEnumeration value: values) { getTicketingServiceList().add(value); } } return this; } public TicketingService_VersionStructure withTicketingServiceList(Collection values) { if (values!= null) { getTicketingServiceList().addAll(values); } return this; } public TicketingService_VersionStructure withTicketTypeList(JAXBElement> ... values) { if (values!= null) { for (JAXBElement> value: values) { getTicketTypeList().add(value); } } return this; } public TicketingService_VersionStructure withTicketTypeList(Collection>> values) { if (values!= null) { getTicketTypeList().addAll(values); } return this; } public TicketingService_VersionStructure withTicketCounterService(Boolean value) { setTicketCounterService(value); return this; } public TicketingService_VersionStructure withOnlinePurchaseForCollection(Boolean value) { setOnlinePurchaseForCollection(value); return this; } public TicketingService_VersionStructure withOnlinePurchaseForETicket(Boolean value) { setOnlinePurchaseForETicket(value); return this; } public TicketingService_VersionStructure withOnlinePurchaseForSelfPrintTicket(Boolean value) { setOnlinePurchaseForSelfPrintTicket(value); return this; } public TicketingService_VersionStructure withMobileDeviceTickets(Boolean value) { setMobileDeviceTickets(value); return this; } public TicketingService_VersionStructure withPaymentMethods(PaymentMethodEnumeration... values) { if (values!= null) { for (PaymentMethodEnumeration value: values) { getPaymentMethods().add(value); } } return this; } public TicketingService_VersionStructure withPaymentMethods(Collection values) { if (values!= null) { getPaymentMethods().addAll(values); } return this; } @Override public TicketingService_VersionStructure withTypesOfServiceFeature(TypeOfServiceFeatureRefs_RelStructure value) { setTypesOfServiceFeature(value); return this; } @Override public TicketingService_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public TicketingService_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public TicketingService_VersionStructure withPublicCode(PrivateCodeStructure value) { setPublicCode(value); return this; } @Override public TicketingService_VersionStructure withImage(String value) { setImage(value); return this; } @Override public TicketingService_VersionStructure withTypeOfEquipmentRef(TypeOfEquipmentRefStructure value) { setTypeOfEquipmentRef(value); return this; } @Override public TicketingService_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public TicketingService_VersionStructure withNote(MultilingualString value) { setNote(value); return this; } @Override public TicketingService_VersionStructure withOutOfService(Boolean value) { setOutOfService(value); return this; } @Override public TicketingService_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public TicketingService_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public TicketingService_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public TicketingService_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public TicketingService_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public TicketingService_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public TicketingService_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public TicketingService_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public TicketingService_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public TicketingService_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public TicketingService_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public TicketingService_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public TicketingService_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public TicketingService_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public TicketingService_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public TicketingService_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public TicketingService_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public TicketingService_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public TicketingService_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