
de.vdv.ojp20.siri.PlannedStopAssignmentStructure 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 PlannedStopAssignmentStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PlannedStopAssignmentStructure", propOrder = {
"aimedQuayRef",
"aimedQuayName",
"quayType",
"aimedBoardingPositionRef",
"aimedBoardingPositionName",
"aimedFlexibleArea",
"aimedFlexibleAreaRef",
"aimedLocationName"
})
public class PlannedStopAssignmentStructure {
@XmlElement(name = "AimedQuayRef")
protected QuayRefStructure aimedQuayRef;
@XmlElement(name = "AimedQuayName")
protected List aimedQuayName;
@XmlElement(name = "QuayType")
@XmlSchemaType(name = "NMTOKEN")
protected TypeOfNestedQuayEnumeration quayType;
@XmlElement(name = "AimedBoardingPositionRef")
protected BoardingPositionRefStructure aimedBoardingPositionRef;
@XmlElement(name = "AimedBoardingPositionName")
protected List aimedBoardingPositionName;
@XmlElement(name = "AimedFlexibleArea")
protected FlexibleAreaStructure aimedFlexibleArea;
@XmlElement(name = "AimedFlexibleAreaRef")
protected FlexibleAreaRefStructure aimedFlexibleAreaRef;
@XmlElement(name = "AimedLocationName")
protected List aimedLocationName;
/**
* Gets the value of the aimedQuayRef property.
*
* @return
* possible object is
* {@link QuayRefStructure }
*
*/
public QuayRefStructure getAimedQuayRef() {
return aimedQuayRef;
}
/**
* Sets the value of the aimedQuayRef property.
*
* @param value
* allowed object is
* {@link QuayRefStructure }
*
*/
public void setAimedQuayRef(QuayRefStructure value) {
this.aimedQuayRef = value;
}
/**
* Gets the value of the aimedQuayName 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 aimedQuayName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAimedQuayName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the aimedQuayName property.
*/
public List getAimedQuayName() {
if (aimedQuayName == null) {
aimedQuayName = new ArrayList<>();
}
return this.aimedQuayName;
}
/**
* Gets the value of the quayType property.
*
* @return
* possible object is
* {@link TypeOfNestedQuayEnumeration }
*
*/
public TypeOfNestedQuayEnumeration getQuayType() {
return quayType;
}
/**
* Sets the value of the quayType property.
*
* @param value
* allowed object is
* {@link TypeOfNestedQuayEnumeration }
*
*/
public void setQuayType(TypeOfNestedQuayEnumeration value) {
this.quayType = value;
}
/**
* Gets the value of the aimedBoardingPositionRef property.
*
* @return
* possible object is
* {@link BoardingPositionRefStructure }
*
*/
public BoardingPositionRefStructure getAimedBoardingPositionRef() {
return aimedBoardingPositionRef;
}
/**
* Sets the value of the aimedBoardingPositionRef property.
*
* @param value
* allowed object is
* {@link BoardingPositionRefStructure }
*
*/
public void setAimedBoardingPositionRef(BoardingPositionRefStructure value) {
this.aimedBoardingPositionRef = value;
}
/**
* Gets the value of the aimedBoardingPositionName 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 aimedBoardingPositionName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAimedBoardingPositionName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the aimedBoardingPositionName property.
*/
public List getAimedBoardingPositionName() {
if (aimedBoardingPositionName == null) {
aimedBoardingPositionName = new ArrayList<>();
}
return this.aimedBoardingPositionName;
}
/**
* Gets the value of the aimedFlexibleArea property.
*
* @return
* possible object is
* {@link FlexibleAreaStructure }
*
*/
public FlexibleAreaStructure getAimedFlexibleArea() {
return aimedFlexibleArea;
}
/**
* Sets the value of the aimedFlexibleArea property.
*
* @param value
* allowed object is
* {@link FlexibleAreaStructure }
*
*/
public void setAimedFlexibleArea(FlexibleAreaStructure value) {
this.aimedFlexibleArea = value;
}
/**
* Gets the value of the aimedFlexibleAreaRef property.
*
* @return
* possible object is
* {@link FlexibleAreaRefStructure }
*
*/
public FlexibleAreaRefStructure getAimedFlexibleAreaRef() {
return aimedFlexibleAreaRef;
}
/**
* Sets the value of the aimedFlexibleAreaRef property.
*
* @param value
* allowed object is
* {@link FlexibleAreaRefStructure }
*
*/
public void setAimedFlexibleAreaRef(FlexibleAreaRefStructure value) {
this.aimedFlexibleAreaRef = value;
}
/**
* Gets the value of the aimedLocationName 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 aimedLocationName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAimedLocationName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the aimedLocationName property.
*/
public List getAimedLocationName() {
if (aimedLocationName == null) {
aimedLocationName = new ArrayList<>();
}
return this.aimedLocationName;
}
public PlannedStopAssignmentStructure withAimedQuayRef(QuayRefStructure value) {
setAimedQuayRef(value);
return this;
}
public PlannedStopAssignmentStructure withAimedQuayName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getAimedQuayName().add(value);
}
}
return this;
}
public PlannedStopAssignmentStructure withAimedQuayName(Collection values) {
if (values!= null) {
getAimedQuayName().addAll(values);
}
return this;
}
public PlannedStopAssignmentStructure withQuayType(TypeOfNestedQuayEnumeration value) {
setQuayType(value);
return this;
}
public PlannedStopAssignmentStructure withAimedBoardingPositionRef(BoardingPositionRefStructure value) {
setAimedBoardingPositionRef(value);
return this;
}
public PlannedStopAssignmentStructure withAimedBoardingPositionName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getAimedBoardingPositionName().add(value);
}
}
return this;
}
public PlannedStopAssignmentStructure withAimedBoardingPositionName(Collection values) {
if (values!= null) {
getAimedBoardingPositionName().addAll(values);
}
return this;
}
public PlannedStopAssignmentStructure withAimedFlexibleArea(FlexibleAreaStructure value) {
setAimedFlexibleArea(value);
return this;
}
public PlannedStopAssignmentStructure withAimedFlexibleAreaRef(FlexibleAreaRefStructure value) {
setAimedFlexibleAreaRef(value);
return this;
}
public PlannedStopAssignmentStructure withAimedLocationName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getAimedLocationName().add(value);
}
}
return this;
}
public PlannedStopAssignmentStructure withAimedLocationName(Collection values) {
if (values!= null) {
getAimedLocationName().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);
}
}