com.prowidesoftware.swift.model.mx.dic.PartyIdentification51 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 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.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 = "PartyIdentification51", propOrder = {
"ownrId",
"altrnId",
"dmclCtry",
"nonDmclCtry",
"owndSctiesQty",
"certfctnTp",
"dclrtnDtls"
})
public class PartyIdentification51 {
@XmlElement(name = "OwnrId", required = true)
protected PartyIdentification52Choice ownrId;
@XmlElement(name = "AltrnId")
protected List altrnId;
@XmlElement(name = "DmclCtry")
protected String dmclCtry;
@XmlElement(name = "NonDmclCtry")
protected List nonDmclCtry;
@XmlElement(name = "OwndSctiesQty", required = true)
protected FinancialInstrumentQuantity15Choice owndSctiesQty;
@XmlElement(name = "CertfctnTp")
protected List certfctnTp;
@XmlElement(name = "DclrtnDtls")
protected String dclrtnDtls;
/**
* Gets the value of the ownrId property.
*
* @return
* possible object is
* {@link PartyIdentification52Choice }
*
*/
public PartyIdentification52Choice getOwnrId() {
return ownrId;
}
/**
* Sets the value of the ownrId property.
*
* @param value
* allowed object is
* {@link PartyIdentification52Choice }
*
*/
public PartyIdentification51 setOwnrId(PartyIdentification52Choice value) {
this.ownrId = 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 JAXB object.
* This is why there is not a 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 AlternatePartyIdentification3 }
*
*
*/
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 PartyIdentification51 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getNonDmclCtry() {
if (nonDmclCtry == null) {
nonDmclCtry = new ArrayList();
}
return this.nonDmclCtry;
}
/**
* Gets the value of the owndSctiesQty property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public FinancialInstrumentQuantity15Choice getOwndSctiesQty() {
return owndSctiesQty;
}
/**
* Sets the value of the owndSctiesQty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity15Choice }
*
*/
public PartyIdentification51 setOwndSctiesQty(FinancialInstrumentQuantity15Choice 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 JAXB object.
* This is why there is not a 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 BeneficiaryCertificationType4Choice }
*
*
*/
public List getCertfctnTp() {
if (certfctnTp == null) {
certfctnTp = new ArrayList();
}
return this.certfctnTp;
}
/**
* Gets the value of the dclrtnDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDclrtnDtls() {
return dclrtnDtls;
}
/**
* Sets the value of the dclrtnDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PartyIdentification51 setDclrtnDtls(String value) {
this.dclrtnDtls = 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 altrnId list.
* @see #getAltrnId()
*
*/
public PartyIdentification51 addAltrnId(AlternatePartyIdentification3 altrnId) {
getAltrnId().add(altrnId);
return this;
}
/**
* Adds a new item to the nonDmclCtry list.
* @see #getNonDmclCtry()
*
*/
public PartyIdentification51 addNonDmclCtry(String nonDmclCtry) {
getNonDmclCtry().add(nonDmclCtry);
return this;
}
/**
* Adds a new item to the certfctnTp list.
* @see #getCertfctnTp()
*
*/
public PartyIdentification51 addCertfctnTp(BeneficiaryCertificationType4Choice certfctnTp) {
getCertfctnTp().add(certfctnTp);
return this;
}
}