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

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

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.CollapsedStringAdapter;
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;


/**
 * 

Java class for ContextualisedConnectionLinkStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ContextualisedConnectionLinkStructure", propOrder = { "connectionLinkCode", "stopPointRef", "stopPointName", "defaultDuration", "frequentTravellerDuration", "occasionalTravellerDuration", "impairedAccessDuration" }) public class ContextualisedConnectionLinkStructure { @XmlElement(name = "ConnectionLinkCode") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String connectionLinkCode; @XmlElement(name = "StopPointRef") protected StopPointRefStructure stopPointRef; @XmlElement(name = "StopPointName") protected NaturalLanguageStringStructure stopPointName; @XmlElement(name = "DefaultDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration defaultDuration; @XmlElement(name = "FrequentTravellerDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration frequentTravellerDuration; @XmlElement(name = "OccasionalTravellerDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration occasionalTravellerDuration; @XmlElement(name = "ImpairedAccessDuration", type = String.class) @XmlJavaTypeAdapter(DurationXmlAdapter.class) @XmlSchemaType(name = "duration") protected Duration impairedAccessDuration; /** * Gets the value of the connectionLinkCode property. * * @return * possible object is * {@link String } * */ public String getConnectionLinkCode() { return connectionLinkCode; } /** * Sets the value of the connectionLinkCode property. * * @param value * allowed object is * {@link String } * */ public void setConnectionLinkCode(String value) { this.connectionLinkCode = value; } /** * Gets the value of the stopPointRef property. * * @return * possible object is * {@link StopPointRefStructure } * */ public StopPointRefStructure getStopPointRef() { return stopPointRef; } /** * Sets the value of the stopPointRef property. * * @param value * allowed object is * {@link StopPointRefStructure } * */ public void setStopPointRef(StopPointRefStructure value) { this.stopPointRef = value; } /** * Gets the value of the stopPointName property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getStopPointName() { return stopPointName; } /** * Sets the value of the stopPointName property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setStopPointName(NaturalLanguageStringStructure value) { this.stopPointName = value; } /** * Gets the value of the defaultDuration property. * * @return * possible object is * {@link String } * */ public Duration getDefaultDuration() { return defaultDuration; } /** * Sets the value of the defaultDuration property. * * @param value * allowed object is * {@link String } * */ public void setDefaultDuration(Duration value) { this.defaultDuration = value; } /** * Gets the value of the frequentTravellerDuration property. * * @return * possible object is * {@link String } * */ public Duration getFrequentTravellerDuration() { return frequentTravellerDuration; } /** * Sets the value of the frequentTravellerDuration property. * * @param value * allowed object is * {@link String } * */ public void setFrequentTravellerDuration(Duration value) { this.frequentTravellerDuration = value; } /** * Gets the value of the occasionalTravellerDuration property. * * @return * possible object is * {@link String } * */ public Duration getOccasionalTravellerDuration() { return occasionalTravellerDuration; } /** * Sets the value of the occasionalTravellerDuration property. * * @param value * allowed object is * {@link String } * */ public void setOccasionalTravellerDuration(Duration value) { this.occasionalTravellerDuration = value; } /** * Gets the value of the impairedAccessDuration property. * * @return * possible object is * {@link String } * */ public Duration getImpairedAccessDuration() { return impairedAccessDuration; } /** * Sets the value of the impairedAccessDuration property. * * @param value * allowed object is * {@link String } * */ public void setImpairedAccessDuration(Duration value) { this.impairedAccessDuration = value; } public ContextualisedConnectionLinkStructure withConnectionLinkCode(String value) { setConnectionLinkCode(value); return this; } public ContextualisedConnectionLinkStructure withStopPointRef(StopPointRefStructure value) { setStopPointRef(value); return this; } public ContextualisedConnectionLinkStructure withStopPointName(NaturalLanguageStringStructure value) { setStopPointName(value); return this; } public ContextualisedConnectionLinkStructure withDefaultDuration(Duration value) { setDefaultDuration(value); return this; } public ContextualisedConnectionLinkStructure withFrequentTravellerDuration(Duration value) { setFrequentTravellerDuration(value); return this; } public ContextualisedConnectionLinkStructure withOccasionalTravellerDuration(Duration value) { setOccasionalTravellerDuration(value); return this; } public ContextualisedConnectionLinkStructure withImpairedAccessDuration(Duration value) { setImpairedAccessDuration(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