![JAR search and dependency download from the Maven repository](/logo.png)
uk.org.siri.siri20.AffectedPlaceStructure Maven / Gradle / Ivy
Show all versions of siri-java-model Show documentation
//
// This file was generated by the Eclipse Implementation of JAXB, v3.0.2
// See https://eclipse-ee4j.github.io/jaxb-ri
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2025.01.07 at 02:19:39 PM UTC
//
package uk.org.siri.siri20;
import java.io.Serializable;
import java.util.ArrayList;
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 jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import uk.org.acbs.siri20.AccessibilityAssessmentStructure;
/**
* Type for annotated references to a TOPOGRAPHIC PLACE.
*
* Java class for AffectedPlaceStructure complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="AffectedPlaceStructure">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="PlaceRef" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
* <element name="PrivateCode" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
* <element name="PlaceName" type="{http://www.siri.org.uk/siri}NaturalLanguageStringStructure" maxOccurs="unbounded" minOccurs="0"/>
* <element name="Location" type="{http://www.siri.org.uk/siri}LocationStructure" minOccurs="0"/>
* <element name="PlaceCategory" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" minOccurs="0"/>
* <element name="EquipmentRef" type="{http://www.w3.org/2001/XMLSchema}NMTOKEN" maxOccurs="unbounded" minOccurs="0"/>
* <element name="AccessibilityAssessment" type="{http://www.ifopt.org.uk/acsb}AccessibilityAssessmentStructure" minOccurs="0"/>
* <element ref="{http://www.siri.org.uk/siri}Extensions" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AffectedPlaceStructure", propOrder = {
"placeRef",
"privateCode",
"placeNames",
"location",
"placeCategory",
"equipmentReves",
"accessibilityAssessment",
"extensions"
})
public class AffectedPlaceStructure
implements Serializable
{
@XmlElement(name = "PlaceRef")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String placeRef;
@XmlElement(name = "PrivateCode")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String privateCode;
@XmlElement(name = "PlaceName")
protected List placeNames;
@XmlElement(name = "Location")
protected LocationStructure location;
@XmlElement(name = "PlaceCategory")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected String placeCategory;
@XmlElement(name = "EquipmentRef")
@XmlJavaTypeAdapter(CollapsedStringAdapter.class)
@XmlSchemaType(name = "NMTOKEN")
protected List equipmentReves;
@XmlElement(name = "AccessibilityAssessment")
protected AccessibilityAssessmentStructure accessibilityAssessment;
@XmlElement(name = "Extensions")
protected Extensions extensions;
/**
* Gets the value of the placeRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlaceRef() {
return placeRef;
}
/**
* Sets the value of the placeRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPlaceRef(String value) {
this.placeRef = value;
}
/**
* Gets the value of the privateCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrivateCode() {
return privateCode;
}
/**
* Sets the value of the privateCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPrivateCode(String value) {
this.privateCode = value;
}
/**
* Gets the value of the placeNames 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 Jakarta XML Binding object.
* This is why there is not a set
method for the placeNames property.
*
*
* For example, to add a new item, do as follows:
*
* getPlaceNames().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NaturalLanguageStringStructure }
*
*
*/
public List getPlaceNames() {
if (placeNames == null) {
placeNames = new ArrayList();
}
return this.placeNames;
}
/**
* 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 placeCategory property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlaceCategory() {
return placeCategory;
}
/**
* Sets the value of the placeCategory property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setPlaceCategory(String value) {
this.placeCategory = value;
}
/**
* Gets the value of the equipmentReves 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 Jakarta XML Binding object.
* This is why there is not a set
method for the equipmentReves property.
*
*
* For example, to add a new item, do as follows:
*
* getEquipmentReves().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getEquipmentReves() {
if (equipmentReves == null) {
equipmentReves = new ArrayList();
}
return this.equipmentReves;
}
/**
* 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 extensions property.
*
* @return
* possible object is
* {@link Extensions }
*
*/
public Extensions getExtensions() {
return extensions;
}
/**
* Sets the value of the extensions property.
*
* @param value
* allowed object is
* {@link Extensions }
*
*/
public void setExtensions(Extensions value) {
this.extensions = value;
}
}