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

com.premiumminds.billy.portugal.services.export.saftpt.v1_03_01.schema.AddressStructurePT Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.0 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2020.11.05 at 11:28:40 AM WET 
//


package com.premiumminds.billy.portugal.services.export.saftpt.v1_03_01.schema;

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 org.jvnet.jaxb2_commons.lang.JAXBToStringStrategy;
import org.jvnet.jaxb2_commons.lang.ToString2;
import org.jvnet.jaxb2_commons.lang.ToStringStrategy2;
import org.jvnet.jaxb2_commons.locator.ObjectLocator;


/**
 * 

Java class for AddressStructurePT complex type. * *

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

 * <complexType name="AddressStructurePT">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}BuildingNumber" minOccurs="0"/>
 *         <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}StreetName" minOccurs="0"/>
 *         <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}AddressDetail"/>
 *         <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}City"/>
 *         <element name="PostalCode" type="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}PostalCodePT"/>
 *         <element ref="{urn:OECD:StandardAuditFile-Tax:PT_1.03_01}Region" minOccurs="0"/>
 *         <element name="Country" type="{http://www.w3.org/2001/XMLSchema}anyType"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "AddressStructurePT", propOrder = { "buildingNumber", "streetName", "addressDetail", "city", "postalCode", "region", "country" }) public class AddressStructurePT implements ToString2 { @XmlElement(name = "BuildingNumber") protected String buildingNumber; @XmlElement(name = "StreetName") protected String streetName; @XmlElement(name = "AddressDetail", required = true) protected String addressDetail; @XmlElement(name = "City", required = true) protected String city; @XmlElement(name = "PostalCode", required = true) protected String postalCode; @XmlElement(name = "Region") protected String region; @XmlElement(name = "Country", required = true) protected Object country; /** * Gets the value of the buildingNumber property. * * @return * possible object is * {@link String } * */ public String getBuildingNumber() { return buildingNumber; } /** * Sets the value of the buildingNumber property. * * @param value * allowed object is * {@link String } * */ public void setBuildingNumber(String value) { this.buildingNumber = value; } /** * Gets the value of the streetName property. * * @return * possible object is * {@link String } * */ public String getStreetName() { return streetName; } /** * Sets the value of the streetName property. * * @param value * allowed object is * {@link String } * */ public void setStreetName(String value) { this.streetName = value; } /** * Gets the value of the addressDetail property. * * @return * possible object is * {@link String } * */ public String getAddressDetail() { return addressDetail; } /** * Sets the value of the addressDetail property. * * @param value * allowed object is * {@link String } * */ public void setAddressDetail(String value) { this.addressDetail = value; } /** * Gets the value of the city property. * * @return * possible object is * {@link String } * */ public String getCity() { return city; } /** * Sets the value of the city property. * * @param value * allowed object is * {@link String } * */ public void setCity(String value) { this.city = value; } /** * Gets the value of the postalCode property. * * @return * possible object is * {@link String } * */ public String getPostalCode() { return postalCode; } /** * Sets the value of the postalCode property. * * @param value * allowed object is * {@link String } * */ public void setPostalCode(String value) { this.postalCode = value; } /** * Gets the value of the region property. * * @return * possible object is * {@link String } * */ public String getRegion() { return region; } /** * Sets the value of the region property. * * @param value * allowed object is * {@link String } * */ public void setRegion(String value) { this.region = value; } /** * Gets the value of the country property. * * @return * possible object is * {@link Object } * */ public Object getCountry() { return country; } /** * Sets the value of the country property. * * @param value * allowed object is * {@link Object } * */ public void setCountry(Object value) { this.country = value; } public String toString() { final ToStringStrategy2 strategy = JAXBToStringStrategy.INSTANCE2; final StringBuilder buffer = new StringBuilder(); append(null, buffer, strategy); return buffer.toString(); } public StringBuilder append(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { strategy.appendStart(locator, this, buffer); appendFields(locator, buffer, strategy); strategy.appendEnd(locator, this, buffer); return buffer; } public StringBuilder appendFields(ObjectLocator locator, StringBuilder buffer, ToStringStrategy2 strategy) { { String theBuildingNumber; theBuildingNumber = this.getBuildingNumber(); strategy.appendField(locator, this, "buildingNumber", buffer, theBuildingNumber, (this.buildingNumber!= null)); } { String theStreetName; theStreetName = this.getStreetName(); strategy.appendField(locator, this, "streetName", buffer, theStreetName, (this.streetName!= null)); } { String theAddressDetail; theAddressDetail = this.getAddressDetail(); strategy.appendField(locator, this, "addressDetail", buffer, theAddressDetail, (this.addressDetail!= null)); } { String theCity; theCity = this.getCity(); strategy.appendField(locator, this, "city", buffer, theCity, (this.city!= null)); } { String thePostalCode; thePostalCode = this.getPostalCode(); strategy.appendField(locator, this, "postalCode", buffer, thePostalCode, (this.postalCode!= null)); } { String theRegion; theRegion = this.getRegion(); strategy.appendField(locator, this, "region", buffer, theRegion, (this.region!= null)); } { Object theCountry; theCountry = this.getCountry(); strategy.appendField(locator, this, "country", buffer, theCountry, (this.country!= null)); } return buffer; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy