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

org.rutebanken.netex.model.PathLink_VersionStructure Maven / Gradle / Ivy

There is a newer version: 2.0.15
Show newest version
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.11 
// See http://java.sun.com/xml/jaxb 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2017.09.21 at 10:53:23 AM CEST 
//


package org.rutebanken.netex.model;

import java.math.BigDecimal;
import java.math.BigInteger;
import java.time.OffsetDateTime;
import java.util.ArrayList;
import java.util.Collection;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlList;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import net.opengis.gml._3.LineStringType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for PathLink_VersionStructure complex type. * *

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

 * <complexType name="PathLink_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}Link_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}PathLinkGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PathLink_VersionStructure", propOrder = { "from", "to", "description", "accessibilityAssessmentRef", "accessibilityAssessment", "accessModes", "publicUse", "covered", "gated", "lighting", "allAreasWheelchairAccessible", "personCapacity", "facilities", "towards", "back", "numberOfSteps", "allowedUse", "transition", "accessFeatureType", "passageType", "maximumFlowPerMinute", "transferDuration" }) @XmlSeeAlso({ PathLink.class, SitePathLink_VersionStructure.class }) public abstract class PathLink_VersionStructure extends Link_VersionStructure { @XmlElement(name = "From", required = true) protected PathLinkEndStructure from; @XmlElement(name = "To", required = true) protected PathLinkEndStructure to; @XmlElement(name = "Description") protected MultilingualString description; @XmlElement(name = "AccessibilityAssessmentRef") protected AccessibilityAssessmentRefStructure accessibilityAssessmentRef; @XmlElement(name = "AccessibilityAssessment") protected AccessibilityAssessment accessibilityAssessment; @XmlList @XmlElement(name = "AccessModes") protected List accessModes; @XmlElement(name = "PublicUse", defaultValue = "all") @XmlSchemaType(name = "string") protected PublicUseEnumeration publicUse; @XmlElement(name = "Covered", defaultValue = "indoors") @XmlSchemaType(name = "string") protected CoveredEnumeration covered; @XmlElement(name = "Gated") @XmlSchemaType(name = "string") protected GatedEnumeration gated; @XmlElement(name = "Lighting", defaultValue = "wellLit") @XmlSchemaType(name = "normalizedString") protected LightingEnumeration lighting; @XmlElement(name = "AllAreasWheelchairAccessible", defaultValue = "true") protected Boolean allAreasWheelchairAccessible; @XmlElement(name = "PersonCapacity") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger personCapacity; protected SiteFacilitySets_RelStructure facilities; @XmlElement(name = "Towards") protected MultilingualString towards; @XmlElement(name = "Back") protected MultilingualString back; @XmlElement(name = "NumberOfSteps") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger numberOfSteps; @XmlElement(name = "AllowedUse") @XmlSchemaType(name = "NMTOKEN") protected PathDirectionEnumeration allowedUse; @XmlElement(name = "Transition") @XmlSchemaType(name = "NMTOKEN") protected TransitionEnumeration transition; @XmlElement(name = "AccessFeatureType") @XmlSchemaType(name = "string") protected AccessFeatureEnumeration accessFeatureType; @XmlElement(name = "PassageType") @XmlSchemaType(name = "string") protected PassageTypeEnumeration passageType; @XmlElement(name = "MaximumFlowPerMinute") @XmlSchemaType(name = "nonNegativeInteger") protected BigInteger maximumFlowPerMinute; @XmlElement(name = "TransferDuration") protected TransferDurationStructure transferDuration; /** * Gets the value of the from property. * * @return * possible object is * {@link PathLinkEndStructure } * */ public PathLinkEndStructure getFrom() { return from; } /** * Sets the value of the from property. * * @param value * allowed object is * {@link PathLinkEndStructure } * */ public void setFrom(PathLinkEndStructure value) { this.from = value; } /** * Gets the value of the to property. * * @return * possible object is * {@link PathLinkEndStructure } * */ public PathLinkEndStructure getTo() { return to; } /** * Sets the value of the to property. * * @param value * allowed object is * {@link PathLinkEndStructure } * */ public void setTo(PathLinkEndStructure value) { this.to = value; } /** * Gets the value of the description property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getDescription() { return description; } /** * Sets the value of the description property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setDescription(MultilingualString value) { this.description = value; } /** * Gets the value of the accessibilityAssessmentRef property. * * @return * possible object is * {@link AccessibilityAssessmentRefStructure } * */ public AccessibilityAssessmentRefStructure getAccessibilityAssessmentRef() { return accessibilityAssessmentRef; } /** * Sets the value of the accessibilityAssessmentRef property. * * @param value * allowed object is * {@link AccessibilityAssessmentRefStructure } * */ public void setAccessibilityAssessmentRef(AccessibilityAssessmentRefStructure value) { this.accessibilityAssessmentRef = value; } /** * Gets the value of the accessibilityAssessment property. * * @return * possible object is * {@link AccessibilityAssessment } * */ public AccessibilityAssessment getAccessibilityAssessment() { return accessibilityAssessment; } /** * Sets the value of the accessibilityAssessment property. * * @param value * allowed object is * {@link AccessibilityAssessment } * */ public void setAccessibilityAssessment(AccessibilityAssessment value) { this.accessibilityAssessment = value; } /** * Gets the value of the accessModes 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 accessModes property. * *

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

     *    getAccessModes().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link AccessModeEnumeration } * * */ public List getAccessModes() { if (accessModes == null) { accessModes = new ArrayList(); } return this.accessModes; } /** * Gets the value of the publicUse property. * * @return * possible object is * {@link PublicUseEnumeration } * */ public PublicUseEnumeration getPublicUse() { return publicUse; } /** * Sets the value of the publicUse property. * * @param value * allowed object is * {@link PublicUseEnumeration } * */ public void setPublicUse(PublicUseEnumeration value) { this.publicUse = value; } /** * Gets the value of the covered property. * * @return * possible object is * {@link CoveredEnumeration } * */ public CoveredEnumeration getCovered() { return covered; } /** * Sets the value of the covered property. * * @param value * allowed object is * {@link CoveredEnumeration } * */ public void setCovered(CoveredEnumeration value) { this.covered = value; } /** * Gets the value of the gated property. * * @return * possible object is * {@link GatedEnumeration } * */ public GatedEnumeration getGated() { return gated; } /** * Sets the value of the gated property. * * @param value * allowed object is * {@link GatedEnumeration } * */ public void setGated(GatedEnumeration value) { this.gated = value; } /** * Gets the value of the lighting property. * * @return * possible object is * {@link LightingEnumeration } * */ public LightingEnumeration getLighting() { return lighting; } /** * Sets the value of the lighting property. * * @param value * allowed object is * {@link LightingEnumeration } * */ public void setLighting(LightingEnumeration value) { this.lighting = value; } /** * Gets the value of the allAreasWheelchairAccessible property. * * @return * possible object is * {@link Boolean } * */ public Boolean isAllAreasWheelchairAccessible() { return allAreasWheelchairAccessible; } /** * Sets the value of the allAreasWheelchairAccessible property. * * @param value * allowed object is * {@link Boolean } * */ public void setAllAreasWheelchairAccessible(Boolean value) { this.allAreasWheelchairAccessible = value; } /** * Gets the value of the personCapacity property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getPersonCapacity() { return personCapacity; } /** * Sets the value of the personCapacity property. * * @param value * allowed object is * {@link BigInteger } * */ public void setPersonCapacity(BigInteger value) { this.personCapacity = value; } /** * Gets the value of the facilities property. * * @return * possible object is * {@link SiteFacilitySets_RelStructure } * */ public SiteFacilitySets_RelStructure getFacilities() { return facilities; } /** * Sets the value of the facilities property. * * @param value * allowed object is * {@link SiteFacilitySets_RelStructure } * */ public void setFacilities(SiteFacilitySets_RelStructure value) { this.facilities = value; } /** * Gets the value of the towards property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getTowards() { return towards; } /** * Sets the value of the towards property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setTowards(MultilingualString value) { this.towards = value; } /** * Gets the value of the back property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getBack() { return back; } /** * Sets the value of the back property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setBack(MultilingualString value) { this.back = value; } /** * Gets the value of the numberOfSteps property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getNumberOfSteps() { return numberOfSteps; } /** * Sets the value of the numberOfSteps property. * * @param value * allowed object is * {@link BigInteger } * */ public void setNumberOfSteps(BigInteger value) { this.numberOfSteps = value; } /** * Gets the value of the allowedUse property. * * @return * possible object is * {@link PathDirectionEnumeration } * */ public PathDirectionEnumeration getAllowedUse() { return allowedUse; } /** * Sets the value of the allowedUse property. * * @param value * allowed object is * {@link PathDirectionEnumeration } * */ public void setAllowedUse(PathDirectionEnumeration value) { this.allowedUse = value; } /** * Gets the value of the transition property. * * @return * possible object is * {@link TransitionEnumeration } * */ public TransitionEnumeration getTransition() { return transition; } /** * Sets the value of the transition property. * * @param value * allowed object is * {@link TransitionEnumeration } * */ public void setTransition(TransitionEnumeration value) { this.transition = value; } /** * Gets the value of the accessFeatureType property. * * @return * possible object is * {@link AccessFeatureEnumeration } * */ public AccessFeatureEnumeration getAccessFeatureType() { return accessFeatureType; } /** * Sets the value of the accessFeatureType property. * * @param value * allowed object is * {@link AccessFeatureEnumeration } * */ public void setAccessFeatureType(AccessFeatureEnumeration value) { this.accessFeatureType = value; } /** * Gets the value of the passageType property. * * @return * possible object is * {@link PassageTypeEnumeration } * */ public PassageTypeEnumeration getPassageType() { return passageType; } /** * Sets the value of the passageType property. * * @param value * allowed object is * {@link PassageTypeEnumeration } * */ public void setPassageType(PassageTypeEnumeration value) { this.passageType = value; } /** * Gets the value of the maximumFlowPerMinute property. * * @return * possible object is * {@link BigInteger } * */ public BigInteger getMaximumFlowPerMinute() { return maximumFlowPerMinute; } /** * Sets the value of the maximumFlowPerMinute property. * * @param value * allowed object is * {@link BigInteger } * */ public void setMaximumFlowPerMinute(BigInteger value) { this.maximumFlowPerMinute = value; } /** * Gets the value of the transferDuration property. * * @return * possible object is * {@link TransferDurationStructure } * */ public TransferDurationStructure getTransferDuration() { return transferDuration; } /** * Sets the value of the transferDuration property. * * @param value * allowed object is * {@link TransferDurationStructure } * */ public void setTransferDuration(TransferDurationStructure value) { this.transferDuration = value; } public PathLink_VersionStructure withFrom(PathLinkEndStructure value) { setFrom(value); return this; } public PathLink_VersionStructure withTo(PathLinkEndStructure value) { setTo(value); return this; } public PathLink_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } public PathLink_VersionStructure withAccessibilityAssessmentRef(AccessibilityAssessmentRefStructure value) { setAccessibilityAssessmentRef(value); return this; } public PathLink_VersionStructure withAccessibilityAssessment(AccessibilityAssessment value) { setAccessibilityAssessment(value); return this; } public PathLink_VersionStructure withAccessModes(AccessModeEnumeration... values) { if (values!= null) { for (AccessModeEnumeration value: values) { getAccessModes().add(value); } } return this; } public PathLink_VersionStructure withAccessModes(Collection values) { if (values!= null) { getAccessModes().addAll(values); } return this; } public PathLink_VersionStructure withPublicUse(PublicUseEnumeration value) { setPublicUse(value); return this; } public PathLink_VersionStructure withCovered(CoveredEnumeration value) { setCovered(value); return this; } public PathLink_VersionStructure withGated(GatedEnumeration value) { setGated(value); return this; } public PathLink_VersionStructure withLighting(LightingEnumeration value) { setLighting(value); return this; } public PathLink_VersionStructure withAllAreasWheelchairAccessible(Boolean value) { setAllAreasWheelchairAccessible(value); return this; } public PathLink_VersionStructure withPersonCapacity(BigInteger value) { setPersonCapacity(value); return this; } public PathLink_VersionStructure withFacilities(SiteFacilitySets_RelStructure value) { setFacilities(value); return this; } public PathLink_VersionStructure withTowards(MultilingualString value) { setTowards(value); return this; } public PathLink_VersionStructure withBack(MultilingualString value) { setBack(value); return this; } public PathLink_VersionStructure withNumberOfSteps(BigInteger value) { setNumberOfSteps(value); return this; } public PathLink_VersionStructure withAllowedUse(PathDirectionEnumeration value) { setAllowedUse(value); return this; } public PathLink_VersionStructure withTransition(TransitionEnumeration value) { setTransition(value); return this; } public PathLink_VersionStructure withAccessFeatureType(AccessFeatureEnumeration value) { setAccessFeatureType(value); return this; } public PathLink_VersionStructure withPassageType(PassageTypeEnumeration value) { setPassageType(value); return this; } public PathLink_VersionStructure withMaximumFlowPerMinute(BigInteger value) { setMaximumFlowPerMinute(value); return this; } public PathLink_VersionStructure withTransferDuration(TransferDurationStructure value) { setTransferDuration(value); return this; } @Override public PathLink_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public PathLink_VersionStructure withDistance(BigDecimal value) { setDistance(value); return this; } @Override public PathLink_VersionStructure withTypes(LinkTypeRefs_RelStructure value) { setTypes(value); return this; } @Override public PathLink_VersionStructure withLineString(LineStringType value) { setLineString(value); return this; } @Override public PathLink_VersionStructure withProjections(Projections_RelStructure value) { setProjections(value); return this; } @Override public PathLink_VersionStructure withPassingThrough(PointsOnLink_RelStructure value) { setPassingThrough(value); return this; } @Override public PathLink_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public PathLink_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public PathLink_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public PathLink_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public PathLink_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public PathLink_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public PathLink_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public PathLink_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public PathLink_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public PathLink_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public PathLink_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public PathLink_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public PathLink_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public PathLink_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public PathLink_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public PathLink_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public PathLink_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public PathLink_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public PathLink_VersionStructure withId(String value) { setId(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); } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy