org.rutebanken.netex.model.StopPlaceComponent_VersionStructure Maven / Gradle / Ivy
Show all versions of netex-java-model Show documentation
//
// 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.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import net.opengis.gml._3.PolygonType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for StopPlaceComponent_VersionStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StopPlaceComponent_VersionStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}SiteComponent_VersionStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}StopPlaceComponentPropertyGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StopPlaceComponent_VersionStructure", propOrder = {
"transportMode",
"airSubmode",
"busSubmode",
"coachSubmode",
"funicularSubmode",
"metroSubmode",
"tramSubmode",
"telecabinSubmode",
"railSubmode",
"waterSubmode",
"otherTransportModes",
"tariffZones"
})
@XmlSeeAlso({
StopPlaceSpace_VersionStructure.class
})
public abstract class StopPlaceComponent_VersionStructure
extends SiteComponent_VersionStructure
{
@XmlElement(name = "TransportMode")
@XmlSchemaType(name = "NMTOKEN")
protected VehicleModeEnumeration 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;
@XmlList
@XmlElement(name = "OtherTransportModes")
protected List otherTransportModes;
protected TariffZoneRefs_RelStructure tariffZones;
/**
* Gets the value of the transportMode property.
*
* @return
* possible object is
* {@link VehicleModeEnumeration }
*
*/
public VehicleModeEnumeration getTransportMode() {
return transportMode;
}
/**
* Sets the value of the transportMode property.
*
* @param value
* allowed object is
* {@link VehicleModeEnumeration }
*
*/
public void setTransportMode(VehicleModeEnumeration 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 otherTransportModes 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 otherTransportModes property.
*
*
* For example, to add a new item, do as follows:
*
* getOtherTransportModes().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link VehicleModeEnumeration }
*
*
*/
public List getOtherTransportModes() {
if (otherTransportModes == null) {
otherTransportModes = new ArrayList();
}
return this.otherTransportModes;
}
/**
* Gets the value of the tariffZones property.
*
* @return
* possible object is
* {@link TariffZoneRefs_RelStructure }
*
*/
public TariffZoneRefs_RelStructure getTariffZones() {
return tariffZones;
}
/**
* Sets the value of the tariffZones property.
*
* @param value
* allowed object is
* {@link TariffZoneRefs_RelStructure }
*
*/
public void setTariffZones(TariffZoneRefs_RelStructure value) {
this.tariffZones = value;
}
public StopPlaceComponent_VersionStructure withTransportMode(VehicleModeEnumeration value) {
setTransportMode(value);
return this;
}
public StopPlaceComponent_VersionStructure withAirSubmode(AirSubmodeEnumeration value) {
setAirSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withBusSubmode(BusSubmodeEnumeration value) {
setBusSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withCoachSubmode(CoachSubmodeEnumeration value) {
setCoachSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withFunicularSubmode(FunicularSubmodeEnumeration value) {
setFunicularSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withMetroSubmode(MetroSubmodeEnumeration value) {
setMetroSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withTramSubmode(TramSubmodeEnumeration value) {
setTramSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withTelecabinSubmode(TelecabinSubmodeEnumeration value) {
setTelecabinSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withRailSubmode(RailSubmodeEnumeration value) {
setRailSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withWaterSubmode(WaterSubmodeEnumeration value) {
setWaterSubmode(value);
return this;
}
public StopPlaceComponent_VersionStructure withOtherTransportModes(VehicleModeEnumeration... values) {
if (values!= null) {
for (VehicleModeEnumeration value: values) {
getOtherTransportModes().add(value);
}
}
return this;
}
public StopPlaceComponent_VersionStructure withOtherTransportModes(Collection values) {
if (values!= null) {
getOtherTransportModes().addAll(values);
}
return this;
}
public StopPlaceComponent_VersionStructure withTariffZones(TariffZoneRefs_RelStructure value) {
setTariffZones(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withSiteRef(SiteRefStructure value) {
setSiteRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withLevelRef(LevelRefStructure value) {
setLevelRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withClassOfUseRef(ClassOfUseRef value) {
setClassOfUseRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCheckConstraints(CheckConstraints_RelStructure value) {
setCheckConstraints(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withEquipmentPlaces(EquipmentPlaces_RelStructure value) {
setEquipmentPlaces(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPlaceEquipments(PlaceEquipments_RelStructure value) {
setPlaceEquipments(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withLocalServices(LocalServices_RelStructure value) {
setLocalServices(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAccessibilityAssessment(AccessibilityAssessment value) {
setAccessibilityAssessment(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAccessModes(AccessModeEnumeration... values) {
if (values!= null) {
for (AccessModeEnumeration value: values) {
getAccessModes().add(value);
}
}
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAccessModes(Collection values) {
if (values!= null) {
getAccessModes().addAll(values);
}
return this;
}
@Override
public StopPlaceComponent_VersionStructure withNameSuffix(MultilingualString value) {
setNameSuffix(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) {
setAlternativeNames(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCrossRoad(MultilingualString value) {
setCrossRoad(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withLandmark(MultilingualString value) {
setLandmark(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPublicUse(PublicUseEnumeration value) {
setPublicUse(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCovered(CoveredEnumeration value) {
setCovered(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withGated(GatedEnumeration value) {
setGated(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withLighting(LightingEnumeration value) {
setLighting(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAllAreasWheelchairAccessible(Boolean value) {
setAllAreasWheelchairAccessible(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPersonCapacity(BigInteger value) {
setPersonCapacity(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withFacilities(SiteFacilitySets_RelStructure value) {
setFacilities(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withUrl(String value) {
setUrl(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withImage(String value) {
setImage(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPostalAddress(PostalAddress value) {
setPostalAddress(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withRoadAddress(RoadAddress value) {
setRoadAddress(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPlaceTypes(TypeOfPlaceRefs_RelStructure value) {
setPlaceTypes(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withTypes(TypeOfZoneRefs_RelStructure value) {
setTypes(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCentroid(SimplePoint_VersionStructure value) {
setCentroid(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPolygon(PolygonType value) {
setPolygon(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withProjections(Projections_RelStructure value) {
setProjections(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withParentZoneRef(ZoneRefStructure value) {
setParentZoneRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withMembers(PointRefs_RelStructure value) {
setMembers(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withName(MultilingualString value) {
setName(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withDescription(MultilingualString value) {
setDescription(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPurposeOfGroupingRef(PurposeOfGroupingRefStructure value) {
setPurposeOfGroupingRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withPrivateCode(PrivateCodeStructure value) {
setPrivateCode(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withKeyList(KeyListStructure value) {
setKeyList(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) {
setAlternativeTexts(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withResponsibilitySetRef(String value) {
setResponsibilitySetRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) {
setValidityConditions(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withValidBetween(ValidBetween... values) {
if (values!= null) {
for (ValidBetween value: values) {
getValidBetween().add(value);
}
}
return this;
}
@Override
public StopPlaceComponent_VersionStructure withValidBetween(Collection values) {
if (values!= null) {
getValidBetween().addAll(values);
}
return this;
}
@Override
public StopPlaceComponent_VersionStructure withDataSourceRef(String value) {
setDataSourceRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCreated(OffsetDateTime value) {
setCreated(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withChanged(OffsetDateTime value) {
setChanged(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withModification(ModificationEnumeration value) {
setModification(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withVersion(String value) {
setVersion(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) {
setStatus_BasicModificationDetailsGroup(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) {
setDerivedFromVersionRef_BasicModificationDetailsGroup(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) {
setCompatibleWithVersionFrameVersionRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withDerivedFromObjectRef(String value) {
setDerivedFromObjectRef(value);
return this;
}
@Override
public StopPlaceComponent_VersionStructure withNameOfClass(String value) {
setNameOfClass(value);
return this;
}
@Override
public StopPlaceComponent_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);
}
}