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

de.vdv.ojp20.TrackSectionStructure Maven / Gradle / Ivy

The newest version!
//
// This file was generated by the Eclipse Implementation of JAXB, v4.0.5 
// See https://eclipse-ee4j.github.io/jaxb-ri 
// Any modifications to this file will be lost upon recompilation of the source schema. 
//


package de.vdv.ojp20;

import java.math.BigInteger;
import java.time.Duration;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import org.opentripplanner.ojp.util.DurationXmlAdapter;


/**
 * SECTION of a LEG TRACK on the infrastructure network of the LEG together with time information.
 * 
 * 

Java class for TrackSectionStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "TrackSectionStructure", propOrder = { "trackSectionStart", "trackSectionEnd", "linkProjection", "roadName", "duration", "length", "extension" }) public class TrackSectionStructure { /** * Start place of this track section (Start of a SECTION of a LEG.TRACK). * */ @XmlElement(name = "TrackSectionStart") protected PlaceRefStructure trackSectionStart; /** * End place of this track section (End of a SECTION of a LEG.TRACK). * */ @XmlElement(name = "TrackSectionEnd") protected PlaceRefStructure trackSectionEnd; /** * An oriented correspondence from one LINK of a source layer, onto an entity in a target layer: e.g., LINK SEQUENCE. * */ @XmlElement(name = "LinkProjection") protected LinearShapeStructure linkProjection; /** * Name of the road this track section is attached to (LEG TRACK.SECTION NAME, may also be something like "bicycle line along Tellstrasse"). * */ @XmlElement(name = "RoadName") protected String roadName; /** * Duration the passenger needs to travel through this track section. * */ @XmlElement(name = "Duration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration duration; /** * Length of this track section. * */ @XmlElement(name = "Length") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger length; @XmlElement(name = "Extension") protected Object extension; /** * Start place of this track section (Start of a SECTION of a LEG.TRACK). * * @return * possible object is * {@link PlaceRefStructure } * */ public PlaceRefStructure getTrackSectionStart() { return trackSectionStart; } /** * Sets the value of the trackSectionStart property. * * @param value * allowed object is * {@link PlaceRefStructure } * * @see #getTrackSectionStart() */ public void setTrackSectionStart(PlaceRefStructure value) { this.trackSectionStart = value; } /** * End place of this track section (End of a SECTION of a LEG.TRACK). * * @return * possible object is * {@link PlaceRefStructure } * */ public PlaceRefStructure getTrackSectionEnd() { return trackSectionEnd; } /** * Sets the value of the trackSectionEnd property. * * @param value * allowed object is * {@link PlaceRefStructure } * * @see #getTrackSectionEnd() */ public void setTrackSectionEnd(PlaceRefStructure value) { this.trackSectionEnd = value; } /** * An oriented correspondence from one LINK of a source layer, onto an entity in a target layer: e.g., LINK SEQUENCE. * * @return * possible object is * {@link LinearShapeStructure } * */ public LinearShapeStructure getLinkProjection() { return linkProjection; } /** * Sets the value of the linkProjection property. * * @param value * allowed object is * {@link LinearShapeStructure } * * @see #getLinkProjection() */ public void setLinkProjection(LinearShapeStructure value) { this.linkProjection = value; } /** * Name of the road this track section is attached to (LEG TRACK.SECTION NAME, may also be something like "bicycle line along Tellstrasse"). * * @return * possible object is * {@link String } * */ public String getRoadName() { return roadName; } /** * Sets the value of the roadName property. * * @param value * allowed object is * {@link String } * * @see #getRoadName() */ public void setRoadName(String value) { this.roadName = value; } /** * Duration the passenger needs to travel through this track section. * * @return * possible object is * {@link String } * */ public Duration getDuration() { return duration; } /** * Sets the value of the duration property. * * @param value * allowed object is * {@link String } * * @see #getDuration() */ public void setDuration(Duration value) { this.duration = value; } /** * Length of this track section. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getLength() { return length; } /** * Sets the value of the length property. * * @param value * allowed object is * {@link BigInteger } * * @see #getLength() */ public void setLength(BigInteger value) { this.length = value; } /** * Gets the value of the extension property. * * @return * possible object is * {@link Object } * */ public Object getExtension() { return extension; } /** * Sets the value of the extension property. * * @param value * allowed object is * {@link Object } * */ public void setExtension(Object value) { this.extension = value; } public TrackSectionStructure withTrackSectionStart(PlaceRefStructure value) { setTrackSectionStart(value); return this; } public TrackSectionStructure withTrackSectionEnd(PlaceRefStructure value) { setTrackSectionEnd(value); return this; } public TrackSectionStructure withLinkProjection(LinearShapeStructure value) { setLinkProjection(value); return this; } public TrackSectionStructure withRoadName(String value) { setRoadName(value); return this; } public TrackSectionStructure withDuration(Duration value) { setDuration(value); return this; } public TrackSectionStructure withLength(BigInteger value) { setLength(value); return this; } public TrackSectionStructure withExtension(Object value) { setExtension(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 - 2025 Weber Informatics LLC | Privacy Policy