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

com.prowidesoftware.swift.model.mx.dic.Organisation16 Maven / Gradle / Ivy

There is a newer version: SRU2024-10.2.4
Show newest version

package com.prowidesoftware.swift.model.mx.dic;

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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;


/**
 * Organised structure that is set up for a particular purpose, eg, a business, government body, department, charity, or financial institution.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Organisation16", propOrder = {
    "nm",
    "id",
    "purp",
    "taxtnCtry",
    "regnCtry",
    "regnDt",
    "taxId",
    "ntlRegnNb",
    "pstlAdr",
    "pmryComAdr",
    "scndryComAdr",
    "addtlRgltryInf"
})
public class Organisation16 {

    @XmlElement(name = "Nm", required = true)
    protected String nm;
    @XmlElement(name = "Id")
    protected PartyIdentification4Choice id;
    @XmlElement(name = "Purp")
    protected String purp;
    @XmlElement(name = "TaxtnCtry")
    protected String taxtnCtry;
    @XmlElement(name = "RegnCtry")
    protected String regnCtry;
    @XmlElement(name = "RegnDt")
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar regnDt;
    @XmlElement(name = "TaxId")
    protected List taxId;
    @XmlElement(name = "NtlRegnNb")
    protected String ntlRegnNb;
    @XmlElement(name = "PstlAdr", required = true)
    protected List pstlAdr;
    @XmlElement(name = "PmryComAdr")
    protected CommunicationAddress3 pmryComAdr;
    @XmlElement(name = "ScndryComAdr")
    protected CommunicationAddress3 scndryComAdr;
    @XmlElement(name = "AddtlRgltryInf")
    protected RegulatoryInformation1 addtlRgltryInf;

    /**
     * Gets the value of the nm property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getNm() {
        return nm;
    }

    /**
     * Sets the value of the nm property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public Organisation16 setNm(String value) {
        this.nm = value;
        return this;
    }

    /**
     * Gets the value of the id property.
     * 
     * @return
     *     possible object is
     *     {@link PartyIdentification4Choice }
     *     
     */
    public PartyIdentification4Choice getId() {
        return id;
    }

    /**
     * Sets the value of the id property.
     * 
     * @param value
     *     allowed object is
     *     {@link PartyIdentification4Choice }
     *     
     */
    public Organisation16 setId(PartyIdentification4Choice value) {
        this.id = value;
        return this;
    }

    /**
     * Gets the value of the purp property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getPurp() {
        return purp;
    }

    /**
     * Sets the value of the purp property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public Organisation16 setPurp(String value) {
        this.purp = value;
        return this;
    }

    /**
     * Gets the value of the taxtnCtry property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getTaxtnCtry() {
        return taxtnCtry;
    }

    /**
     * Sets the value of the taxtnCtry property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public Organisation16 setTaxtnCtry(String value) {
        this.taxtnCtry = value;
        return this;
    }

    /**
     * Gets the value of the regnCtry property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getRegnCtry() {
        return regnCtry;
    }

    /**
     * Sets the value of the regnCtry property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public Organisation16 setRegnCtry(String value) {
        this.regnCtry = value;
        return this;
    }

    /**
     * Gets the value of the regnDt property.
     * 
     * @return
     *     possible object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public XMLGregorianCalendar getRegnDt() {
        return regnDt;
    }

    /**
     * Sets the value of the regnDt property.
     * 
     * @param value
     *     allowed object is
     *     {@link XMLGregorianCalendar }
     *     
     */
    public Organisation16 setRegnDt(XMLGregorianCalendar value) {
        this.regnDt = value;
        return this;
    }

    /**
     * Gets the value of the taxId 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 taxId property. * *

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

     *    getTaxId().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TaxIdentification2 } * * */ public List getTaxId() { if (taxId == null) { taxId = new ArrayList(); } return this.taxId; } /** * Gets the value of the ntlRegnNb property. * * @return * possible object is * {@link String } * */ public String getNtlRegnNb() { return ntlRegnNb; } /** * Sets the value of the ntlRegnNb property. * * @param value * allowed object is * {@link String } * */ public Organisation16 setNtlRegnNb(String value) { this.ntlRegnNb = value; return this; } /** * Gets the value of the pstlAdr 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 pstlAdr property. * *

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

     *    getPstlAdr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link PostalAddress3 } * * */ public List getPstlAdr() { if (pstlAdr == null) { pstlAdr = new ArrayList(); } return this.pstlAdr; } /** * Gets the value of the pmryComAdr property. * * @return * possible object is * {@link CommunicationAddress3 } * */ public CommunicationAddress3 getPmryComAdr() { return pmryComAdr; } /** * Sets the value of the pmryComAdr property. * * @param value * allowed object is * {@link CommunicationAddress3 } * */ public Organisation16 setPmryComAdr(CommunicationAddress3 value) { this.pmryComAdr = value; return this; } /** * Gets the value of the scndryComAdr property. * * @return * possible object is * {@link CommunicationAddress3 } * */ public CommunicationAddress3 getScndryComAdr() { return scndryComAdr; } /** * Sets the value of the scndryComAdr property. * * @param value * allowed object is * {@link CommunicationAddress3 } * */ public Organisation16 setScndryComAdr(CommunicationAddress3 value) { this.scndryComAdr = value; return this; } /** * Gets the value of the addtlRgltryInf property. * * @return * possible object is * {@link RegulatoryInformation1 } * */ public RegulatoryInformation1 getAddtlRgltryInf() { return addtlRgltryInf; } /** * Sets the value of the addtlRgltryInf property. * * @param value * allowed object is * {@link RegulatoryInformation1 } * */ public Organisation16 setAddtlRgltryInf(RegulatoryInformation1 value) { this.addtlRgltryInf = value; return this; } @Override public String toString() { return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE); } @Override public boolean equals(Object that) { return EqualsBuilder.reflectionEquals(this, that); } @Override public int hashCode() { return HashCodeBuilder.reflectionHashCode(this); } /** * Adds a new item to the taxId list. * @see #getTaxId() * */ public Organisation16 addTaxId(TaxIdentification2 taxId) { getTaxId().add(taxId); return this; } /** * Adds a new item to the pstlAdr list. * @see #getPstlAdr() * */ public Organisation16 addPstlAdr(PostalAddress3 pstlAdr) { getPstlAdr().add(pstlAdr); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy