![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri21.AnnotatedLineRef 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:41 PM UTC
//
package uk.org.siri.siri21;
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.XmlRootElement;
import jakarta.xml.bind.annotation.XmlType;
/**
* Summary information about a LINE type.
*
* Java class for AnnotatedLineStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AnnotatedLineStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="LineRef" type="{http://www.siri.org.uk/siri}LineRefStructure"/>
* <element name="LineName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded"/>
* <element name="Monitored" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* <element name="Destinations" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.siri.org.uk/siri}Destination" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element name="Directions" minOccurs="0">
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Direction" type="{http://www.siri.org.uk/siri}RouteDirectionStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </element>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AnnotatedLineStructure", propOrder = {
"lineRef",
"lineNames",
"monitored",
"destinations",
"directions",
"extensions"
})
@XmlRootElement(name = "AnnotatedLineRef")
public class AnnotatedLineRef
implements Serializable
{
@XmlElement(name = "LineRef", required = true)
protected LineRef lineRef;
@XmlElement(name = "LineName", required = true)
protected List lineNames;
@XmlElement(name = "Monitored", defaultValue = "true")
protected Boolean monitored;
@XmlElement(name = "Destinations")
protected AnnotatedLineRef.Destinations destinations;
@XmlElement(name = "Directions")
protected AnnotatedLineRef.Directions directions;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the lineRef property.
*
* @return
* possible object is
* {@link LineRef }
*
*/
public LineRef getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link LineRef }
*
*/
public void setLineRef(LineRef value) {
this.lineRef = value;
}
/**
* Gets the value of the lineNames 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 lineNames property.
*
*
* For example, to add a new item, do as follows:
*
* getLineNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getLineNames() {
if (lineNames == null) {
lineNames = new ArrayList();
}
return this.lineNames;
}
/**
* Gets the value of the monitored property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isMonitored() {
return monitored;
}
/**
* Sets the value of the monitored property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setMonitored(Boolean value) {
this.monitored = value;
}
/**
* Gets the value of the destinations property.
*
* @return
* possible object is
* {@link AnnotatedLineRef.Destinations }
*
*/
public AnnotatedLineRef.Destinations getDestinations() {
return destinations;
}
/**
* Sets the value of the destinations property.
*
* @param value
* allowed object is
* {@link AnnotatedLineRef.Destinations }
*
*/
public void setDestinations(AnnotatedLineRef.Destinations value) {
this.destinations = value;
}
/**
* Gets the value of the directions property.
*
* @return
* possible object is
* {@link AnnotatedLineRef.Directions }
*
*/
public AnnotatedLineRef.Directions getDirections() {
return directions;
}
/**
* Sets the value of the directions property.
*
* @param value
* allowed object is
* {@link AnnotatedLineRef.Directions }
*
*/
public void setDirections(AnnotatedLineRef.Directions value) {
this.directions = 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;
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element ref="{http://www.siri.org.uk/siri}Destination" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"destinations"
})
public static class Destinations
implements Serializable
{
@XmlElement(name = "Destination", required = true)
protected List destinations;
/**
* Gets the value of the destinations 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 destinations property.
*
*
* For example, to add a new item, do as follows:
*
* getDestinations().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Destination }
*
*
*/
public List getDestinations() {
if (destinations == null) {
destinations = new ArrayList();
}
return this.destinations;
}
}
/**
* Java class for anonymous complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType>
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Direction" type="{http://www.siri.org.uk/siri}RouteDirectionStructure" maxOccurs="unbounded"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"directions"
})
public static class Directions
implements Serializable
{
@XmlElement(name = "Direction", required = true)
protected List directions;
/**
* Gets the value of the directions 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 directions property.
*
*
* For example, to add a new item, do as follows:
*
* getDirections().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RouteDirectionStructure }
*
*
*/
public List getDirections() {
if (directions == null) {
directions = new ArrayList();
}
return this.directions;
}
}
}