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

de.vdv.ojp20.CallAtNearStopStructure 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;


/**
 * indication of the walk distance and time to a nearby stop where relevant.
 * 
 * 

Java class for CallAtNearStopStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "CallAtNearStopStructure", propOrder = { "callAtStop", "walkDistance", "walkDuration" }) public class CallAtNearStopStructure { /** * [same as CALL in SIRI] the meeting of a VEHICLE JOURNEY with a specific SCHEDULED STOP POINT. * */ @XmlElement(name = "CallAtStop", required = true) protected CallAtStopStructure callAtStop; /** * Distance from request LOCATION / PLACE (e.g., address) to this stop in metres. * */ @XmlElement(name = "WalkDistance") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger walkDistance; /** * Walking duration from request LOCATION / PLACE (e.g., address) to this stop. All user options considered (e.g., walk speed). * */ @XmlElement(name = "WalkDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration walkDuration; /** * [same as CALL in SIRI] the meeting of a VEHICLE JOURNEY with a specific SCHEDULED STOP POINT. * * @return * possible object is * {@link CallAtStopStructure } * */ public CallAtStopStructure getCallAtStop() { return callAtStop; } /** * Sets the value of the callAtStop property. * * @param value * allowed object is * {@link CallAtStopStructure } * * @see #getCallAtStop() */ public void setCallAtStop(CallAtStopStructure value) { this.callAtStop = value; } /** * Distance from request LOCATION / PLACE (e.g., address) to this stop in metres. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getWalkDistance() { return walkDistance; } /** * Sets the value of the walkDistance property. * * @param value * allowed object is * {@link BigInteger } * * @see #getWalkDistance() */ public void setWalkDistance(BigInteger value) { this.walkDistance = value; } /** * Walking duration from request LOCATION / PLACE (e.g., address) to this stop. All user options considered (e.g., walk speed). * * @return * possible object is * {@link String } * */ public Duration getWalkDuration() { return walkDuration; } /** * Sets the value of the walkDuration property. * * @param value * allowed object is * {@link String } * * @see #getWalkDuration() */ public void setWalkDuration(Duration value) { this.walkDuration = value; } public CallAtNearStopStructure withCallAtStop(CallAtStopStructure value) { setCallAtStop(value); return this; } public CallAtNearStopStructure withWalkDistance(BigInteger value) { setWalkDistance(value); return this; } public CallAtNearStopStructure withWalkDuration(Duration value) { setWalkDuration(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