All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.vdv.ojp20.siri.FacilityStructure Maven / Gradle / Ivy

The newest version!
//
// 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 jakarta.xml.bind.annotation.adapters.CollapsedStringAdapter;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.opentripplanner.ojp.netex.OmitNullsToStringStyle;
import uk.org.ifopt.acsb.AccessibilityAssessmentStructure;
import uk.org.ifopt.acsb.AccessibilityStructure;
import uk.org.ifopt.acsb.SuitabilityStructure;


/**
 * 

Java class for FacilityStructure complex type

. * *

The following schema fragment specifies the expected content contained within this class.

* *
{@code
 * 
 *   
 *     
 *       
 *         
 *         
 *         
 *         
 *           
 *             
 *               
 *                 
 *                   
 *                 
 *               
 *             
 *           
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *         
 *       
 *     
 *   
 * 
 * }
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FacilityStructure", propOrder = { "facilityCode", "description", "facilityClass", "features", "ownerRef", "ownerName", "validityCondition", "facilityLocation", "limitations", "suitabilities", "accessibilityAssessment", "extensions" }) public class FacilityStructure { @XmlElement(name = "FacilityCode") @XmlJavaTypeAdapter(CollapsedStringAdapter.class) @XmlSchemaType(name = "NMTOKEN") protected String facilityCode; @XmlElement(name = "Description") protected List description; @XmlElement(name = "FacilityClass") @XmlSchemaType(name = "NMTOKEN") protected List facilityClass; @XmlElement(name = "Features") protected FacilityStructure.Features features; @XmlElement(name = "OwnerRef") protected OrganisationRefStructure ownerRef; @XmlElement(name = "OwnerName") protected NaturalLanguageStringStructure ownerName; @XmlElement(name = "ValidityCondition") protected MonitoringValidityConditionStructure validityCondition; @XmlElement(name = "FacilityLocation") protected FacilityLocationStructure facilityLocation; @XmlElement(name = "Limitations") protected FacilityStructure.Limitations limitations; @XmlElement(name = "Suitabilities") protected FacilityStructure.Suitabilities suitabilities; @XmlElement(name = "AccessibilityAssessment") protected AccessibilityAssessmentStructure accessibilityAssessment; @XmlElement(name = "Extensions") protected ExtensionsStructure extensions; /** * Gets the value of the facilityCode property. * * @return * possible object is * {@link String } * */ public String getFacilityCode() { return facilityCode; } /** * Sets the value of the facilityCode property. * * @param value * allowed object is * {@link String } * */ public void setFacilityCode(String value) { this.facilityCode = value; } /** * Gets the value of the description 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 description property.

* *

* For example, to add a new item, do as follows: *

*
     * getDescription().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link NaturalLanguageStringStructure } *

* * * @return * The value of the description property. */ public List getDescription() { if (description == null) { description = new ArrayList<>(); } return this.description; } /** * Gets the value of the facilityClass 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 facilityClass property.

* *

* For example, to add a new item, do as follows: *

*
     * getFacilityClass().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FacilityCategoryEnumeration } *

* * * @return * The value of the facilityClass property. */ public List getFacilityClass() { if (facilityClass == null) { facilityClass = new ArrayList<>(); } return this.facilityClass; } /** * Gets the value of the features property. * * @return * possible object is * {@link FacilityStructure.Features } * */ public FacilityStructure.Features getFeatures() { return features; } /** * Sets the value of the features property. * * @param value * allowed object is * {@link FacilityStructure.Features } * */ public void setFeatures(FacilityStructure.Features value) { this.features = value; } /** * Gets the value of the ownerRef property. * * @return * possible object is * {@link OrganisationRefStructure } * */ public OrganisationRefStructure getOwnerRef() { return ownerRef; } /** * Sets the value of the ownerRef property. * * @param value * allowed object is * {@link OrganisationRefStructure } * */ public void setOwnerRef(OrganisationRefStructure value) { this.ownerRef = value; } /** * Gets the value of the ownerName property. * * @return * possible object is * {@link NaturalLanguageStringStructure } * */ public NaturalLanguageStringStructure getOwnerName() { return ownerName; } /** * Sets the value of the ownerName property. * * @param value * allowed object is * {@link NaturalLanguageStringStructure } * */ public void setOwnerName(NaturalLanguageStringStructure value) { this.ownerName = value; } /** * Gets the value of the validityCondition property. * * @return * possible object is * {@link MonitoringValidityConditionStructure } * */ public MonitoringValidityConditionStructure getValidityCondition() { return validityCondition; } /** * Sets the value of the validityCondition property. * * @param value * allowed object is * {@link MonitoringValidityConditionStructure } * */ public void setValidityCondition(MonitoringValidityConditionStructure value) { this.validityCondition = value; } /** * Gets the value of the facilityLocation property. * * @return * possible object is * {@link FacilityLocationStructure } * */ public FacilityLocationStructure getFacilityLocation() { return facilityLocation; } /** * Sets the value of the facilityLocation property. * * @param value * allowed object is * {@link FacilityLocationStructure } * */ public void setFacilityLocation(FacilityLocationStructure value) { this.facilityLocation = value; } /** * Gets the value of the limitations property. * * @return * possible object is * {@link FacilityStructure.Limitations } * */ public FacilityStructure.Limitations getLimitations() { return limitations; } /** * Sets the value of the limitations property. * * @param value * allowed object is * {@link FacilityStructure.Limitations } * */ public void setLimitations(FacilityStructure.Limitations value) { this.limitations = value; } /** * Gets the value of the suitabilities property. * * @return * possible object is * {@link FacilityStructure.Suitabilities } * */ public FacilityStructure.Suitabilities getSuitabilities() { return suitabilities; } /** * Sets the value of the suitabilities property. * * @param value * allowed object is * {@link FacilityStructure.Suitabilities } * */ public void setSuitabilities(FacilityStructure.Suitabilities value) { this.suitabilities = value; } /** * 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 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 FacilityStructure withFacilityCode(String value) { setFacilityCode(value); return this; } public FacilityStructure withDescription(NaturalLanguageStringStructure... values) { if (values!= null) { for (NaturalLanguageStringStructure value: values) { getDescription().add(value); } } return this; } public FacilityStructure withDescription(Collection values) { if (values!= null) { getDescription().addAll(values); } return this; } public FacilityStructure withFacilityClass(FacilityCategoryEnumeration... values) { if (values!= null) { for (FacilityCategoryEnumeration value: values) { getFacilityClass().add(value); } } return this; } public FacilityStructure withFacilityClass(Collection values) { if (values!= null) { getFacilityClass().addAll(values); } return this; } public FacilityStructure withFeatures(FacilityStructure.Features value) { setFeatures(value); return this; } public FacilityStructure withOwnerRef(OrganisationRefStructure value) { setOwnerRef(value); return this; } public FacilityStructure withOwnerName(NaturalLanguageStringStructure value) { setOwnerName(value); return this; } public FacilityStructure withValidityCondition(MonitoringValidityConditionStructure value) { setValidityCondition(value); return this; } public FacilityStructure withFacilityLocation(FacilityLocationStructure value) { setFacilityLocation(value); return this; } public FacilityStructure withLimitations(FacilityStructure.Limitations value) { setLimitations(value); return this; } public FacilityStructure withSuitabilities(FacilityStructure.Suitabilities value) { setSuitabilities(value); return this; } public FacilityStructure withAccessibilityAssessment(AccessibilityAssessmentStructure value) { setAccessibilityAssessment(value); return this; } public FacilityStructure 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 = { "feature" }) public static class Features { @XmlElement(name = "Feature", required = true) protected List feature; /** * Gets the value of the feature 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 feature property.

* *

* For example, to add a new item, do as follows: *

*
         * getFeature().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AllFacilitiesFeatureStructure } *

* * * @return * The value of the feature property. */ public List getFeature() { if (feature == null) { feature = new ArrayList<>(); } return this.feature; } public FacilityStructure.Features withFeature(AllFacilitiesFeatureStructure... values) { if (values!= null) { for (AllFacilitiesFeatureStructure value: values) { getFeature().add(value); } } return this; } public FacilityStructure.Features withFeature(Collection values) { if (values!= null) { getFeature().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 = { "wheelchairAccess", "stepFreeAccess", "escalatorFreeAccess", "liftFreeAccess", "audibleSignalsAvailable", "visualSignsAvailable" }) public static class Limitations { @XmlElement(name = "WheelchairAccess", namespace = "http://www.ifopt.org.uk/acsb", required = true, defaultValue = "false") protected AccessibilityStructure wheelchairAccess; @XmlElement(name = "StepFreeAccess", namespace = "http://www.ifopt.org.uk/acsb", defaultValue = "unknown") protected AccessibilityStructure stepFreeAccess; @XmlElement(name = "EscalatorFreeAccess", namespace = "http://www.ifopt.org.uk/acsb", defaultValue = "unknown") protected AccessibilityStructure escalatorFreeAccess; @XmlElement(name = "LiftFreeAccess", namespace = "http://www.ifopt.org.uk/acsb", defaultValue = "unknown") protected AccessibilityStructure liftFreeAccess; @XmlElement(name = "AudibleSignalsAvailable", namespace = "http://www.ifopt.org.uk/acsb", defaultValue = "false") protected AccessibilityStructure audibleSignalsAvailable; @XmlElement(name = "VisualSignsAvailable", namespace = "http://www.ifopt.org.uk/acsb", defaultValue = "unknown") protected AccessibilityStructure visualSignsAvailable; /** * Gets the value of the wheelchairAccess property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getWheelchairAccess() { return wheelchairAccess; } /** * Sets the value of the wheelchairAccess property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setWheelchairAccess(AccessibilityStructure value) { this.wheelchairAccess = value; } /** * Gets the value of the stepFreeAccess property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getStepFreeAccess() { return stepFreeAccess; } /** * Sets the value of the stepFreeAccess property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setStepFreeAccess(AccessibilityStructure value) { this.stepFreeAccess = value; } /** * Gets the value of the escalatorFreeAccess property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getEscalatorFreeAccess() { return escalatorFreeAccess; } /** * Sets the value of the escalatorFreeAccess property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setEscalatorFreeAccess(AccessibilityStructure value) { this.escalatorFreeAccess = value; } /** * Gets the value of the liftFreeAccess property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getLiftFreeAccess() { return liftFreeAccess; } /** * Sets the value of the liftFreeAccess property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setLiftFreeAccess(AccessibilityStructure value) { this.liftFreeAccess = value; } /** * Gets the value of the audibleSignalsAvailable property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getAudibleSignalsAvailable() { return audibleSignalsAvailable; } /** * Sets the value of the audibleSignalsAvailable property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setAudibleSignalsAvailable(AccessibilityStructure value) { this.audibleSignalsAvailable = value; } /** * Gets the value of the visualSignsAvailable property. * * @return * possible object is * {@link AccessibilityStructure } * */ public AccessibilityStructure getVisualSignsAvailable() { return visualSignsAvailable; } /** * Sets the value of the visualSignsAvailable property. * * @param value * allowed object is * {@link AccessibilityStructure } * */ public void setVisualSignsAvailable(AccessibilityStructure value) { this.visualSignsAvailable = value; } public FacilityStructure.Limitations withWheelchairAccess(AccessibilityStructure value) { setWheelchairAccess(value); return this; } public FacilityStructure.Limitations withStepFreeAccess(AccessibilityStructure value) { setStepFreeAccess(value); return this; } public FacilityStructure.Limitations withEscalatorFreeAccess(AccessibilityStructure value) { setEscalatorFreeAccess(value); return this; } public FacilityStructure.Limitations withLiftFreeAccess(AccessibilityStructure value) { setLiftFreeAccess(value); return this; } public FacilityStructure.Limitations withAudibleSignalsAvailable(AccessibilityStructure value) { setAudibleSignalsAvailable(value); return this; } public FacilityStructure.Limitations withVisualSignsAvailable(AccessibilityStructure value) { setVisualSignsAvailable(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 = { "suitability" }) public static class Suitabilities { @XmlElement(name = "Suitability", required = true) protected List suitability; /** * Gets the value of the suitability 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 suitability property.

* *

* For example, to add a new item, do as follows: *

*
         * getSuitability().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SuitabilityStructure } *

* * * @return * The value of the suitability property. */ public List getSuitability() { if (suitability == null) { suitability = new ArrayList<>(); } return this.suitability; } public FacilityStructure.Suitabilities withSuitability(SuitabilityStructure... values) { if (values!= null) { for (SuitabilityStructure value: values) { getSuitability().add(value); } } return this; } public FacilityStructure.Suitabilities withSuitability(Collection values) { if (values!= null) { getSuitability().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); } } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy