
com.prowidesoftware.swift.model.mx.dic.InvestmentAccountOwnershipInformation5 Maven / Gradle / Ivy
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 = "InvestmentAccountOwnershipInformation5", propOrder = {
"org",
"indvPrsn",
"mnyLndrgChck",
"xtndedMnyLndrgChck",
"invstrPrflVldtn",
"ownrshBnfcryRate",
"clntId",
"fsclXmptn",
"sgntryRghtInd"
})
public class InvestmentAccountOwnershipInformation5 {
@XmlElement(name = "Org")
protected Organisation2 org;
@XmlElement(name = "IndvPrsn")
protected IndividualPerson10 indvPrsn;
@XmlElement(name = "MnyLndrgChck")
@XmlSchemaType(name = "string")
protected MoneyLaunderingCheck1Code mnyLndrgChck;
@XmlElement(name = "XtndedMnyLndrgChck")
protected String xtndedMnyLndrgChck;
@XmlElement(name = "InvstrPrflVldtn")
protected List invstrPrflVldtn;
@XmlElement(name = "OwnrshBnfcryRate")
protected BigDecimal ownrshBnfcryRate;
@XmlElement(name = "ClntId")
protected String clntId;
@XmlElement(name = "FsclXmptn")
protected Boolean fsclXmptn;
@XmlElement(name = "SgntryRghtInd")
protected Boolean sgntryRghtInd;
/**
* Gets the value of the org property.
*
* @return
* possible object is
* {@link Organisation2 }
*
*/
public Organisation2 getOrg() {
return org;
}
/**
* Sets the value of the org property.
*
* @param value
* allowed object is
* {@link Organisation2 }
*
*/
public InvestmentAccountOwnershipInformation5 setOrg(Organisation2 value) {
this.org = value;
return this;
}
/**
* Gets the value of the indvPrsn property.
*
* @return
* possible object is
* {@link IndividualPerson10 }
*
*/
public IndividualPerson10 getIndvPrsn() {
return indvPrsn;
}
/**
* Sets the value of the indvPrsn property.
*
* @param value
* allowed object is
* {@link IndividualPerson10 }
*
*/
public InvestmentAccountOwnershipInformation5 setIndvPrsn(IndividualPerson10 value) {
this.indvPrsn = value;
return this;
}
/**
* Gets the value of the mnyLndrgChck property.
*
* @return
* possible object is
* {@link MoneyLaunderingCheck1Code }
*
*/
public MoneyLaunderingCheck1Code getMnyLndrgChck() {
return mnyLndrgChck;
}
/**
* Sets the value of the mnyLndrgChck property.
*
* @param value
* allowed object is
* {@link MoneyLaunderingCheck1Code }
*
*/
public InvestmentAccountOwnershipInformation5 setMnyLndrgChck(MoneyLaunderingCheck1Code value) {
this.mnyLndrgChck = value;
return this;
}
/**
* Gets the value of the xtndedMnyLndrgChck property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getXtndedMnyLndrgChck() {
return xtndedMnyLndrgChck;
}
/**
* Sets the value of the xtndedMnyLndrgChck property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccountOwnershipInformation5 setXtndedMnyLndrgChck(String value) {
this.xtndedMnyLndrgChck = value;
return this;
}
/**
* Gets the value of the invstrPrflVldtn 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 invstrPrflVldtn property.
*
*
* For example, to add a new item, do as follows:
*
* getInvstrPrflVldtn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyProfileInformation1 }
*
*
*/
public List getInvstrPrflVldtn() {
if (invstrPrflVldtn == null) {
invstrPrflVldtn = new ArrayList();
}
return this.invstrPrflVldtn;
}
/**
* 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 InvestmentAccountOwnershipInformation5 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 InvestmentAccountOwnershipInformation5 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 InvestmentAccountOwnershipInformation5 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 InvestmentAccountOwnershipInformation5 setSgntryRghtInd(Boolean value) {
this.sgntryRghtInd = 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 invstrPrflVldtn list.
* @see #getInvstrPrflVldtn()
*
*/
public InvestmentAccountOwnershipInformation5 addInvstrPrflVldtn(PartyProfileInformation1 invstrPrflVldtn) {
getInvstrPrflVldtn().add(invstrPrflVldtn);
return this;
}
}