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

org.rutebanken.netex.model.FlexibleStopPlace_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.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.XmlElements;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
import javax.xml.bind.annotation.adapters.NormalizedStringAdapter;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
import net.opengis.gml._3.PolygonType;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.rutebanken.netex.OmitNullsToStringStyle;


/**
 * 

Java class for FlexibleStopPlace_VersionStructure complex type. * *

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

 * <complexType name="FlexibleStopPlace_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}Place_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}SiteElementNamesGroup"/>
 *         <element name="TransportMode" type="{http://www.netex.org.uk/netex}VehicleModeEnumeration" minOccurs="0"/>
 *         <group ref="{http://www.netex.org.uk/netex}FlexibleStopPlaceGroup"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "FlexibleStopPlace_VersionStructure", propOrder = { "nameSuffix", "alternativeNames", "transportMode", "publicCode", "areas", "lines" }) @XmlSeeAlso({ FlexibleStopPlace.class }) public class FlexibleStopPlace_VersionStructure extends Place_VersionStructure { @XmlElement(name = "NameSuffix") protected MultilingualString nameSuffix; protected AlternativeNames_RelStructure alternativeNames; @XmlElement(name = "TransportMode") @XmlSchemaType(name = "NMTOKEN") protected VehicleModeEnumeration transportMode; @XmlElement(name = "PublicCode") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String publicCode; protected FlexibleStopPlace_VersionStructure.Areas areas; protected LineRefs_RelStructure lines; /** * Gets the value of the nameSuffix property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getNameSuffix() { return nameSuffix; } /** * Sets the value of the nameSuffix property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setNameSuffix(MultilingualString value) { this.nameSuffix = value; } /** * Gets the value of the alternativeNames property. * * @return * possible object is * {@link AlternativeNames_RelStructure } * */ public AlternativeNames_RelStructure getAlternativeNames() { return alternativeNames; } /** * Sets the value of the alternativeNames property. * * @param value * allowed object is * {@link AlternativeNames_RelStructure } * */ public void setAlternativeNames(AlternativeNames_RelStructure value) { this.alternativeNames = value; } /** * Gets the value of the transportMode property. * * @return * possible object is * {@link VehicleModeEnumeration } * */ public VehicleModeEnumeration getTransportMode() { return transportMode; } /** * Sets the value of the transportMode property. * * @param value * allowed object is * {@link VehicleModeEnumeration } * */ public void setTransportMode(VehicleModeEnumeration value) { this.transportMode = value; } /** * Gets the value of the publicCode property. * * @return * possible object is * {@link String } * */ public String getPublicCode() { return publicCode; } /** * Sets the value of the publicCode property. * * @param value * allowed object is * {@link String } * */ public void setPublicCode(String value) { this.publicCode = value; } /** * Gets the value of the areas property. * * @return * possible object is * {@link FlexibleStopPlace_VersionStructure.Areas } * */ public FlexibleStopPlace_VersionStructure.Areas getAreas() { return areas; } /** * Sets the value of the areas property. * * @param value * allowed object is * {@link FlexibleStopPlace_VersionStructure.Areas } * */ public void setAreas(FlexibleStopPlace_VersionStructure.Areas value) { this.areas = value; } /** * Gets the value of the lines property. * * @return * possible object is * {@link LineRefs_RelStructure } * */ public LineRefs_RelStructure getLines() { return lines; } /** * Sets the value of the lines property. * * @param value * allowed object is * {@link LineRefs_RelStructure } * */ public void setLines(LineRefs_RelStructure value) { this.lines = value; } public FlexibleStopPlace_VersionStructure withNameSuffix(MultilingualString value) { setNameSuffix(value); return this; } public FlexibleStopPlace_VersionStructure withAlternativeNames(AlternativeNames_RelStructure value) { setAlternativeNames(value); return this; } public FlexibleStopPlace_VersionStructure withTransportMode(VehicleModeEnumeration value) { setTransportMode(value); return this; } public FlexibleStopPlace_VersionStructure withPublicCode(String value) { setPublicCode(value); return this; } public FlexibleStopPlace_VersionStructure withAreas(FlexibleStopPlace_VersionStructure.Areas value) { setAreas(value); return this; } public FlexibleStopPlace_VersionStructure withLines(LineRefs_RelStructure value) { setLines(value); return this; } @Override public FlexibleStopPlace_VersionStructure withPlaceTypes(TypeOfPlaceRefs_RelStructure value) { setPlaceTypes(value); return this; } @Override public FlexibleStopPlace_VersionStructure withTypes(TypeOfZoneRefs_RelStructure value) { setTypes(value); return this; } @Override public FlexibleStopPlace_VersionStructure withCentroid(SimplePoint_VersionStructure value) { setCentroid(value); return this; } @Override public FlexibleStopPlace_VersionStructure withPolygon(PolygonType value) { setPolygon(value); return this; } @Override public FlexibleStopPlace_VersionStructure withProjections(Projections_RelStructure value) { setProjections(value); return this; } @Override public FlexibleStopPlace_VersionStructure withParentZoneRef(ZoneRefStructure value) { setParentZoneRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withMembers(PointRefs_RelStructure value) { setMembers(value); return this; } @Override public FlexibleStopPlace_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public FlexibleStopPlace_VersionStructure withShortName(MultilingualString value) { setShortName(value); return this; } @Override public FlexibleStopPlace_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public FlexibleStopPlace_VersionStructure withPurposeOfGroupingRef(PurposeOfGroupingRefStructure value) { setPurposeOfGroupingRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public FlexibleStopPlace_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public FlexibleStopPlace_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public FlexibleStopPlace_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public FlexibleStopPlace_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public FlexibleStopPlace_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public FlexibleStopPlace_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public FlexibleStopPlace_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public FlexibleStopPlace_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public FlexibleStopPlace_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public FlexibleStopPlace_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public FlexibleStopPlace_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public FlexibleStopPlace_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public FlexibleStopPlace_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public FlexibleStopPlace_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public FlexibleStopPlace_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); } /** *

Java class for anonymous complex type. * *

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

     * <complexType>
     *   <complexContent>
     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
     *       <choice maxOccurs="unbounded">
     *         <element ref="{http://www.netex.org.uk/netex}FlexibleArea"/>
     *         <element ref="{http://www.netex.org.uk/netex}FlexibleAreaRef"/>
     *         <element ref="{http://www.netex.org.uk/netex}HailAndRideArea"/>
     *         <element ref="{http://www.netex.org.uk/netex}HailAndRideAreaRef"/>
     *       </choice>
     *     </restriction>
     *   </complexContent>
     * </complexType>
     * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "", propOrder = { "flexibleAreaOrFlexibleAreaRefOrHailAndRideArea" }) public static class Areas { @XmlElements({ @XmlElement(name = "FlexibleArea", type = FlexibleArea.class), @XmlElement(name = "FlexibleAreaRef", type = FlexibleAreaRefStructure.class), @XmlElement(name = "HailAndRideArea", type = HailAndRideArea.class), @XmlElement(name = "HailAndRideAreaRef", type = HailAndRideAreaRefStructure.class) }) protected List flexibleAreaOrFlexibleAreaRefOrHailAndRideArea; /** * Gets the value of the flexibleAreaOrFlexibleAreaRefOrHailAndRideArea 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 flexibleAreaOrFlexibleAreaRefOrHailAndRideArea property. * *

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

         *    getFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea().add(newItem);
         * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FlexibleArea } * {@link FlexibleAreaRefStructure } * {@link HailAndRideArea } * {@link HailAndRideAreaRefStructure } * * */ public List getFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea() { if (flexibleAreaOrFlexibleAreaRefOrHailAndRideArea == null) { flexibleAreaOrFlexibleAreaRefOrHailAndRideArea = new ArrayList(); } return this.flexibleAreaOrFlexibleAreaRefOrHailAndRideArea; } public FlexibleStopPlace_VersionStructure.Areas withFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea(Object... values) { if (values!= null) { for (Object value: values) { getFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea().add(value); } } return this; } public FlexibleStopPlace_VersionStructure.Areas withFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea(Collection values) { if (values!= null) { getFlexibleAreaOrFlexibleAreaRefOrHailAndRideArea().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); } } }