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

org.rutebanken.netex.model.PostalAddress_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.Collection;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
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 PostalAddress_VersionStructure complex type. * *

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

 * <complexType name="PostalAddress_VersionStructure">
 *   <complexContent>
 *     <extension base="{http://www.netex.org.uk/netex}Address_VersionStructure">
 *       <sequence>
 *         <group ref="{http://www.netex.org.uk/netex}PostalAddressGroup"/>
 *         <element name="RoadAddressRef" type="{http://www.netex.org.uk/netex}AddressRefStructure" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "PostalAddress_VersionStructure", propOrder = { "houseNumber", "buildingName", "addressLine1", "addressLine2", "street", "town", "suburb", "postCode", "postCodeExtension", "postalRegion", "province", "roadAddressRef" }) @XmlSeeAlso({ PostalAddress.class, org.rutebanken.netex.model.Operator_VersionStructure.Address.class }) public class PostalAddress_VersionStructure extends Address_VersionStructure { @XmlElement(name = "HouseNumber") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String houseNumber; @XmlElement(name = "BuildingName") protected MultilingualString buildingName; @XmlElement(name = "AddressLine1") protected MultilingualString addressLine1; @XmlElement(name = "AddressLine2") protected MultilingualString addressLine2; @XmlElement(name = "Street") protected MultilingualString street; @XmlElement(name = "Town") protected MultilingualString town; @XmlElement(name = "Suburb") protected MultilingualString suburb; @XmlElement(name = "PostCode") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String postCode; @XmlElement(name = "PostCodeExtension") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String postCodeExtension; @XmlElement(name = "PostalRegion") @XmlJavaTypeAdapter(NormalizedStringAdapter.class) @XmlSchemaType(name = "normalizedString") protected String postalRegion; @XmlElement(name = "Province") protected MultilingualString province; @XmlElement(name = "RoadAddressRef") protected AddressRefStructure roadAddressRef; /** * Gets the value of the houseNumber property. * * @return * possible object is * {@link String } * */ public String getHouseNumber() { return houseNumber; } /** * Sets the value of the houseNumber property. * * @param value * allowed object is * {@link String } * */ public void setHouseNumber(String value) { this.houseNumber = value; } /** * Gets the value of the buildingName property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getBuildingName() { return buildingName; } /** * Sets the value of the buildingName property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setBuildingName(MultilingualString value) { this.buildingName = value; } /** * Gets the value of the addressLine1 property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getAddressLine1() { return addressLine1; } /** * Sets the value of the addressLine1 property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setAddressLine1(MultilingualString value) { this.addressLine1 = value; } /** * Gets the value of the addressLine2 property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getAddressLine2() { return addressLine2; } /** * Sets the value of the addressLine2 property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setAddressLine2(MultilingualString value) { this.addressLine2 = value; } /** * Gets the value of the street property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getStreet() { return street; } /** * Sets the value of the street property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setStreet(MultilingualString value) { this.street = value; } /** * Gets the value of the town property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getTown() { return town; } /** * Sets the value of the town property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setTown(MultilingualString value) { this.town = value; } /** * Gets the value of the suburb property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getSuburb() { return suburb; } /** * Sets the value of the suburb property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setSuburb(MultilingualString value) { this.suburb = value; } /** * Gets the value of the postCode property. * * @return * possible object is * {@link String } * */ public String getPostCode() { return postCode; } /** * Sets the value of the postCode property. * * @param value * allowed object is * {@link String } * */ public void setPostCode(String value) { this.postCode = value; } /** * Gets the value of the postCodeExtension property. * * @return * possible object is * {@link String } * */ public String getPostCodeExtension() { return postCodeExtension; } /** * Sets the value of the postCodeExtension property. * * @param value * allowed object is * {@link String } * */ public void setPostCodeExtension(String value) { this.postCodeExtension = value; } /** * Gets the value of the postalRegion property. * * @return * possible object is * {@link String } * */ public String getPostalRegion() { return postalRegion; } /** * Sets the value of the postalRegion property. * * @param value * allowed object is * {@link String } * */ public void setPostalRegion(String value) { this.postalRegion = value; } /** * Gets the value of the province property. * * @return * possible object is * {@link MultilingualString } * */ public MultilingualString getProvince() { return province; } /** * Sets the value of the province property. * * @param value * allowed object is * {@link MultilingualString } * */ public void setProvince(MultilingualString value) { this.province = value; } /** * Gets the value of the roadAddressRef property. * * @return * possible object is * {@link AddressRefStructure } * */ public AddressRefStructure getRoadAddressRef() { return roadAddressRef; } /** * Sets the value of the roadAddressRef property. * * @param value * allowed object is * {@link AddressRefStructure } * */ public void setRoadAddressRef(AddressRefStructure value) { this.roadAddressRef = value; } public PostalAddress_VersionStructure withHouseNumber(String value) { setHouseNumber(value); return this; } public PostalAddress_VersionStructure withBuildingName(MultilingualString value) { setBuildingName(value); return this; } public PostalAddress_VersionStructure withAddressLine1(MultilingualString value) { setAddressLine1(value); return this; } public PostalAddress_VersionStructure withAddressLine2(MultilingualString value) { setAddressLine2(value); return this; } public PostalAddress_VersionStructure withStreet(MultilingualString value) { setStreet(value); return this; } public PostalAddress_VersionStructure withTown(MultilingualString value) { setTown(value); return this; } public PostalAddress_VersionStructure withSuburb(MultilingualString value) { setSuburb(value); return this; } public PostalAddress_VersionStructure withPostCode(String value) { setPostCode(value); return this; } public PostalAddress_VersionStructure withPostCodeExtension(String value) { setPostCodeExtension(value); return this; } public PostalAddress_VersionStructure withPostalRegion(String value) { setPostalRegion(value); return this; } public PostalAddress_VersionStructure withProvince(MultilingualString value) { setProvince(value); return this; } public PostalAddress_VersionStructure withRoadAddressRef(AddressRefStructure value) { setRoadAddressRef(value); return this; } @Override public PostalAddress_VersionStructure withCountryRef(CountryRef value) { setCountryRef(value); return this; } @Override public PostalAddress_VersionStructure withCountryName(MultilingualString value) { setCountryName(value); return this; } @Override public PostalAddress_VersionStructure withPlaceTypes(TypeOfPlaceRefs_RelStructure value) { setPlaceTypes(value); return this; } @Override public PostalAddress_VersionStructure withTypes(TypeOfZoneRefs_RelStructure value) { setTypes(value); return this; } @Override public PostalAddress_VersionStructure withCentroid(SimplePoint_VersionStructure value) { setCentroid(value); return this; } @Override public PostalAddress_VersionStructure withPolygon(PolygonType value) { setPolygon(value); return this; } @Override public PostalAddress_VersionStructure withProjections(Projections_RelStructure value) { setProjections(value); return this; } @Override public PostalAddress_VersionStructure withParentZoneRef(ZoneRefStructure value) { setParentZoneRef(value); return this; } @Override public PostalAddress_VersionStructure withMembers(PointRefs_RelStructure value) { setMembers(value); return this; } @Override public PostalAddress_VersionStructure withName(MultilingualString value) { setName(value); return this; } @Override public PostalAddress_VersionStructure withShortName(MultilingualString value) { setShortName(value); return this; } @Override public PostalAddress_VersionStructure withDescription(MultilingualString value) { setDescription(value); return this; } @Override public PostalAddress_VersionStructure withPurposeOfGroupingRef(PurposeOfGroupingRefStructure value) { setPurposeOfGroupingRef(value); return this; } @Override public PostalAddress_VersionStructure withPrivateCode(PrivateCodeStructure value) { setPrivateCode(value); return this; } @Override public PostalAddress_VersionStructure withKeyList(KeyListStructure value) { setKeyList(value); return this; } @Override public PostalAddress_VersionStructure withExtensions(ExtensionsStructure value) { setExtensions(value); return this; } @Override public PostalAddress_VersionStructure withBrandingRef(BrandingRefStructure value) { setBrandingRef(value); return this; } @Override public PostalAddress_VersionStructure withAlternativeTexts(AlternativeTexts_RelStructure value) { setAlternativeTexts(value); return this; } @Override public PostalAddress_VersionStructure withResponsibilitySetRef(String value) { setResponsibilitySetRef(value); return this; } @Override public PostalAddress_VersionStructure withValidityConditions(ValidityConditions_RelStructure value) { setValidityConditions(value); return this; } @Override public PostalAddress_VersionStructure withValidBetween(ValidBetween... values) { if (values!= null) { for (ValidBetween value: values) { getValidBetween().add(value); } } return this; } @Override public PostalAddress_VersionStructure withValidBetween(Collection values) { if (values!= null) { getValidBetween().addAll(values); } return this; } @Override public PostalAddress_VersionStructure withDataSourceRef(String value) { setDataSourceRef(value); return this; } @Override public PostalAddress_VersionStructure withCreated(OffsetDateTime value) { setCreated(value); return this; } @Override public PostalAddress_VersionStructure withChanged(OffsetDateTime value) { setChanged(value); return this; } @Override public PostalAddress_VersionStructure withModification(ModificationEnumeration value) { setModification(value); return this; } @Override public PostalAddress_VersionStructure withVersion(String value) { setVersion(value); return this; } @Override public PostalAddress_VersionStructure withStatus_BasicModificationDetailsGroup(StatusEnumeration value) { setStatus_BasicModificationDetailsGroup(value); return this; } @Override public PostalAddress_VersionStructure withDerivedFromVersionRef_BasicModificationDetailsGroup(String value) { setDerivedFromVersionRef_BasicModificationDetailsGroup(value); return this; } @Override public PostalAddress_VersionStructure withCompatibleWithVersionFrameVersionRef(String value) { setCompatibleWithVersionFrameVersionRef(value); return this; } @Override public PostalAddress_VersionStructure withDerivedFromObjectRef(String value) { setDerivedFromObjectRef(value); return this; } @Override public PostalAddress_VersionStructure withNameOfClass(String value) { setNameOfClass(value); return this; } @Override public PostalAddress_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