org.rutebanken.netex.model.Route_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.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.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 Route_DerivedViewStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Route_DerivedViewStructure">
* <complexContent>
* <extension base="{http://www.netex.org.uk/netex}DerivedViewStructure">
* <sequence>
* <group ref="{http://www.netex.org.uk/netex}RouteViewGroup"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Route_DerivedViewStructure", propOrder = {
"routeRef",
"vehicleMode",
"name",
"lineRef",
"lineView",
"directionView",
"linkSequenceProjectionRef"
})
@XmlSeeAlso({
RouteView.class
})
public class Route_DerivedViewStructure
extends DerivedViewStructure
{
@XmlElement(name = "RouteRef")
protected RouteRefStructure routeRef;
@XmlElement(name = "VehicleMode")
@XmlSchemaType(name = "NMTOKEN")
protected AllVehicleModesOfTransportEnumeration vehicleMode;
@XmlElement(name = "Name")
protected MultilingualString name;
@XmlElementRef(name = "LineRef", namespace = "http://www.netex.org.uk/netex", type = JAXBElement.class, required = false)
protected JAXBElement extends LineRefStructure> lineRef;
@XmlElement(name = "LineView")
protected LineView lineView;
@XmlElement(name = "DirectionView")
protected DirectionView directionView;
@XmlElement(name = "LinkSequenceProjectionRef")
protected LinkSequenceProjectionRefStructure linkSequenceProjectionRef;
/**
* Gets the value of the routeRef property.
*
* @return
* possible object is
* {@link RouteRefStructure }
*
*/
public RouteRefStructure getRouteRef() {
return routeRef;
}
/**
* Sets the value of the routeRef property.
*
* @param value
* allowed object is
* {@link RouteRefStructure }
*
*/
public void setRouteRef(RouteRefStructure value) {
this.routeRef = value;
}
/**
* Gets the value of the vehicleMode property.
*
* @return
* possible object is
* {@link AllVehicleModesOfTransportEnumeration }
*
*/
public AllVehicleModesOfTransportEnumeration getVehicleMode() {
return vehicleMode;
}
/**
* Sets the value of the vehicleMode property.
*
* @param value
* allowed object is
* {@link AllVehicleModesOfTransportEnumeration }
*
*/
public void setVehicleMode(AllVehicleModesOfTransportEnumeration value) {
this.vehicleMode = 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 lineRef property.
*
* @return
* possible object is
* {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >}
*
*/
public JAXBElement extends LineRefStructure> getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link JAXBElement }{@code <}{@link FlexibleLineRefStructure }{@code >}
* {@link JAXBElement }{@code <}{@link LineRefStructure }{@code >}
*
*/
public void setLineRef(JAXBElement extends LineRefStructure> value) {
this.lineRef = value;
}
/**
* Gets the value of the lineView property.
*
* @return
* possible object is
* {@link LineView }
*
*/
public LineView getLineView() {
return lineView;
}
/**
* Sets the value of the lineView property.
*
* @param value
* allowed object is
* {@link LineView }
*
*/
public void setLineView(LineView value) {
this.lineView = value;
}
/**
* Gets the value of the directionView property.
*
* @return
* possible object is
* {@link DirectionView }
*
*/
public DirectionView getDirectionView() {
return directionView;
}
/**
* Sets the value of the directionView property.
*
* @param value
* allowed object is
* {@link DirectionView }
*
*/
public void setDirectionView(DirectionView value) {
this.directionView = value;
}
/**
* Gets the value of the linkSequenceProjectionRef property.
*
* @return
* possible object is
* {@link LinkSequenceProjectionRefStructure }
*
*/
public LinkSequenceProjectionRefStructure getLinkSequenceProjectionRef() {
return linkSequenceProjectionRef;
}
/**
* Sets the value of the linkSequenceProjectionRef property.
*
* @param value
* allowed object is
* {@link LinkSequenceProjectionRefStructure }
*
*/
public void setLinkSequenceProjectionRef(LinkSequenceProjectionRefStructure value) {
this.linkSequenceProjectionRef = value;
}
public Route_DerivedViewStructure withRouteRef(RouteRefStructure value) {
setRouteRef(value);
return this;
}
public Route_DerivedViewStructure withVehicleMode(AllVehicleModesOfTransportEnumeration value) {
setVehicleMode(value);
return this;
}
public Route_DerivedViewStructure withName(MultilingualString value) {
setName(value);
return this;
}
public Route_DerivedViewStructure withLineRef(JAXBElement extends LineRefStructure> value) {
setLineRef(value);
return this;
}
public Route_DerivedViewStructure withLineView(LineView value) {
setLineView(value);
return this;
}
public Route_DerivedViewStructure withDirectionView(DirectionView value) {
setDirectionView(value);
return this;
}
public Route_DerivedViewStructure withLinkSequenceProjectionRef(LinkSequenceProjectionRefStructure value) {
setLinkSequenceProjectionRef(value);
return this;
}
@Override
public Route_DerivedViewStructure withBrandingRef(BrandingRefStructure value) {
setBrandingRef(value);
return this;
}
@Override
public Route_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