com.prowidesoftware.swift.model.mx.dic.PartyIdentification233 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlType;
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 information about the beneficial owner of the securities.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PartyIdentification233", propOrder = {
"ownrId",
"leiId",
"altrnId",
"dmclCtry",
"nonDmclCtry",
"owndSctiesQty",
"certfctnTp",
"whldgTaxRate",
"certfctnBrkdwn"
})
public class PartyIdentification233 {
@XmlElement(name = "OwnrId", required = true)
protected PartyIdentification120Choice ownrId;
@XmlElement(name = "LEIId")
protected String leiId;
@XmlElement(name = "AltrnId")
protected List altrnId;
@XmlElement(name = "DmclCtry")
protected String dmclCtry;
@XmlElement(name = "NonDmclCtry")
protected List nonDmclCtry;
@XmlElement(name = "OwndSctiesQty", required = true)
protected FinancialInstrumentQuantity1Choice owndSctiesQty;
@XmlElement(name = "CertfctnTp")
protected List certfctnTp;
@XmlElement(name = "WhldgTaxRate")
protected RateAndAmountFormat37Choice whldgTaxRate;
@XmlElement(name = "CertfctnBrkdwn")
protected List certfctnBrkdwn;
/**
* Gets the value of the ownrId property.
*
* @return
* possible object is
* {@link PartyIdentification120Choice }
*
*/
public PartyIdentification120Choice getOwnrId() {
return ownrId;
}
/**
* Sets the value of the ownrId property.
*
* @param value
* allowed object is
* {@link PartyIdentification120Choice }
*
*/
public PartyIdentification233 setOwnrId(PartyIdentification120Choice value) {
this.ownrId = value;
return this;
}
/**
* Gets the value of the leiId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLEIId() {
return leiId;
}
/**
* Sets the value of the leiId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PartyIdentification233 setLEIId(String value) {
this.leiId = value;
return this;
}
/**
* Gets the value of the altrnId 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the altrnId property.
*
*
* For example, to add a new item, do as follows:
*
* getAltrnId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AlternatePartyIdentification7 }
*
*
* @return
* The value of the altrnId property.
*/
public List getAltrnId() {
if (altrnId == null) {
altrnId = new ArrayList<>();
}
return this.altrnId;
}
/**
* Gets the value of the dmclCtry property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDmclCtry() {
return dmclCtry;
}
/**
* Sets the value of the dmclCtry property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PartyIdentification233 setDmclCtry(String value) {
this.dmclCtry = value;
return this;
}
/**
* Gets the value of the nonDmclCtry 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the nonDmclCtry property.
*
*
* For example, to add a new item, do as follows:
*
* getNonDmclCtry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the nonDmclCtry property.
*/
public List getNonDmclCtry() {
if (nonDmclCtry == null) {
nonDmclCtry = new ArrayList<>();
}
return this.nonDmclCtry;
}
/**
* Gets the value of the owndSctiesQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public FinancialInstrumentQuantity1Choice getOwndSctiesQty() {
return owndSctiesQty;
}
/**
* Sets the value of the owndSctiesQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1Choice }
*
*/
public PartyIdentification233 setOwndSctiesQty(FinancialInstrumentQuantity1Choice value) {
this.owndSctiesQty = value;
return this;
}
/**
* Gets the value of the certfctnTp 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the certfctnTp property.
*
*
* For example, to add a new item, do as follows:
*
* getCertfctnTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BeneficiaryCertificationType10Choice }
*
*
* @return
* The value of the certfctnTp property.
*/
public List getCertfctnTp() {
if (certfctnTp == null) {
certfctnTp = new ArrayList<>();
}
return this.certfctnTp;
}
/**
* Gets the value of the whldgTaxRate property.
*
* @return
* possible object is
* {@link RateAndAmountFormat37Choice }
*
*/
public RateAndAmountFormat37Choice getWhldgTaxRate() {
return whldgTaxRate;
}
/**
* Sets the value of the whldgTaxRate property.
*
* @param value
* allowed object is
* {@link RateAndAmountFormat37Choice }
*
*/
public PartyIdentification233 setWhldgTaxRate(RateAndAmountFormat37Choice value) {
this.whldgTaxRate = value;
return this;
}
/**
* Gets the value of the certfctnBrkdwn 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 Jakarta XML Binding object.
* This is why there is not a {@code set} method for the certfctnBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getCertfctnBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the certfctnBrkdwn property.
*/
public List getCertfctnBrkdwn() {
if (certfctnBrkdwn == null) {
certfctnBrkdwn = new ArrayList<>();
}
return this.certfctnBrkdwn;
}
@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 altrnId list.
* @see #getAltrnId()
*
*/
public PartyIdentification233 addAltrnId(AlternatePartyIdentification7 altrnId) {
getAltrnId().add(altrnId);
return this;
}
/**
* Adds a new item to the nonDmclCtry list.
* @see #getNonDmclCtry()
*
*/
public PartyIdentification233 addNonDmclCtry(String nonDmclCtry) {
getNonDmclCtry().add(nonDmclCtry);
return this;
}
/**
* Adds a new item to the certfctnTp list.
* @see #getCertfctnTp()
*
*/
public PartyIdentification233 addCertfctnTp(BeneficiaryCertificationType10Choice certfctnTp) {
getCertfctnTp().add(certfctnTp);
return this;
}
/**
* Adds a new item to the certfctnBrkdwn list.
* @see #getCertfctnBrkdwn()
*
*/
public PartyIdentification233 addCertfctnBrkdwn(String certfctnBrkdwn) {
getCertfctnBrkdwn().add(certfctnBrkdwn);
return this;
}
}