![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AffectedPathLinkStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
import java.util.ArrayList;
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 jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import uk.org.ifopt.siri20.AccessibilityFeatureEnumeration;
import uk.org.ifopt.siri20.LinkProjection;
/**
* Information about a CONNECTION link from a given stop affected by a SITUATION.
*
* Java class for AffectedPathLinkStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedPathLinkStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LinkRef" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" maxOccurs="unbounded" minOccurs="0"/>
* <element name="LinkName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="AccessibilityFeature" type="{http://www.ifopt.org.uk/ifopt}AccessibilityFeatureEnumeration" minOccurs="0"/>
* <element name="LinkDirection" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
* <group ref="{http://www.siri.org.uk/siri}ProjectionGroup"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedPathLinkStructure", propOrder = {
"linkReves",
"linkNames",
"accessibilityFeature",
"linkDirections",
"linkProjection",
"offset",
"extensions"
})
public class AffectedPathLinkStructure
implements Serializable
{
@XmlElement(name = "LinkRef")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected List linkReves;
@XmlElement(name = "LinkName")
protected List linkNames;
@XmlElement(name = "AccessibilityFeature")
@XmlSchemaType(name = "string")
protected AccessibilityFeatureEnumeration accessibilityFeature;
@XmlElement(name = "LinkDirection")
protected List linkDirections;
@XmlElement(name = "LinkProjection")
protected LinkProjection linkProjection;
@XmlElement(name = "Offset")
protected OffsetStructure offset;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the linkReves 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 Jakarta XML Binding object.
* This is why there is not a set
method for the linkReves property.
*
*
* For example, to add a new item, do as follows:
*
* getLinkReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLinkReves() {
if (linkReves == null) {
linkReves = new ArrayList();
}
return this.linkReves;
}
/**
* Gets the value of the linkNames 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 Jakarta XML Binding object.
* This is why there is not a set
method for the linkNames property.
*
*
* For example, to add a new item, do as follows:
*
* getLinkNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getLinkNames() {
if (linkNames == null) {
linkNames = new ArrayList();
}
return this.linkNames;
}
/**
* Gets the value of the accessibilityFeature property.
*
* @return
* possible object is
* {@link AccessibilityFeatureEnumeration }
*
*/
public AccessibilityFeatureEnumeration getAccessibilityFeature() {
return accessibilityFeature;
}
/**
* Sets the value of the accessibilityFeature property.
*
* @param value
* allowed object is
* {@link AccessibilityFeatureEnumeration }
*
*/
public void setAccessibilityFeature(AccessibilityFeatureEnumeration value) {
this.accessibilityFeature = value;
}
/**
* Gets the value of the linkDirections 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 Jakarta XML Binding object.
* This is why there is not a set
method for the linkDirections property.
*
*
* For example, to add a new item, do as follows:
*
* getLinkDirections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getLinkDirections() {
if (linkDirections == null) {
linkDirections = new ArrayList();
}
return this.linkDirections;
}
/**
* Gets the value of the linkProjection property.
*
* @return
* possible object is
* {@link LinkProjection }
*
*/
public LinkProjection getLinkProjection() {
return linkProjection;
}
/**
* Sets the value of the linkProjection property.
*
* @param value
* allowed object is
* {@link LinkProjection }
*
*/
public void setLinkProjection(LinkProjection value) {
this.linkProjection = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link OffsetStructure }
*
*/
public OffsetStructure getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link OffsetStructure }
*
*/
public void setOffset(OffsetStructure value) {
this.offset = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link Extensions }
*
*/
public Extensions getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link Extensions }
*
*/
public void setExtensions(Extensions value) {
this.extensions = value;
}
}