
de.vdv.ojp20.siri.AffectedStopPlaceComponentStructure 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;
import uk.org.ifopt.acsb.AccessibilityAssessmentStructure;
import uk.org.ifopt.ifopt.LinkProjectionStructure;
import uk.org.ifopt.ifopt.PointProjectionStructure;
import uk.org.ifopt.ifopt.StopPlaceComponentRefStructure;
import uk.org.ifopt.ifopt.StopPlaceComponentTypeEnumeration;
import uk.org.ifopt.ifopt.ZoneProjectionStructure;
/**
* Java class for AffectedStopPlaceComponentStructure complex type
.
*
* The following schema fragment specifies the expected content contained within this class.
*
* {@code
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
*
* }
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedStopPlaceComponentStructure", propOrder = {
"componentRef",
"componentName",
"componentType",
"pointProjection",
"linkProjection",
"zoneProjection",
"offset",
"accessFeatureType",
"affectedFacilities",
"extensions"
})
public class AffectedStopPlaceComponentStructure
extends AffectedStopPlaceElementStructure
{
@XmlElement(name = "ComponentRef", required = true)
protected StopPlaceComponentRefStructure componentRef;
@XmlElement(name = "ComponentName")
protected List componentName;
@XmlElement(name = "ComponentType")
@XmlSchemaType(name = "string")
protected StopPlaceComponentTypeEnumeration componentType;
@XmlElement(name = "PointProjection", namespace = "http://www.ifopt.org.uk/ifopt")
protected PointProjectionStructure pointProjection;
@XmlElement(name = "LinkProjection", namespace = "http://www.ifopt.org.uk/ifopt")
protected LinkProjectionStructure linkProjection;
@XmlElement(name = "ZoneProjection", namespace = "http://www.ifopt.org.uk/ifopt")
protected ZoneProjectionStructure zoneProjection;
@XmlElement(name = "Offset")
protected OffsetStructure offset;
@XmlElement(name = "AccessFeatureType")
@XmlSchemaType(name = "string")
protected AccessibilityFeatureEnumeration accessFeatureType;
@XmlElement(name = "AffectedFacilities")
protected AffectedStopPlaceComponentStructure.AffectedFacilities affectedFacilities;
@XmlElement(name = "Extensions")
protected ExtensionsStructure extensions;
/**
* Gets the value of the componentRef property.
*
* @return
* possible object is
* {@link StopPlaceComponentRefStructure }
*
*/
public StopPlaceComponentRefStructure getComponentRef() {
return componentRef;
}
/**
* Sets the value of the componentRef property.
*
* @param value
* allowed object is
* {@link StopPlaceComponentRefStructure }
*
*/
public void setComponentRef(StopPlaceComponentRefStructure value) {
this.componentRef = value;
}
/**
* Gets the value of the componentName 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 componentName property.
*
*
* For example, to add a new item, do as follows:
*
*
* getComponentName().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*
* @return
* The value of the componentName property.
*/
public List getComponentName() {
if (componentName == null) {
componentName = new ArrayList<>();
}
return this.componentName;
}
/**
* Gets the value of the componentType property.
*
* @return
* possible object is
* {@link StopPlaceComponentTypeEnumeration }
*
*/
public StopPlaceComponentTypeEnumeration getComponentType() {
return componentType;
}
/**
* Sets the value of the componentType property.
*
* @param value
* allowed object is
* {@link StopPlaceComponentTypeEnumeration }
*
*/
public void setComponentType(StopPlaceComponentTypeEnumeration value) {
this.componentType = value;
}
/**
* Gets the value of the pointProjection property.
*
* @return
* possible object is
* {@link PointProjectionStructure }
*
*/
public PointProjectionStructure getPointProjection() {
return pointProjection;
}
/**
* Sets the value of the pointProjection property.
*
* @param value
* allowed object is
* {@link PointProjectionStructure }
*
*/
public void setPointProjection(PointProjectionStructure value) {
this.pointProjection = value;
}
/**
* Gets the value of the linkProjection property.
*
* @return
* possible object is
* {@link LinkProjectionStructure }
*
*/
public LinkProjectionStructure getLinkProjection() {
return linkProjection;
}
/**
* Sets the value of the linkProjection property.
*
* @param value
* allowed object is
* {@link LinkProjectionStructure }
*
*/
public void setLinkProjection(LinkProjectionStructure value) {
this.linkProjection = value;
}
/**
* Gets the value of the zoneProjection property.
*
* @return
* possible object is
* {@link ZoneProjectionStructure }
*
*/
public ZoneProjectionStructure getZoneProjection() {
return zoneProjection;
}
/**
* Sets the value of the zoneProjection property.
*
* @param value
* allowed object is
* {@link ZoneProjectionStructure }
*
*/
public void setZoneProjection(ZoneProjectionStructure value) {
this.zoneProjection = value;
}
/**
* Gets the value of the offset property.
*
* @return
* possible object is
* {@link OffsetStructure }
*
*/
public OffsetStructure getOffset() {
return offset;
}
/**
* Sets the value of the offset property.
*
* @param value
* allowed object is
* {@link OffsetStructure }
*
*/
public void setOffset(OffsetStructure value) {
this.offset = value;
}
/**
* Gets the value of the accessFeatureType property.
*
* @return
* possible object is
* {@link AccessibilityFeatureEnumeration }
*
*/
public AccessibilityFeatureEnumeration getAccessFeatureType() {
return accessFeatureType;
}
/**
* Sets the value of the accessFeatureType property.
*
* @param value
* allowed object is
* {@link AccessibilityFeatureEnumeration }
*
*/
public void setAccessFeatureType(AccessibilityFeatureEnumeration value) {
this.accessFeatureType = value;
}
/**
* Gets the value of the affectedFacilities property.
*
* @return
* possible object is
* {@link AffectedStopPlaceComponentStructure.AffectedFacilities }
*
*/
public AffectedStopPlaceComponentStructure.AffectedFacilities getAffectedFacilities() {
return affectedFacilities;
}
/**
* Sets the value of the affectedFacilities property.
*
* @param value
* allowed object is
* {@link AffectedStopPlaceComponentStructure.AffectedFacilities }
*
*/
public void setAffectedFacilities(AffectedStopPlaceComponentStructure.AffectedFacilities value) {
this.affectedFacilities = 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 AffectedStopPlaceComponentStructure withComponentRef(StopPlaceComponentRefStructure value) {
setComponentRef(value);
return this;
}
public AffectedStopPlaceComponentStructure withComponentName(NaturalLanguageStringStructure... values) {
if (values!= null) {
for (NaturalLanguageStringStructure value: values) {
getComponentName().add(value);
}
}
return this;
}
public AffectedStopPlaceComponentStructure withComponentName(Collection values) {
if (values!= null) {
getComponentName().addAll(values);
}
return this;
}
public AffectedStopPlaceComponentStructure withComponentType(StopPlaceComponentTypeEnumeration value) {
setComponentType(value);
return this;
}
public AffectedStopPlaceComponentStructure withPointProjection(PointProjectionStructure value) {
setPointProjection(value);
return this;
}
public AffectedStopPlaceComponentStructure withLinkProjection(LinkProjectionStructure value) {
setLinkProjection(value);
return this;
}
public AffectedStopPlaceComponentStructure withZoneProjection(ZoneProjectionStructure value) {
setZoneProjection(value);
return this;
}
public AffectedStopPlaceComponentStructure withOffset(OffsetStructure value) {
setOffset(value);
return this;
}
public AffectedStopPlaceComponentStructure withAccessFeatureType(AccessibilityFeatureEnumeration value) {
setAccessFeatureType(value);
return this;
}
public AffectedStopPlaceComponentStructure withAffectedFacilities(AffectedStopPlaceComponentStructure.AffectedFacilities value) {
setAffectedFacilities(value);
return this;
}
public AffectedStopPlaceComponentStructure withExtensions(ExtensionsStructure value) {
setExtensions(value);
return this;
}
@Override
public AffectedStopPlaceComponentStructure withAccessibilityAssessment(AccessibilityAssessmentStructure value) {
setAccessibilityAssessment(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 = {
"affectedFacility"
})
public static class AffectedFacilities {
@XmlElement(name = "AffectedFacility", required = true)
protected List affectedFacility;
/**
* Gets the value of the affectedFacility 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 affectedFacility property.
*
*
* For example, to add a new item, do as follows:
*
*
* getAffectedFacility().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AffectedFacilityStructure }
*
*
*
* @return
* The value of the affectedFacility property.
*/
public List getAffectedFacility() {
if (affectedFacility == null) {
affectedFacility = new ArrayList<>();
}
return this.affectedFacility;
}
public AffectedStopPlaceComponentStructure.AffectedFacilities withAffectedFacility(AffectedFacilityStructure... values) {
if (values!= null) {
for (AffectedFacilityStructure value: values) {
getAffectedFacility().add(value);
}
}
return this;
}
public AffectedStopPlaceComponentStructure.AffectedFacilities withAffectedFacility(Collection values) {
if (values!= null) {
getAffectedFacility().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);
}
}
}