com.prowidesoftware.swift.model.mx.dic.InvestmentAccountOwnershipInformation8 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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 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;
/**
* Characteristics of the ownership of an investment account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvestmentAccountOwnershipInformation8", propOrder = {
"pty",
"mnyLndrgChck",
"ownrshBnfcryRate",
"clntId",
"fsclXmptn",
"sgntryRghtInd",
"modfdInvstrPrflVldtn",
"miFIDClssfctn",
"infDstrbtn"
})
public class InvestmentAccountOwnershipInformation8 {
@XmlElement(name = "Pty", required = true)
protected Party15Choice pty;
@XmlElement(name = "MnyLndrgChck")
protected MoneyLaunderingCheck1Choice mnyLndrgChck;
@XmlElement(name = "OwnrshBnfcryRate")
protected BigDecimal ownrshBnfcryRate;
@XmlElement(name = "ClntId")
protected String clntId;
@XmlElement(name = "FsclXmptn")
protected Boolean fsclXmptn;
@XmlElement(name = "SgntryRghtInd")
protected Boolean sgntryRghtInd;
@XmlElement(name = "ModfdInvstrPrflVldtn")
protected List modfdInvstrPrflVldtn;
@XmlElement(name = "MiFIDClssfctn")
protected MiFIDClassification1 miFIDClssfctn;
@XmlElement(name = "InfDstrbtn")
@XmlSchemaType(name = "string")
protected InformationDistribution1Code infDstrbtn;
/**
* Gets the value of the pty property.
*
* @return
* possible object is
* {@link Party15Choice }
*
*/
public Party15Choice getPty() {
return pty;
}
/**
* Sets the value of the pty property.
*
* @param value
* allowed object is
* {@link Party15Choice }
*
*/
public InvestmentAccountOwnershipInformation8 setPty(Party15Choice value) {
this.pty = value;
return this;
}
/**
* Gets the value of the mnyLndrgChck property.
*
* @return
* possible object is
* {@link MoneyLaunderingCheck1Choice }
*
*/
public MoneyLaunderingCheck1Choice getMnyLndrgChck() {
return mnyLndrgChck;
}
/**
* Sets the value of the mnyLndrgChck property.
*
* @param value
* allowed object is
* {@link MoneyLaunderingCheck1Choice }
*
*/
public InvestmentAccountOwnershipInformation8 setMnyLndrgChck(MoneyLaunderingCheck1Choice value) {
this.mnyLndrgChck = value;
return this;
}
/**
* Gets the value of the ownrshBnfcryRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getOwnrshBnfcryRate() {
return ownrshBnfcryRate;
}
/**
* Sets the value of the ownrshBnfcryRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public InvestmentAccountOwnershipInformation8 setOwnrshBnfcryRate(BigDecimal value) {
this.ownrshBnfcryRate = value;
return this;
}
/**
* Gets the value of the clntId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntId() {
return clntId;
}
/**
* Sets the value of the clntId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccountOwnershipInformation8 setClntId(String value) {
this.clntId = value;
return this;
}
/**
* Gets the value of the fsclXmptn property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isFsclXmptn() {
return fsclXmptn;
}
/**
* Sets the value of the fsclXmptn property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public InvestmentAccountOwnershipInformation8 setFsclXmptn(Boolean value) {
this.fsclXmptn = value;
return this;
}
/**
* Gets the value of the sgntryRghtInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isSgntryRghtInd() {
return sgntryRghtInd;
}
/**
* Sets the value of the sgntryRghtInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public InvestmentAccountOwnershipInformation8 setSgntryRghtInd(Boolean value) {
this.sgntryRghtInd = value;
return this;
}
/**
* Gets the value of the modfdInvstrPrflVldtn 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 modfdInvstrPrflVldtn property.
*
*
* For example, to add a new item, do as follows:
*
* getModfdInvstrPrflVldtn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ModificationScope19 }
*
*
*/
public List getModfdInvstrPrflVldtn() {
if (modfdInvstrPrflVldtn == null) {
modfdInvstrPrflVldtn = new ArrayList();
}
return this.modfdInvstrPrflVldtn;
}
/**
* Gets the value of the miFIDClssfctn property.
*
* @return
* possible object is
* {@link MiFIDClassification1 }
*
*/
public MiFIDClassification1 getMiFIDClssfctn() {
return miFIDClssfctn;
}
/**
* Sets the value of the miFIDClssfctn property.
*
* @param value
* allowed object is
* {@link MiFIDClassification1 }
*
*/
public InvestmentAccountOwnershipInformation8 setMiFIDClssfctn(MiFIDClassification1 value) {
this.miFIDClssfctn = value;
return this;
}
/**
* Gets the value of the infDstrbtn property.
*
* @return
* possible object is
* {@link InformationDistribution1Code }
*
*/
public InformationDistribution1Code getInfDstrbtn() {
return infDstrbtn;
}
/**
* Sets the value of the infDstrbtn property.
*
* @param value
* allowed object is
* {@link InformationDistribution1Code }
*
*/
public InvestmentAccountOwnershipInformation8 setInfDstrbtn(InformationDistribution1Code value) {
this.infDstrbtn = 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 modfdInvstrPrflVldtn list.
* @see #getModfdInvstrPrflVldtn()
*
*/
public InvestmentAccountOwnershipInformation8 addModfdInvstrPrflVldtn(ModificationScope19 modfdInvstrPrflVldtn) {
getModfdInvstrPrflVldtn().add(modfdInvstrPrflVldtn);
return this;
}
}