org.rutebanken.netex.model.StopPlace_DerivedViewStructure 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;
/**
* Java class for StopPlace_DerivedViewStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="StopPlace_DerivedViewStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DerivedViewStructure">
* <sequence>
* <element ref="{http://www.netex.org.uk/netex}StopPlaceRef" minOccurs="0"/>
* <element name="Name" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
* <element name="placeTypes" type="{http://www.netex.org.uk/netex}typeOfPlaceRefs_RelStructure" minOccurs="0"/>
* <element name="ShortName" type="{http://www.netex.org.uk/netex}MultilingualString" minOccurs="0"/>
* <group ref="{http://www.netex.org.uk/netex}StopIdentifierGroup"/>
* <element name="StopPlaceType" type="{http://www.netex.org.uk/netex}StopTypeEnumeration" minOccurs="0"/>
* <element name="TransportMode" type="{http://www.netex.org.uk/netex}VehicleModeEnumeration" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StopPlace_DerivedViewStructure", propOrder = {
"stopPlaceRef",
"name",
"placeTypes",
"shortName",
"publicCode",
"stopPlaceType",
"transportMode"
})
@XmlSeeAlso({
StopPlaceView.class
})
public class StopPlace_DerivedViewStructure
extends DerivedViewStructure
{
@XmlElement(name = "StopPlaceRef")
protected StopPlaceRefStructure stopPlaceRef;
@XmlElement(name = "Name")
protected MultilingualString name;
protected TypeOfPlaceRefs_RelStructure placeTypes;
@XmlElement(name = "ShortName")
protected MultilingualString shortName;
@XmlElement(name = "PublicCode")
@XmlJavaTypeAdapter(NormalizedStringAdapter.class)
@XmlSchemaType(name = "normalizedString")
protected String publicCode;
@XmlElement(name = "StopPlaceType")
@XmlSchemaType(name = "string")
protected StopTypeEnumeration stopPlaceType;
@XmlElement(name = "TransportMode")
@XmlSchemaType(name = "NMTOKEN")
protected VehicleModeEnumeration transportMode;
/**
* Gets the value of the stopPlaceRef property.
*
* @return
* possible object is
* {@link StopPlaceRefStructure }
*
*/
public StopPlaceRefStructure getStopPlaceRef() {
return stopPlaceRef;
}
/**
* Sets the value of the stopPlaceRef property.
*
* @param value
* allowed object is
* {@link StopPlaceRefStructure }
*
*/
public void setStopPlaceRef(StopPlaceRefStructure value) {
this.stopPlaceRef = value;
}
/**
* Gets the value of the name property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getName() {
return name;
}
/**
* Sets the value of the name property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setName(MultilingualString value) {
this.name = value;
}
/**
* Gets the value of the placeTypes property.
*
* @return
* possible object is
* {@link TypeOfPlaceRefs_RelStructure }
*
*/
public TypeOfPlaceRefs_RelStructure getPlaceTypes() {
return placeTypes;
}
/**
* Sets the value of the placeTypes property.
*
* @param value
* allowed object is
* {@link TypeOfPlaceRefs_RelStructure }
*
*/
public void setPlaceTypes(TypeOfPlaceRefs_RelStructure value) {
this.placeTypes = value;
}
/**
* Gets the value of the shortName property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getShortName() {
return shortName;
}
/**
* Sets the value of the shortName property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setShortName(MultilingualString value) {
this.shortName = value;
}
/**
* Gets the value of the publicCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPublicCode() {
return publicCode;
}
/**
* Sets the value of the publicCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPublicCode(String value) {
this.publicCode = value;
}
/**
* Gets the value of the stopPlaceType property.
*
* @return
* possible object is
* {@link StopTypeEnumeration }
*
*/
public StopTypeEnumeration getStopPlaceType() {
return stopPlaceType;
}
/**
* Sets the value of the stopPlaceType property.
*
* @param value
* allowed object is
* {@link StopTypeEnumeration }
*
*/
public void setStopPlaceType(StopTypeEnumeration value) {
this.stopPlaceType = value;
}
/**
* 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;
}
public StopPlace_DerivedViewStructure withStopPlaceRef(StopPlaceRefStructure value) {
setStopPlaceRef(value);
return this;
}
public StopPlace_DerivedViewStructure withName(MultilingualString value) {
setName(value);
return this;
}
public StopPlace_DerivedViewStructure withPlaceTypes(TypeOfPlaceRefs_RelStructure value) {
setPlaceTypes(value);
return this;
}
public StopPlace_DerivedViewStructure withShortName(MultilingualString value) {
setShortName(value);
return this;
}
public StopPlace_DerivedViewStructure withPublicCode(String value) {
setPublicCode(value);
return this;
}
public StopPlace_DerivedViewStructure withStopPlaceType(StopTypeEnumeration value) {
setStopPlaceType(value);
return this;
}
public StopPlace_DerivedViewStructure withTransportMode(VehicleModeEnumeration value) {
setTransportMode(value);
return this;
}
@Override
public StopPlace_DerivedViewStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public StopPlace_DerivedViewStructure 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