com.hubject.datex.energyinfrastructure.generated.location_extension.Address Maven / Gradle / Ivy
Show all versions of convert Show documentation
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.1
// See https://javaee.github.io/jaxb-v2/
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2022.10.06 at 11:44:34 AM CEST
//
package com.hubject.datex.energyinfrastructure.generated.location_extension;
import java.util.ArrayList;
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.XmlType;
import com.hubject.datex.energyinfrastructure.generated.common.ExtensionType;
import com.hubject.datex.energyinfrastructure.generated.common.MultilingualString;
/**
* Java class for Address complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Address">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="postcode" type="{http://datex2.eu/schema/3/common}String" minOccurs="0"/>
* <element name="city" type="{http://datex2.eu/schema/3/common}MultilingualString" minOccurs="0"/>
* <element name="countryCode" type="{http://datex2.eu/schema/3/common}CountryCode" minOccurs="0"/>
* <element name="addressLine" type="{http://datex2.eu/schema/3/locationExtension}AddressLine" maxOccurs="unbounded" minOccurs="0"/>
* <element name="_addressExtension" type="{http://datex2.eu/schema/3/common}_ExtensionType" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Address", propOrder = {
"postcode",
"city",
"countryCode",
"addressLine",
"addressExtension"
})
public class Address {
protected String postcode;
protected MultilingualString city;
protected String countryCode;
protected List addressLine;
@XmlElement(name = "_addressExtension")
protected ExtensionType addressExtension;
/**
* 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 city property.
*
* @return
* possible object is
* {@link MultilingualString }
*
*/
public MultilingualString getCity() {
return city;
}
/**
* Sets the value of the city property.
*
* @param value
* allowed object is
* {@link MultilingualString }
*
*/
public void setCity(MultilingualString value) {
this.city = value;
}
/**
* Gets the value of the countryCode property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCountryCode() {
return countryCode;
}
/**
* Sets the value of the countryCode property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public void setCountryCode(String value) {
this.countryCode = value;
}
/**
* Gets the value of the addressLine 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 addressLine property.
*
*
* For example, to add a new item, do as follows:
*
* getAddressLine().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AddressLine }
*
*
*/
public List getAddressLine() {
if (addressLine == null) {
addressLine = new ArrayList();
}
return this.addressLine;
}
/**
* Gets the value of the addressExtension property.
*
* @return
* possible object is
* {@link ExtensionType }
*
*/
public ExtensionType getAddressExtension() {
return addressExtension;
}
/**
* Sets the value of the addressExtension property.
*
* @param value
* allowed object is
* {@link ExtensionType }
*
*/
public void setAddressExtension(ExtensionType value) {
this.addressExtension = value;
}
}