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

org.rutebanken.netex.model.OpenTransportMode_ValueStructure 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.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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for OpenTransportMode_ValueStructure complex type. * *

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

 * <complexType name="OpenTransportMode_ValueStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}TypeOfValue_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}OpenTransportModeGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "OpenTransportMode_ValueStructure", propOrder = { "transportMode", "airSubmode", "busSubmode", "coachSubmode", "funicularSubmode", "metroSubmode", "tramSubmode", "telecabinSubmode", "railSubmode", "waterSubmode", "taxiSubmode", "selfDriveSubmode", "submodeRef" }) @XmlSeeAlso({ OpenTransportMode.class, Submode.class }) public class OpenTransportMode_ValueStructure extends TypeOfValue_VersionStructure { @XmlElement(name = "TransportMode", required = true) @XmlSchemaType(name = "NMTOKEN") protected AllModesEnumeration transportMode; @XmlElement(name = "AirSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected AirSubmodeEnumeration airSubmode; @XmlElement(name = "BusSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected BusSubmodeEnumeration busSubmode; @XmlElement(name = "CoachSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected CoachSubmodeEnumeration coachSubmode; @XmlElement(name = "FunicularSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected FunicularSubmodeEnumeration funicularSubmode; @XmlElement(name = "MetroSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected MetroSubmodeEnumeration metroSubmode; @XmlElement(name = "TramSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected TramSubmodeEnumeration tramSubmode; @XmlElement(name = "TelecabinSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected TelecabinSubmodeEnumeration telecabinSubmode; @XmlElement(name = "RailSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected RailSubmodeEnumeration railSubmode; @XmlElement(name = "WaterSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected WaterSubmodeEnumeration waterSubmode; @XmlElement(name = "TaxiSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected TaxiSubmodeEnumeration taxiSubmode; @XmlElement(name = "SelfDriveSubmode", defaultValue = "unknown") @XmlSchemaType(name = "NMTOKEN") protected SelfDriveSubmodeEnumeration selfDriveSubmode; @XmlElement(name = "SubmodeRef") protected SubmodeRefStructure submodeRef; /** * Gets the value of the transportMode property. * * @return * possible object is * {@link AllModesEnumeration } * */ public AllModesEnumeration getTransportMode() { return transportMode; } /** * Sets the value of the transportMode property. * * @param value * allowed object is * {@link AllModesEnumeration } * */ public void setTransportMode(AllModesEnumeration value) { this.transportMode = value; } /** * Gets the value of the airSubmode property. * * @return * possible object is * {@link AirSubmodeEnumeration } * */ public AirSubmodeEnumeration getAirSubmode() { return airSubmode; } /** * Sets the value of the airSubmode property. * * @param value * allowed object is * {@link AirSubmodeEnumeration } * */ public void setAirSubmode(AirSubmodeEnumeration value) { this.airSubmode = value; } /** * Gets the value of the busSubmode property. * * @return * possible object is * {@link BusSubmodeEnumeration } * */ public BusSubmodeEnumeration getBusSubmode() { return busSubmode; } /** * Sets the value of the busSubmode property. * * @param value * allowed object is * {@link BusSubmodeEnumeration } * */ public void setBusSubmode(BusSubmodeEnumeration value) { this.busSubmode = value; } /** * Gets the value of the coachSubmode property. * * @return * possible object is * {@link CoachSubmodeEnumeration } * */ public CoachSubmodeEnumeration getCoachSubmode() { return coachSubmode; } /** * Sets the value of the coachSubmode property. * * @param value * allowed object is * {@link CoachSubmodeEnumeration } * */ public void setCoachSubmode(CoachSubmodeEnumeration value) { this.coachSubmode = value; } /** * Gets the value of the funicularSubmode property. * * @return * possible object is * {@link FunicularSubmodeEnumeration } * */ public FunicularSubmodeEnumeration getFunicularSubmode() { return funicularSubmode; } /** * Sets the value of the funicularSubmode property. * * @param value * allowed object is * {@link FunicularSubmodeEnumeration } * */ public void setFunicularSubmode(FunicularSubmodeEnumeration value) { this.funicularSubmode = value; } /** * Gets the value of the metroSubmode property. * * @return * possible object is * {@link MetroSubmodeEnumeration } * */ public MetroSubmodeEnumeration getMetroSubmode() { return metroSubmode; } /** * Sets the value of the metroSubmode property. * * @param value * allowed object is * {@link MetroSubmodeEnumeration } * */ public void setMetroSubmode(MetroSubmodeEnumeration value) { this.metroSubmode = value; } /** * Gets the value of the tramSubmode property. * * @return * possible object is * {@link TramSubmodeEnumeration } * */ public TramSubmodeEnumeration getTramSubmode() { return tramSubmode; } /** * Sets the value of the tramSubmode property. * * @param value * allowed object is * {@link TramSubmodeEnumeration } * */ public void setTramSubmode(TramSubmodeEnumeration value) { this.tramSubmode = value; } /** * Gets the value of the telecabinSubmode property. * * @return * possible object is * {@link TelecabinSubmodeEnumeration } * */ public TelecabinSubmodeEnumeration getTelecabinSubmode() { return telecabinSubmode; } /** * Sets the value of the telecabinSubmode property. * * @param value * allowed object is * {@link TelecabinSubmodeEnumeration } * */ public void setTelecabinSubmode(TelecabinSubmodeEnumeration value) { this.telecabinSubmode = value; } /** * Gets the value of the railSubmode property. * * @return * possible object is * {@link RailSubmodeEnumeration } * */ public RailSubmodeEnumeration getRailSubmode() { return railSubmode; } /** * Sets the value of the railSubmode property. * * @param value * allowed object is * {@link RailSubmodeEnumeration } * */ public void setRailSubmode(RailSubmodeEnumeration value) { this.railSubmode = value; } /** * Gets the value of the waterSubmode property. * * @return * possible object is * {@link WaterSubmodeEnumeration } * */ public WaterSubmodeEnumeration getWaterSubmode() { return waterSubmode; } /** * Sets the value of the waterSubmode property. * * @param value * allowed object is * {@link WaterSubmodeEnumeration } * */ public void setWaterSubmode(WaterSubmodeEnumeration value) { this.waterSubmode = value; } /** * Gets the value of the taxiSubmode property. * * @return * possible object is * {@link TaxiSubmodeEnumeration } * */ public TaxiSubmodeEnumeration getTaxiSubmode() { return taxiSubmode; } /** * Sets the value of the taxiSubmode property. * * @param value * allowed object is * {@link TaxiSubmodeEnumeration } * */ public void setTaxiSubmode(TaxiSubmodeEnumeration value) { this.taxiSubmode = value; } /** * Gets the value of the selfDriveSubmode property. * * @return * possible object is * {@link SelfDriveSubmodeEnumeration } * */ public SelfDriveSubmodeEnumeration getSelfDriveSubmode() { return selfDriveSubmode; } /** * Sets the value of the selfDriveSubmode property. * * @param value * allowed object is * {@link SelfDriveSubmodeEnumeration } * */ public void setSelfDriveSubmode(SelfDriveSubmodeEnumeration value) { this.selfDriveSubmode = value; } /** * Gets the value of the submodeRef property. * * @return * possible object is * {@link SubmodeRefStructure } * */ public SubmodeRefStructure getSubmodeRef() { return submodeRef; } /** * Sets the value of the submodeRef property. * * @param value * allowed object is * {@link SubmodeRefStructure } * */ public void setSubmodeRef(SubmodeRefStructure value) { this.submodeRef = value; } public OpenTransportMode_ValueStructure withTransportMode(AllModesEnumeration value) { setTransportMode(value); return this; } public OpenTransportMode_ValueStructure withAirSubmode(AirSubmodeEnumeration value) { setAirSubmode(value); return this; } public OpenTransportMode_ValueStructure withBusSubmode(BusSubmodeEnumeration value) { setBusSubmode(value); return this; } public OpenTransportMode_ValueStructure withCoachSubmode(CoachSubmodeEnumeration value) { setCoachSubmode(value); return this; } public OpenTransportMode_ValueStructure withFunicularSubmode(FunicularSubmodeEnumeration value) { setFunicularSubmode(value); return this; } public OpenTransportMode_ValueStructure withMetroSubmode(MetroSubmodeEnumeration value) { setMetroSubmode(value); return this; } public OpenTransportMode_ValueStructure withTramSubmode(TramSubmodeEnumeration value) { setTramSubmode(value); return this; } public OpenTransportMode_ValueStructure withTelecabinSubmode(TelecabinSubmodeEnumeration value) { setTelecabinSubmode(value); return this; } public OpenTransportMode_ValueStructure withRailSubmode(RailSubmodeEnumeration value) { setRailSubmode(value); return this; } public OpenTransportMode_ValueStructure withWaterSubmode(WaterSubmodeEnumeration value) { setWaterSubmode(value); return this; } public OpenTransportMode_ValueStructure withTaxiSubmode(TaxiSubmodeEnumeration value) { setTaxiSubmode(value); return this; } public OpenTransportMode_ValueStructure withSelfDriveSubmode(SelfDriveSubmodeEnumeration value) { setSelfDriveSubmode(value); return this; } public OpenTransportMode_ValueStructure withSubmodeRef(SubmodeRefStructure value) { setSubmodeRef(value); return this; } @Override public OpenTransportMode_ValueStructure withName(MultilingualString value) { setName(value); return this; } @Override public OpenTransportMode_ValueStructure withShortName(MultilingualString value) { setShortName(value); return this; } @Override public OpenTransportMode_ValueStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public OpenTransportMode_ValueStructure withImage(String value) { setImage(value); return this; } @Override public OpenTransportMode_ValueStructure withUrl(String value) { setUrl(value); return this; } @Override public OpenTransportMode_ValueStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public OpenTransportMode_ValueStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public OpenTransportMode_ValueStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public OpenTransportMode_ValueStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public OpenTransportMode_ValueStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public OpenTransportMode_ValueStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public OpenTransportMode_ValueStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public OpenTransportMode_ValueStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public OpenTransportMode_ValueStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public OpenTransportMode_ValueStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public OpenTransportMode_ValueStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public OpenTransportMode_ValueStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public OpenTransportMode_ValueStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public OpenTransportMode_ValueStructure withVersion(String value) { setVersion(value); return this; } @Override public OpenTransportMode_ValueStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public OpenTransportMode_ValueStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public OpenTransportMode_ValueStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public OpenTransportMode_ValueStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public OpenTransportMode_ValueStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public OpenTransportMode_ValueStructure 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