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

de.vdv.ojp20.PathLinkStructure 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.util.ArrayList;
import java.util.Collection;
import java.util.List;
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 org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;


/**
 * [TMv6] a link within a PLACE of or between two PLACEs (that is STOP PLACEs, ACCESS SPACEs or QUAYs, BOARDING POSITIONs, POINTs OF INTEREST etc. or PATH JUNCTIONs) that represents a step in a possible route for pedestrians, cyclists, or other out-of-vehicle passengers within or between a PLACE. Here we use a reduced form of a PATH LINK containing the description of the type of accessibility on this navigation section.
 * 
 * 

Java class for PathLinkStructure complex type

. * *

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

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PathLinkStructure", propOrder = { "transition", "accessFeatureType", "count", "accessFeatureStatus", "accessFeatureStatusText", "accessibilityFeature", "situationFullRef", "from", "to" }) public class PathLinkStructure { /** * Whether path is up, down, or level. * */ @XmlElement(name = "Transition") @XmlSchemaType(name = "string") protected TransitionEnumeration transition; /** * Type of physical feature of PATH LINK. * */ @XmlElement(name = "AccessFeatureType") @XmlSchemaType(name = "string") protected AccessFeatureTypeEnumeration accessFeatureType; /** * Number indicating how often the access feature occurs in this PathLink * */ @XmlElement(name = "Count") @XmlSchemaType(name = "positiveInteger") protected BigInteger count; /** * Whether the access feature is available or out of service. * */ @XmlElement(name = "AccessFeatureStatus") @XmlSchemaType(name = "string") protected AccessFeatureStatusEnumeration accessFeatureStatus; /** * Textual information about reduced availability of the access feature, in particular if AccessFeatureStatus is partiallyAvailable. * */ @XmlElement(name = "AccessFeatureStatusText") protected InternationalTextStructure accessFeatureStatusText; /** * Presence of an accessibility feature on the PathLink. * */ @XmlElement(name = "AccessibilityFeature") @XmlSchemaType(name = "string") protected List accessibilityFeature; /** * Reference to a situation that affects the availability of the access feature. * */ @XmlElement(name = "SituationFullRef") protected List situationFullRef; /** * Designations of level and place where this PathLink starts. * */ @XmlElement(name = "From") protected PathLinkEndStructure from; /** * Designations of level and place where this PathLink ends. * */ @XmlElement(name = "To") protected PathLinkEndStructure to; /** * Whether path is up, down, or level. * * @return * possible object is * {@link TransitionEnumeration } * */ public TransitionEnumeration getTransition() { return transition; } /** * Sets the value of the transition property. * * @param value * allowed object is * {@link TransitionEnumeration } * * @see #getTransition() */ public void setTransition(TransitionEnumeration value) { this.transition = value; } /** * Type of physical feature of PATH LINK. * * @return * possible object is * {@link AccessFeatureTypeEnumeration } * */ public AccessFeatureTypeEnumeration getAccessFeatureType() { return accessFeatureType; } /** * Sets the value of the accessFeatureType property. * * @param value * allowed object is * {@link AccessFeatureTypeEnumeration } * * @see #getAccessFeatureType() */ public void setAccessFeatureType(AccessFeatureTypeEnumeration value) { this.accessFeatureType = value; } /** * Number indicating how often the access feature occurs in this PathLink * * @return * possible object is * {@link BigInteger } * */ public BigInteger getCount() { return count; } /** * Sets the value of the count property. * * @param value * allowed object is * {@link BigInteger } * * @see #getCount() */ public void setCount(BigInteger value) { this.count = value; } /** * Whether the access feature is available or out of service. * * @return * possible object is * {@link AccessFeatureStatusEnumeration } * */ public AccessFeatureStatusEnumeration getAccessFeatureStatus() { return accessFeatureStatus; } /** * Sets the value of the accessFeatureStatus property. * * @param value * allowed object is * {@link AccessFeatureStatusEnumeration } * * @see #getAccessFeatureStatus() */ public void setAccessFeatureStatus(AccessFeatureStatusEnumeration value) { this.accessFeatureStatus = value; } /** * Textual information about reduced availability of the access feature, in particular if AccessFeatureStatus is partiallyAvailable. * * @return * possible object is * {@link InternationalTextStructure } * */ public InternationalTextStructure getAccessFeatureStatusText() { return accessFeatureStatusText; } /** * Sets the value of the accessFeatureStatusText property. * * @param value * allowed object is * {@link InternationalTextStructure } * * @see #getAccessFeatureStatusText() */ public void setAccessFeatureStatusText(InternationalTextStructure value) { this.accessFeatureStatusText = value; } /** * Presence of an accessibility feature on the PathLink. * * Gets the value of the accessibilityFeature property. * *

This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the accessibilityFeature property.

* *

* For example, to add a new item, do as follows: *

*
     * getAccessibilityFeature().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AccessibilityFeatureTypesEnumeration } *

* * * @return * The value of the accessibilityFeature property. */ public List getAccessibilityFeature() { if (accessibilityFeature == null) { accessibilityFeature = new ArrayList<>(); } return this.accessibilityFeature; } /** * Reference to a situation that affects the availability of the access feature. * * Gets the value of the situationFullRef property. * *

This accessor method returns a reference to the live list, * not a snapshot. Therefore any modification you make to the * returned list will be present inside the JAXB object. * This is why there is not a set method for the situationFullRef property.

* *

* For example, to add a new item, do as follows: *

*
     * getSituationFullRef().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SituationFullRefStructure } *

* * * @return * The value of the situationFullRef property. */ public List getSituationFullRef() { if (situationFullRef == null) { situationFullRef = new ArrayList<>(); } return this.situationFullRef; } /** * Designations of level and place where this PathLink starts. * * @return * possible object is * {@link PathLinkEndStructure } * */ public PathLinkEndStructure getFrom() { return from; } /** * Sets the value of the from property. * * @param value * allowed object is * {@link PathLinkEndStructure } * * @see #getFrom() */ public void setFrom(PathLinkEndStructure value) { this.from = value; } /** * Designations of level and place where this PathLink ends. * * @return * possible object is * {@link PathLinkEndStructure } * */ public PathLinkEndStructure getTo() { return to; } /** * Sets the value of the to property. * * @param value * allowed object is * {@link PathLinkEndStructure } * * @see #getTo() */ public void setTo(PathLinkEndStructure value) { this.to = value; } public PathLinkStructure withTransition(TransitionEnumeration value) { setTransition(value); return this; } public PathLinkStructure withAccessFeatureType(AccessFeatureTypeEnumeration value) { setAccessFeatureType(value); return this; } public PathLinkStructure withCount(BigInteger value) { setCount(value); return this; } public PathLinkStructure withAccessFeatureStatus(AccessFeatureStatusEnumeration value) { setAccessFeatureStatus(value); return this; } public PathLinkStructure withAccessFeatureStatusText(InternationalTextStructure value) { setAccessFeatureStatusText(value); return this; } public PathLinkStructure withAccessibilityFeature(AccessibilityFeatureTypesEnumeration... values) { if (values!= null) { for (AccessibilityFeatureTypesEnumeration value: values) { getAccessibilityFeature().add(value); } } return this; } public PathLinkStructure withAccessibilityFeature(Collection values) { if (values!= null) { getAccessibilityFeature().addAll(values); } return this; } public PathLinkStructure withSituationFullRef(SituationFullRefStructure... values) { if (values!= null) { for (SituationFullRefStructure value: values) { getSituationFullRef().add(value); } } return this; } public PathLinkStructure withSituationFullRef(Collection values) { if (values!= null) { getSituationFullRef().addAll(values); } return this; } public PathLinkStructure withFrom(PathLinkEndStructure value) { setFrom(value); return this; } public PathLinkStructure withTo(PathLinkEndStructure value) { setTo(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