
de.vdv.ojp20.siri.AffectedLineStructure Maven / Gradle / Ivy
Show all versions of ojp-java-model Show documentation
//
// 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.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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for AffectedLineStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedLineStructure", propOrder = {
"affectedOperator",
"lineRef",
"publishedLineName",
"origins",
"destinations",
"direction",
"routes",
"sections",
"stopPoints",
"stopPlaces",
"extensions"
})
public class AffectedLineStructure {
@XmlElement(name = "AffectedOperator")
protected List affectedOperator;
@XmlElement(name = "LineRef", required = true)
protected LineRefStructure lineRef;
@XmlElement(name = "PublishedLineName")
protected List publishedLineName;
@XmlElement(name = "Origins")
protected List origins;
@XmlElement(name = "Destinations")
protected List destinations;
@XmlElement(name = "Direction")
protected List direction;
@XmlElement(name = "Routes")
protected AffectedLineStructure.Routes routes;
@XmlElement(name = "Sections")
protected AffectedLineStructure.Sections sections;
@XmlElement(name = "StopPoints")
protected AffectedLineStructure.StopPoints stopPoints;
@XmlElement(name = "StopPlaces")
protected AffectedLineStructure.StopPlaces stopPlaces;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the affectedOperator 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 affectedOperator property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedOperator().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedOperatorStructure }
*
*
*
* @return
* The value of the affectedOperator property.
*/
public List getAffectedOperator() {
if (affectedOperator == null) {
affectedOperator = new ArrayList<>();
}
return this.affectedOperator;
}
/**
* Gets the value of the lineRef property.
*
* @return
* possible object is
* {@link LineRefStructure }
*
*/
public LineRefStructure getLineRef() {
return lineRef;
}
/**
* Sets the value of the lineRef property.
*
* @param value
* allowed object is
* {@link LineRefStructure }
*
*/
public void setLineRef(LineRefStructure value) {
this.lineRef = value;
}
/**
* Gets the value of the publishedLineName 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 publishedLineName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPublishedLineName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the publishedLineName property.
*/
public List getPublishedLineName() {
if (publishedLineName == null) {
publishedLineName = new ArrayList<>();
}
return this.publishedLineName;
}
/**
* Gets the value of the origins 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 origins property.
*
*
* For example, to add a new item, do as follows:
*
*
* getOrigins().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPointStructure }
*
*
*
* @return
* The value of the origins property.
*/
public List getOrigins() {
if (origins == null) {
origins = new ArrayList<>();
}
return this.origins;
}
/**
* 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 JAXB 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 AffectedStopPointStructure }
*
*
*
* @return
* The value of the destinations property.
*/
public List getDestinations() {
if (destinations == null) {
destinations = new ArrayList<>();
}
return this.destinations;
}
/**
* Gets the value of the direction 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 direction property.
*
*
* For example, to add a new item, do as follows:
*
*
* getDirection().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DirectionStructure }
*
*
*
* @return
* The value of the direction property.
*/
public List getDirection() {
if (direction == null) {
direction = new ArrayList<>();
}
return this.direction;
}
/**
* Gets the value of the routes property.
*
* @return
* possible object is
* {@link AffectedLineStructure.Routes }
*
*/
public AffectedLineStructure.Routes getRoutes() {
return routes;
}
/**
* Sets the value of the routes property.
*
* @param value
* allowed object is
* {@link AffectedLineStructure.Routes }
*
*/
public void setRoutes(AffectedLineStructure.Routes value) {
this.routes = value;
}
/**
* Gets the value of the sections property.
*
* @return
* possible object is
* {@link AffectedLineStructure.Sections }
*
*/
public AffectedLineStructure.Sections getSections() {
return sections;
}
/**
* Sets the value of the sections property.
*
* @param value
* allowed object is
* {@link AffectedLineStructure.Sections }
*
*/
public void setSections(AffectedLineStructure.Sections value) {
this.sections = value;
}
/**
* Gets the value of the stopPoints property.
*
* @return
* possible object is
* {@link AffectedLineStructure.StopPoints }
*
*/
public AffectedLineStructure.StopPoints getStopPoints() {
return stopPoints;
}
/**
* Sets the value of the stopPoints property.
*
* @param value
* allowed object is
* {@link AffectedLineStructure.StopPoints }
*
*/
public void setStopPoints(AffectedLineStructure.StopPoints value) {
this.stopPoints = value;
}
/**
* Gets the value of the stopPlaces property.
*
* @return
* possible object is
* {@link AffectedLineStructure.StopPlaces }
*
*/
public AffectedLineStructure.StopPlaces getStopPlaces() {
return stopPlaces;
}
/**
* Sets the value of the stopPlaces property.
*
* @param value
* allowed object is
* {@link AffectedLineStructure.StopPlaces }
*
*/
public void setStopPlaces(AffectedLineStructure.StopPlaces value) {
this.stopPlaces = value;
}
/**
* Gets the value of the extensions property.
*
* @return
* possible object is
* {@link ExtensionsStructure }
*
*/
public ExtensionsStructure getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link ExtensionsStructure }
*
*/
public void setExtensions(ExtensionsStructure value) {
this.extensions = value;
}
public AffectedLineStructure withAffectedOperator(AffectedOperatorStructure... values) {
if (values!= null) {
for (AffectedOperatorStructure value: values) {
getAffectedOperator().add(value);
}
}
return this;
}
public AffectedLineStructure withAffectedOperator(Collection values) {
if (values!= null) {
getAffectedOperator().addAll(values);
}
return this;
}
public AffectedLineStructure withLineRef(LineRefStructure value) {
setLineRef(value);
return this;
}
public AffectedLineStructure withPublishedLineName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getPublishedLineName().add(value);
}
}
return this;
}
public AffectedLineStructure withPublishedLineName(Collection values) {
if (values!= null) {
getPublishedLineName().addAll(values);
}
return this;
}
public AffectedLineStructure withOrigins(AffectedStopPointStructure... values) {
if (values!= null) {
for (AffectedStopPointStructure value: values) {
getOrigins().add(value);
}
}
return this;
}
public AffectedLineStructure withOrigins(Collection values) {
if (values!= null) {
getOrigins().addAll(values);
}
return this;
}
public AffectedLineStructure withDestinations(AffectedStopPointStructure... values) {
if (values!= null) {
for (AffectedStopPointStructure value: values) {
getDestinations().add(value);
}
}
return this;
}
public AffectedLineStructure withDestinations(Collection values) {
if (values!= null) {
getDestinations().addAll(values);
}
return this;
}
public AffectedLineStructure withDirection(DirectionStructure... values) {
if (values!= null) {
for (DirectionStructure value: values) {
getDirection().add(value);
}
}
return this;
}
public AffectedLineStructure withDirection(Collection values) {
if (values!= null) {
getDirection().addAll(values);
}
return this;
}
public AffectedLineStructure withRoutes(AffectedLineStructure.Routes value) {
setRoutes(value);
return this;
}
public AffectedLineStructure withSections(AffectedLineStructure.Sections value) {
setSections(value);
return this;
}
public AffectedLineStructure withStopPoints(AffectedLineStructure.StopPoints value) {
setStopPoints(value);
return this;
}
public AffectedLineStructure withStopPlaces(AffectedLineStructure.StopPlaces value) {
setStopPlaces(value);
return this;
}
public AffectedLineStructure withExtensions(ExtensionsStructure value) {
setExtensions(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);
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedRoute"
})
public static class Routes {
@XmlElement(name = "AffectedRoute", required = true)
protected List affectedRoute;
/**
* Gets the value of the affectedRoute 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 affectedRoute property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedRoute().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedRouteStructure }
*
*
*
* @return
* The value of the affectedRoute property.
*/
public List getAffectedRoute() {
if (affectedRoute == null) {
affectedRoute = new ArrayList<>();
}
return this.affectedRoute;
}
public AffectedLineStructure.Routes withAffectedRoute(AffectedRouteStructure... values) {
if (values!= null) {
for (AffectedRouteStructure value: values) {
getAffectedRoute().add(value);
}
}
return this;
}
public AffectedLineStructure.Routes withAffectedRoute(Collection values) {
if (values!= null) {
getAffectedRoute().addAll(values);
}
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);
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedSection"
})
public static class Sections {
@XmlElement(name = "AffectedSection", required = true)
protected List affectedSection;
/**
* Gets the value of the affectedSection 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 affectedSection property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedSection().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedSectionStructure }
*
*
*
* @return
* The value of the affectedSection property.
*/
public List getAffectedSection() {
if (affectedSection == null) {
affectedSection = new ArrayList<>();
}
return this.affectedSection;
}
public AffectedLineStructure.Sections withAffectedSection(AffectedSectionStructure... values) {
if (values!= null) {
for (AffectedSectionStructure value: values) {
getAffectedSection().add(value);
}
}
return this;
}
public AffectedLineStructure.Sections withAffectedSection(Collection values) {
if (values!= null) {
getAffectedSection().addAll(values);
}
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);
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedStopPlace"
})
public static class StopPlaces {
@XmlElement(name = "AffectedStopPlace", required = true)
protected List affectedStopPlace;
/**
* Gets the value of the affectedStopPlace 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 affectedStopPlace property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedStopPlace().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPlaceStructure }
*
*
*
* @return
* The value of the affectedStopPlace property.
*/
public List getAffectedStopPlace() {
if (affectedStopPlace == null) {
affectedStopPlace = new ArrayList<>();
}
return this.affectedStopPlace;
}
public AffectedLineStructure.StopPlaces withAffectedStopPlace(AffectedStopPlaceStructure... values) {
if (values!= null) {
for (AffectedStopPlaceStructure value: values) {
getAffectedStopPlace().add(value);
}
}
return this;
}
public AffectedLineStructure.StopPlaces withAffectedStopPlace(Collection values) {
if (values!= null) {
getAffectedStopPlace().addAll(values);
}
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);
}
}
/**
* Java class for anonymous complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = {
"affectedStopPoint"
})
public static class StopPoints {
@XmlElement(name = "AffectedStopPoint", required = true)
protected List affectedStopPoint;
/**
* Gets the value of the affectedStopPoint 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 affectedStopPoint property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedStopPoint().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedStopPointStructure }
*
*
*
* @return
* The value of the affectedStopPoint property.
*/
public List getAffectedStopPoint() {
if (affectedStopPoint == null) {
affectedStopPoint = new ArrayList<>();
}
return this.affectedStopPoint;
}
public AffectedLineStructure.StopPoints withAffectedStopPoint(AffectedStopPointStructure... values) {
if (values!= null) {
for (AffectedStopPointStructure value: values) {
getAffectedStopPoint().add(value);
}
}
return this;
}
public AffectedLineStructure.StopPoints withAffectedStopPoint(Collection values) {
if (values!= null) {
getAffectedStopPoint().addAll(values);
}
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);
}
}
}