
de.vdv.ojp20.siri.AffectedStopPointStructure 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.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlSeeAlso;
import jakarta.xml.bind.annotation.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import uk.org.ifopt.acsb.AccessibilityAssessmentStructure;
import uk.org.ifopt.ifopt.StopPlaceRefStructure;
/**
* Java class for AffectedStopPointStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedStopPointStructure", propOrder = {
"stopPointRef",
"privateRef",
"stopPointName",
"stopPointType",
"location",
"stopPlaceRef",
"stopPlaceName",
"affectedModes",
"placeRef",
"placeName",
"accessibilityAssessment",
"stopCondition",
"connectionLinks",
"lines",
"extensions"
})
@XmlSeeAlso({
AffectedCallStructure.class
})
public class AffectedStopPointStructure {
@XmlElement(name = "StopPointRef")
protected StopPointRefStructure stopPointRef;
@XmlElement(name = "PrivateRef")
protected String privateRef;
@XmlElement(name = "StopPointName")
protected List stopPointName;
@XmlElement(name = "StopPointType")
@XmlSchemaType(name = "NMTOKEN")
protected StopPointTypeEnumeration stopPointType;
@XmlElement(name = "Location")
protected LocationStructure location;
@XmlElement(name = "StopPlaceRef")
protected StopPlaceRefStructure stopPlaceRef;
@XmlElement(name = "StopPlaceName")
protected List stopPlaceName;
@XmlElement(name = "AffectedModes")
protected AffectedModesStructure affectedModes;
@XmlElement(name = "PlaceRef")
protected ZoneRefStructure placeRef;
@XmlElement(name = "PlaceName")
protected List placeName;
@XmlElement(name = "AccessibilityAssessment")
protected AccessibilityAssessmentStructure accessibilityAssessment;
@XmlElement(name = "StopCondition")
@XmlSchemaType(name = "NMTOKEN")
protected List stopCondition;
@XmlElement(name = "ConnectionLinks")
protected AffectedStopPointStructure.ConnectionLinks connectionLinks;
@XmlElement(name = "Lines")
protected AffectedStopPointStructure.Lines lines;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* 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 privateRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrivateRef() {
return privateRef;
}
/**
* Sets the value of the privateRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrivateRef(String value) {
this.privateRef = value;
}
/**
* Gets the value of the stopPointName 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 stopPointName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getStopPointName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the stopPointName property.
*/
public List getStopPointName() {
if (stopPointName == null) {
stopPointName = new ArrayList<>();
}
return this.stopPointName;
}
/**
* Gets the value of the stopPointType property.
*
* @return
* possible object is
* {@link StopPointTypeEnumeration }
*
*/
public StopPointTypeEnumeration getStopPointType() {
return stopPointType;
}
/**
* Sets the value of the stopPointType property.
*
* @param value
* allowed object is
* {@link StopPointTypeEnumeration }
*
*/
public void setStopPointType(StopPointTypeEnumeration value) {
this.stopPointType = value;
}
/**
* Gets the value of the location property.
*
* @return
* possible object is
* {@link LocationStructure }
*
*/
public LocationStructure getLocation() {
return location;
}
/**
* Sets the value of the location property.
*
* @param value
* allowed object is
* {@link LocationStructure }
*
*/
public void setLocation(LocationStructure value) {
this.location = value;
}
/**
* Gets the value of the stopPlaceRef property.
*
* @return
* possible object is
* {@link StopPlaceRefStructure }
*
*/
public StopPlaceRefStructure getStopPlaceRef() {
return stopPlaceRef;
}
/**
* Sets the value of the stopPlaceRef property.
*
* @param value
* allowed object is
* {@link StopPlaceRefStructure }
*
*/
public void setStopPlaceRef(StopPlaceRefStructure value) {
this.stopPlaceRef = value;
}
/**
* Gets the value of the stopPlaceName 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 stopPlaceName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getStopPlaceName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the stopPlaceName property.
*/
public List getStopPlaceName() {
if (stopPlaceName == null) {
stopPlaceName = new ArrayList<>();
}
return this.stopPlaceName;
}
/**
* Gets the value of the affectedModes property.
*
* @return
* possible object is
* {@link AffectedModesStructure }
*
*/
public AffectedModesStructure getAffectedModes() {
return affectedModes;
}
/**
* Sets the value of the affectedModes property.
*
* @param value
* allowed object is
* {@link AffectedModesStructure }
*
*/
public void setAffectedModes(AffectedModesStructure value) {
this.affectedModes = value;
}
/**
* Gets the value of the placeRef property.
*
* @return
* possible object is
* {@link ZoneRefStructure }
*
*/
public ZoneRefStructure getPlaceRef() {
return placeRef;
}
/**
* Sets the value of the placeRef property.
*
* @param value
* allowed object is
* {@link ZoneRefStructure }
*
*/
public void setPlaceRef(ZoneRefStructure value) {
this.placeRef = value;
}
/**
* Gets the value of the placeName 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 placeName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getPlaceName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the placeName property.
*/
public List getPlaceName() {
if (placeName == null) {
placeName = new ArrayList<>();
}
return this.placeName;
}
/**
* Gets the value of the accessibilityAssessment property.
*
* @return
* possible object is
* {@link AccessibilityAssessmentStructure }
*
*/
public AccessibilityAssessmentStructure getAccessibilityAssessment() {
return accessibilityAssessment;
}
/**
* Sets the value of the accessibilityAssessment property.
*
* @param value
* allowed object is
* {@link AccessibilityAssessmentStructure }
*
*/
public void setAccessibilityAssessment(AccessibilityAssessmentStructure value) {
this.accessibilityAssessment = value;
}
/**
* Gets the value of the stopCondition 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 stopCondition property.
*
*
* For example, to add a new item, do as follows:
*
*
* getStopCondition().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RoutePointTypeEnumeration }
*
*
*
* @return
* The value of the stopCondition property.
*/
public List getStopCondition() {
if (stopCondition == null) {
stopCondition = new ArrayList<>();
}
return this.stopCondition;
}
/**
* Gets the value of the connectionLinks property.
*
* @return
* possible object is
* {@link AffectedStopPointStructure.ConnectionLinks }
*
*/
public AffectedStopPointStructure.ConnectionLinks getConnectionLinks() {
return connectionLinks;
}
/**
* Sets the value of the connectionLinks property.
*
* @param value
* allowed object is
* {@link AffectedStopPointStructure.ConnectionLinks }
*
*/
public void setConnectionLinks(AffectedStopPointStructure.ConnectionLinks value) {
this.connectionLinks = value;
}
/**
* Gets the value of the lines property.
*
* @return
* possible object is
* {@link AffectedStopPointStructure.Lines }
*
*/
public AffectedStopPointStructure.Lines getLines() {
return lines;
}
/**
* Sets the value of the lines property.
*
* @param value
* allowed object is
* {@link AffectedStopPointStructure.Lines }
*
*/
public void setLines(AffectedStopPointStructure.Lines value) {
this.lines = 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 AffectedStopPointStructure withStopPointRef(StopPointRefStructure value) {
setStopPointRef(value);
return this;
}
public AffectedStopPointStructure withPrivateRef(String value) {
setPrivateRef(value);
return this;
}
public AffectedStopPointStructure withStopPointName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getStopPointName().add(value);
}
}
return this;
}
public AffectedStopPointStructure withStopPointName(Collection values) {
if (values!= null) {
getStopPointName().addAll(values);
}
return this;
}
public AffectedStopPointStructure withStopPointType(StopPointTypeEnumeration value) {
setStopPointType(value);
return this;
}
public AffectedStopPointStructure withLocation(LocationStructure value) {
setLocation(value);
return this;
}
public AffectedStopPointStructure withStopPlaceRef(StopPlaceRefStructure value) {
setStopPlaceRef(value);
return this;
}
public AffectedStopPointStructure withStopPlaceName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getStopPlaceName().add(value);
}
}
return this;
}
public AffectedStopPointStructure withStopPlaceName(Collection values) {
if (values!= null) {
getStopPlaceName().addAll(values);
}
return this;
}
public AffectedStopPointStructure withAffectedModes(AffectedModesStructure value) {
setAffectedModes(value);
return this;
}
public AffectedStopPointStructure withPlaceRef(ZoneRefStructure value) {
setPlaceRef(value);
return this;
}
public AffectedStopPointStructure withPlaceName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getPlaceName().add(value);
}
}
return this;
}
public AffectedStopPointStructure withPlaceName(Collection values) {
if (values!= null) {
getPlaceName().addAll(values);
}
return this;
}
public AffectedStopPointStructure withAccessibilityAssessment(AccessibilityAssessmentStructure value) {
setAccessibilityAssessment(value);
return this;
}
public AffectedStopPointStructure withStopCondition(RoutePointTypeEnumeration... values) {
if (values!= null) {
for (RoutePointTypeEnumeration value: values) {
getStopCondition().add(value);
}
}
return this;
}
public AffectedStopPointStructure withStopCondition(Collection values) {
if (values!= null) {
getStopCondition().addAll(values);
}
return this;
}
public AffectedStopPointStructure withConnectionLinks(AffectedStopPointStructure.ConnectionLinks value) {
setConnectionLinks(value);
return this;
}
public AffectedStopPointStructure withLines(AffectedStopPointStructure.Lines value) {
setLines(value);
return this;
}
public AffectedStopPointStructure 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 = {
"affectedConnectionLink"
})
public static class ConnectionLinks {
@XmlElement(name = "AffectedConnectionLink", required = true)
protected List affectedConnectionLink;
/**
* Gets the value of the affectedConnectionLink 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 affectedConnectionLink property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedConnectionLink().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedConnectionLinkStructure }
*
*
*
* @return
* The value of the affectedConnectionLink property.
*/
public List getAffectedConnectionLink() {
if (affectedConnectionLink == null) {
affectedConnectionLink = new ArrayList<>();
}
return this.affectedConnectionLink;
}
public AffectedStopPointStructure.ConnectionLinks withAffectedConnectionLink(AffectedConnectionLinkStructure... values) {
if (values!= null) {
for (AffectedConnectionLinkStructure value: values) {
getAffectedConnectionLink().add(value);
}
}
return this;
}
public AffectedStopPointStructure.ConnectionLinks withAffectedConnectionLink(Collection values) {
if (values!= null) {
getAffectedConnectionLink().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 = {
"affectedLine"
})
public static class Lines {
@XmlElement(name = "AffectedLine", required = true)
protected List affectedLine;
/**
* Gets the value of the affectedLine 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 affectedLine property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedLine().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedLineStructure }
*
*
*
* @return
* The value of the affectedLine property.
*/
public List getAffectedLine() {
if (affectedLine == null) {
affectedLine = new ArrayList<>();
}
return this.affectedLine;
}
public AffectedStopPointStructure.Lines withAffectedLine(AffectedLineStructure... values) {
if (values!= null) {
for (AffectedLineStructure value: values) {
getAffectedLine().add(value);
}
}
return this;
}
public AffectedStopPointStructure.Lines withAffectedLine(Collection values) {
if (values!= null) {
getAffectedLine().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);
}
}
}