
de.vdv.ojp20.siri.AffectedConnectionLinkStructure 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.XmlType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
/**
* Java class for AffectedConnectionLinkStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedConnectionLinkStructure", propOrder = {
"connectionLinkRef",
"connectionName",
"allLines",
"lineRef",
"publishedLineName",
"connectingStopPointRef",
"connectingStopPointName",
"connectingZoneRef",
"connectionDirection",
"affectedPathLink",
"extensions"
})
public class AffectedConnectionLinkStructure {
@XmlElement(name = "ConnectionLinkRef")
protected List connectionLinkRef;
@XmlElement(name = "ConnectionName")
protected NaturalLanguageStringStructure connectionName;
@XmlElement(name = "AllLines")
protected String allLines;
@XmlElement(name = "LineRef")
protected LineRefStructure lineRef;
@XmlElement(name = "PublishedLineName")
protected List publishedLineName;
@XmlElement(name = "ConnectingStopPointRef")
protected StopPointRefStructure connectingStopPointRef;
@XmlElement(name = "ConnectingStopPointName")
protected List connectingStopPointName;
@XmlElement(name = "ConnectingZoneRef")
protected ZoneRefStructure connectingZoneRef;
@XmlElement(name = "ConnectionDirection", defaultValue = "both")
@XmlSchemaType(name = "NMTOKEN")
protected ConnectionDirectionEnumeration connectionDirection;
@XmlElement(name = "AffectedPathLink")
protected List affectedPathLink;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the connectionLinkRef 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 connectionLinkRef property.
*
*
* For example, to add a new item, do as follows:
*
*
* getConnectionLinkRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ConnectionLinkRefStructure }
*
*
*
* @return
* The value of the connectionLinkRef property.
*/
public List getConnectionLinkRef() {
if (connectionLinkRef == null) {
connectionLinkRef = new ArrayList<>();
}
return this.connectionLinkRef;
}
/**
* Gets the value of the connectionName property.
*
* @return
* possible object is
* {@link NaturalLanguageStringStructure }
*
*/
public NaturalLanguageStringStructure getConnectionName() {
return connectionName;
}
/**
* Sets the value of the connectionName property.
*
* @param value
* allowed object is
* {@link NaturalLanguageStringStructure }
*
*/
public void setConnectionName(NaturalLanguageStringStructure value) {
this.connectionName = value;
}
/**
* Gets the value of the allLines property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAllLines() {
return allLines;
}
/**
* Sets the value of the allLines property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setAllLines(String value) {
this.allLines = value;
}
/**
* 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 connectingStopPointRef property.
*
* @return
* possible object is
* {@link StopPointRefStructure }
*
*/
public StopPointRefStructure getConnectingStopPointRef() {
return connectingStopPointRef;
}
/**
* Sets the value of the connectingStopPointRef property.
*
* @param value
* allowed object is
* {@link StopPointRefStructure }
*
*/
public void setConnectingStopPointRef(StopPointRefStructure value) {
this.connectingStopPointRef = value;
}
/**
* Gets the value of the connectingStopPointName 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 connectingStopPointName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getConnectingStopPointName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the connectingStopPointName property.
*/
public List getConnectingStopPointName() {
if (connectingStopPointName == null) {
connectingStopPointName = new ArrayList<>();
}
return this.connectingStopPointName;
}
/**
* Gets the value of the connectingZoneRef property.
*
* @return
* possible object is
* {@link ZoneRefStructure }
*
*/
public ZoneRefStructure getConnectingZoneRef() {
return connectingZoneRef;
}
/**
* Sets the value of the connectingZoneRef property.
*
* @param value
* allowed object is
* {@link ZoneRefStructure }
*
*/
public void setConnectingZoneRef(ZoneRefStructure value) {
this.connectingZoneRef = value;
}
/**
* Gets the value of the connectionDirection property.
*
* @return
* possible object is
* {@link ConnectionDirectionEnumeration }
*
*/
public ConnectionDirectionEnumeration getConnectionDirection() {
return connectionDirection;
}
/**
* Sets the value of the connectionDirection property.
*
* @param value
* allowed object is
* {@link ConnectionDirectionEnumeration }
*
*/
public void setConnectionDirection(ConnectionDirectionEnumeration value) {
this.connectionDirection = value;
}
/**
* Gets the value of the affectedPathLink 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 affectedPathLink property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedPathLink().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedPathLinkStructure }
*
*
*
* @return
* The value of the affectedPathLink property.
*/
public List getAffectedPathLink() {
if (affectedPathLink == null) {
affectedPathLink = new ArrayList<>();
}
return this.affectedPathLink;
}
/**
* 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 AffectedConnectionLinkStructure withConnectionLinkRef(ConnectionLinkRefStructure... values) {
if (values!= null) {
for (ConnectionLinkRefStructure value: values) {
getConnectionLinkRef().add(value);
}
}
return this;
}
public AffectedConnectionLinkStructure withConnectionLinkRef(Collection values) {
if (values!= null) {
getConnectionLinkRef().addAll(values);
}
return this;
}
public AffectedConnectionLinkStructure withConnectionName(NaturalLanguageStringStructure value) {
setConnectionName(value);
return this;
}
public AffectedConnectionLinkStructure withAllLines(String value) {
setAllLines(value);
return this;
}
public AffectedConnectionLinkStructure withLineRef(LineRefStructure value) {
setLineRef(value);
return this;
}
public AffectedConnectionLinkStructure withPublishedLineName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getPublishedLineName().add(value);
}
}
return this;
}
public AffectedConnectionLinkStructure withPublishedLineName(Collection values) {
if (values!= null) {
getPublishedLineName().addAll(values);
}
return this;
}
public AffectedConnectionLinkStructure withConnectingStopPointRef(StopPointRefStructure value) {
setConnectingStopPointRef(value);
return this;
}
public AffectedConnectionLinkStructure withConnectingStopPointName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getConnectingStopPointName().add(value);
}
}
return this;
}
public AffectedConnectionLinkStructure withConnectingStopPointName(Collection values) {
if (values!= null) {
getConnectingStopPointName().addAll(values);
}
return this;
}
public AffectedConnectionLinkStructure withConnectingZoneRef(ZoneRefStructure value) {
setConnectingZoneRef(value);
return this;
}
public AffectedConnectionLinkStructure withConnectionDirection(ConnectionDirectionEnumeration value) {
setConnectionDirection(value);
return this;
}
public AffectedConnectionLinkStructure withAffectedPathLink(AffectedPathLinkStructure... values) {
if (values!= null) {
for (AffectedPathLinkStructure value: values) {
getAffectedPathLink().add(value);
}
}
return this;
}
public AffectedConnectionLinkStructure withAffectedPathLink(Collection values) {
if (values!= null) {
getAffectedPathLink().addAll(values);
}
return this;
}
public AffectedConnectionLinkStructure 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);
}
}