org.rutebanken.netex.model.AllSubmodeStructure 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 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 org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for AllSubmodeStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AllSubmodeStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <group ref="{http://www.netex.org.uk/netex}AllSubmodeChoiceGroup"/>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AllSubmodeStructure", propOrder = {
"airSubmode",
"busSubmode",
"coachSubmode",
"funicularSubmode",
"metroSubmode",
"tramSubmode",
"telecabinSubmode",
"railSubmode",
"waterSubmode",
"taxiSubmode",
"selfDriveSubmode"
})
public class AllSubmodeStructure {
@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;
/**
* 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;
}
public AllSubmodeStructure withAirSubmode(AirSubmodeEnumeration value) {
setAirSubmode(value);
return this;
}
public AllSubmodeStructure withBusSubmode(BusSubmodeEnumeration value) {
setBusSubmode(value);
return this;
}
public AllSubmodeStructure withCoachSubmode(CoachSubmodeEnumeration value) {
setCoachSubmode(value);
return this;
}
public AllSubmodeStructure withFunicularSubmode(FunicularSubmodeEnumeration value) {
setFunicularSubmode(value);
return this;
}
public AllSubmodeStructure withMetroSubmode(MetroSubmodeEnumeration value) {
setMetroSubmode(value);
return this;
}
public AllSubmodeStructure withTramSubmode(TramSubmodeEnumeration value) {
setTramSubmode(value);
return this;
}
public AllSubmodeStructure withTelecabinSubmode(TelecabinSubmodeEnumeration value) {
setTelecabinSubmode(value);
return this;
}
public AllSubmodeStructure withRailSubmode(RailSubmodeEnumeration value) {
setRailSubmode(value);
return this;
}
public AllSubmodeStructure withWaterSubmode(WaterSubmodeEnumeration value) {
setWaterSubmode(value);
return this;
}
public AllSubmodeStructure withTaxiSubmode(TaxiSubmodeEnumeration value) {
setTaxiSubmode(value);
return this;
}
public AllSubmodeStructure withSelfDriveSubmode(SelfDriveSubmodeEnumeration value) {
setSelfDriveSubmode(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