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

com.prowidesoftware.swift.model.mx.dic.SystemParty5 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;


/**
 * Provides the definition of a party within a system. 
 * A party shall denote any legal or organisational entity required in the system. 
 * This entity shall store the parties from the first three levels: the system operator, the central securities depositaries, the participants of the central securities depositaries, the national central banks and payment banks.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SystemParty5", propOrder = {
    "ptyId",
    "adr",
    "ctctDtls",
    "opngDt",
    "clsgDt",
    "tp",
    "techAdr",
    "mktSpcfcAttr",
    "nm",
    "resTp",
    "lckSts",
    "rstrctn"
})
public class SystemParty5 {

    @XmlElement(name = "PtyId")
    protected SystemPartyIdentification9 ptyId;
    @XmlElement(name = "Adr")
    protected PostalAddress25 adr;
    @XmlElement(name = "CtctDtls")
    protected List ctctDtls;
    @XmlElement(name = "OpngDt")
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar opngDt;
    @XmlElement(name = "ClsgDt")
    @XmlSchemaType(name = "date")
    protected XMLGregorianCalendar clsgDt;
    @XmlElement(name = "Tp")
    protected SystemPartyType1Choice tp;
    @XmlElement(name = "TechAdr")
    protected List techAdr;
    @XmlElement(name = "MktSpcfcAttr")
    protected List mktSpcfcAttr;
    @XmlElement(name = "Nm")
    protected PartyName4 nm;
    @XmlElement(name = "ResTp")
    @XmlSchemaType(name = "string")
    protected ResidenceType1Code resTp;
    @XmlElement(name = "LckSts")
    protected PartyLockStatus1 lckSts;
    @XmlElement(name = "Rstrctn")
    protected List rstrctn;

    /**
     * Gets the value of the ptyId property.
     * 
     * @return
     *     possible object is
     *     {@link SystemPartyIdentification9 }
     *     
     */
    public SystemPartyIdentification9 getPtyId() {
        return ptyId;
    }

    /**
     * Sets the value of the ptyId property.
     * 
     * @param value
     *     allowed object is
     *     {@link SystemPartyIdentification9 }
     *     
     */
    public SystemParty5 setPtyId(SystemPartyIdentification9 value) {
        this.ptyId = value;
        return this;
    }

    /**
     * Gets the value of the adr property.
     * 
     * @return
     *     possible object is
     *     {@link PostalAddress25 }
     *     
     */
    public PostalAddress25 getAdr() {
        return adr;
    }

    /**
     * Sets the value of the adr property.
     * 
     * @param value
     *     allowed object is
     *     {@link PostalAddress25 }
     *     
     */
    public SystemParty5 setAdr(PostalAddress25 value) {
        this.adr = value;
        return this;
    }

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

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

     *    getCtctDtls().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link Contact5 } * * */ public List getCtctDtls() { if (ctctDtls == null) { ctctDtls = new ArrayList(); } return this.ctctDtls; } /** * Gets the value of the opngDt property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getOpngDt() { return opngDt; } /** * Sets the value of the opngDt property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public SystemParty5 setOpngDt(XMLGregorianCalendar value) { this.opngDt = value; return this; } /** * Gets the value of the clsgDt property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getClsgDt() { return clsgDt; } /** * Sets the value of the clsgDt property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public SystemParty5 setClsgDt(XMLGregorianCalendar value) { this.clsgDt = value; return this; } /** * Gets the value of the tp property. * * @return * possible object is * {@link SystemPartyType1Choice } * */ public SystemPartyType1Choice getTp() { return tp; } /** * Sets the value of the tp property. * * @param value * allowed object is * {@link SystemPartyType1Choice } * */ public SystemParty5 setTp(SystemPartyType1Choice value) { this.tp = value; return this; } /** * Gets the value of the techAdr 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 techAdr property. * *

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

     *    getTechAdr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link TechnicalIdentification2Choice } * * */ public List getTechAdr() { if (techAdr == null) { techAdr = new ArrayList(); } return this.techAdr; } /** * Gets the value of the mktSpcfcAttr 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 mktSpcfcAttr property. * *

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

     *    getMktSpcfcAttr().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link MarketSpecificAttribute1 } * * */ public List getMktSpcfcAttr() { if (mktSpcfcAttr == null) { mktSpcfcAttr = new ArrayList(); } return this.mktSpcfcAttr; } /** * Gets the value of the nm property. * * @return * possible object is * {@link PartyName4 } * */ public PartyName4 getNm() { return nm; } /** * Sets the value of the nm property. * * @param value * allowed object is * {@link PartyName4 } * */ public SystemParty5 setNm(PartyName4 value) { this.nm = value; return this; } /** * Gets the value of the resTp property. * * @return * possible object is * {@link ResidenceType1Code } * */ public ResidenceType1Code getResTp() { return resTp; } /** * Sets the value of the resTp property. * * @param value * allowed object is * {@link ResidenceType1Code } * */ public SystemParty5 setResTp(ResidenceType1Code value) { this.resTp = value; return this; } /** * Gets the value of the lckSts property. * * @return * possible object is * {@link PartyLockStatus1 } * */ public PartyLockStatus1 getLckSts() { return lckSts; } /** * Sets the value of the lckSts property. * * @param value * allowed object is * {@link PartyLockStatus1 } * */ public SystemParty5 setLckSts(PartyLockStatus1 value) { this.lckSts = value; return this; } /** * Gets the value of the rstrctn 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 rstrctn property. * *

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

     *    getRstrctn().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link SystemRestriction1 } * * */ public List getRstrctn() { if (rstrctn == null) { rstrctn = new ArrayList(); } return this.rstrctn; } @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 ctctDtls list. * @see #getCtctDtls() * */ public SystemParty5 addCtctDtls(Contact5 ctctDtls) { getCtctDtls().add(ctctDtls); return this; } /** * Adds a new item to the techAdr list. * @see #getTechAdr() * */ public SystemParty5 addTechAdr(TechnicalIdentification2Choice techAdr) { getTechAdr().add(techAdr); return this; } /** * Adds a new item to the mktSpcfcAttr list. * @see #getMktSpcfcAttr() * */ public SystemParty5 addMktSpcfcAttr(MarketSpecificAttribute1 mktSpcfcAttr) { getMktSpcfcAttr().add(mktSpcfcAttr); return this; } /** * Adds a new item to the rstrctn list. * @see #getRstrctn() * */ public SystemParty5 addRstrctn(SystemRestriction1 rstrctn) { getRstrctn().add(rstrctn); return this; } }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy