com.prowidesoftware.swift.model.mx.dic.InvestmentAccount66 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.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;
/**
* Account between an investor(s) and a fund manager or a fund. The account can contain holdings in any investment fund or investment fund class managed (or distributed) by the fund manager, within the same fund family.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvestmentAccount66", propOrder = {
"ownrId",
"acctId",
"acctNm",
"acctDsgnt",
"intrmyInf",
"sctiesForm",
"dmtrlsdInd",
"incmPref",
"bnfcryCertfctnCmpltn",
"sfkpgPlc",
"acctSvcr",
"subAcctDtls",
"sttlmPtiesDtls"
})
public class InvestmentAccount66 {
@XmlElement(name = "OwnrId")
protected List ownrId;
@XmlElement(name = "AcctId", required = true)
protected String acctId;
@XmlElement(name = "AcctNm")
protected String acctNm;
@XmlElement(name = "AcctDsgnt")
protected String acctDsgnt;
@XmlElement(name = "IntrmyInf")
protected List intrmyInf;
@XmlElement(name = "SctiesForm")
@XmlSchemaType(name = "string")
protected FormOfSecurity1Code sctiesForm;
@XmlElement(name = "DmtrlsdInd")
protected Boolean dmtrlsdInd;
@XmlElement(name = "IncmPref")
@XmlSchemaType(name = "string")
protected IncomePreference2Code incmPref;
@XmlElement(name = "BnfcryCertfctnCmpltn")
@XmlSchemaType(name = "string")
protected BeneficiaryCertificationCompletion1Code bnfcryCertfctnCmpltn;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat8Choice sfkpgPlc;
@XmlElement(name = "AcctSvcr")
protected PartyIdentification113 acctSvcr;
@XmlElement(name = "SubAcctDtls")
protected SubAccount5 subAcctDtls;
@XmlElement(name = "SttlmPtiesDtls")
protected DeliveringPartiesAndAccount18 sttlmPtiesDtls;
/**
* Gets the value of the ownrId 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 ownrId property.
*
*
* For example, to add a new item, do as follows:
*
* getOwnrId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PartyIdentification113 }
*
*
*/
public List getOwnrId() {
if (ownrId == null) {
ownrId = new ArrayList();
}
return this.ownrId;
}
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount66 setAcctId(String value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the acctNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctNm() {
return acctNm;
}
/**
* Sets the value of the acctNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount66 setAcctNm(String value) {
this.acctNm = value;
return this;
}
/**
* Gets the value of the acctDsgnt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctDsgnt() {
return acctDsgnt;
}
/**
* Sets the value of the acctDsgnt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount66 setAcctDsgnt(String value) {
this.acctDsgnt = value;
return this;
}
/**
* Gets the value of the intrmyInf 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 intrmyInf property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrmyInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary41 }
*
*
*/
public List getIntrmyInf() {
if (intrmyInf == null) {
intrmyInf = new ArrayList();
}
return this.intrmyInf;
}
/**
* Gets the value of the sctiesForm property.
*
* @return
* possible object is
* {@link FormOfSecurity1Code }
*
*/
public FormOfSecurity1Code getSctiesForm() {
return sctiesForm;
}
/**
* Sets the value of the sctiesForm property.
*
* @param value
* allowed object is
* {@link FormOfSecurity1Code }
*
*/
public InvestmentAccount66 setSctiesForm(FormOfSecurity1Code value) {
this.sctiesForm = value;
return this;
}
/**
* Gets the value of the dmtrlsdInd property.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDmtrlsdInd() {
return dmtrlsdInd;
}
/**
* Sets the value of the dmtrlsdInd property.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public InvestmentAccount66 setDmtrlsdInd(Boolean value) {
this.dmtrlsdInd = value;
return this;
}
/**
* Gets the value of the incmPref property.
*
* @return
* possible object is
* {@link IncomePreference2Code }
*
*/
public IncomePreference2Code getIncmPref() {
return incmPref;
}
/**
* Sets the value of the incmPref property.
*
* @param value
* allowed object is
* {@link IncomePreference2Code }
*
*/
public InvestmentAccount66 setIncmPref(IncomePreference2Code value) {
this.incmPref = value;
return this;
}
/**
* Gets the value of the bnfcryCertfctnCmpltn property.
*
* @return
* possible object is
* {@link BeneficiaryCertificationCompletion1Code }
*
*/
public BeneficiaryCertificationCompletion1Code getBnfcryCertfctnCmpltn() {
return bnfcryCertfctnCmpltn;
}
/**
* Sets the value of the bnfcryCertfctnCmpltn property.
*
* @param value
* allowed object is
* {@link BeneficiaryCertificationCompletion1Code }
*
*/
public InvestmentAccount66 setBnfcryCertfctnCmpltn(BeneficiaryCertificationCompletion1Code value) {
this.bnfcryCertfctnCmpltn = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat8Choice }
*
*/
public SafekeepingPlaceFormat8Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat8Choice }
*
*/
public InvestmentAccount66 setSfkpgPlc(SafekeepingPlaceFormat8Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link PartyIdentification113 }
*
*/
public PartyIdentification113 getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link PartyIdentification113 }
*
*/
public InvestmentAccount66 setAcctSvcr(PartyIdentification113 value) {
this.acctSvcr = value;
return this;
}
/**
* Gets the value of the subAcctDtls property.
*
* @return
* possible object is
* {@link SubAccount5 }
*
*/
public SubAccount5 getSubAcctDtls() {
return subAcctDtls;
}
/**
* Sets the value of the subAcctDtls property.
*
* @param value
* allowed object is
* {@link SubAccount5 }
*
*/
public InvestmentAccount66 setSubAcctDtls(SubAccount5 value) {
this.subAcctDtls = value;
return this;
}
/**
* Gets the value of the sttlmPtiesDtls property.
*
* @return
* possible object is
* {@link DeliveringPartiesAndAccount18 }
*
*/
public DeliveringPartiesAndAccount18 getSttlmPtiesDtls() {
return sttlmPtiesDtls;
}
/**
* Sets the value of the sttlmPtiesDtls property.
*
* @param value
* allowed object is
* {@link DeliveringPartiesAndAccount18 }
*
*/
public InvestmentAccount66 setSttlmPtiesDtls(DeliveringPartiesAndAccount18 value) {
this.sttlmPtiesDtls = 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 ownrId list.
* @see #getOwnrId()
*
*/
public InvestmentAccount66 addOwnrId(PartyIdentification113 ownrId) {
getOwnrId().add(ownrId);
return this;
}
/**
* Adds a new item to the intrmyInf list.
* @see #getIntrmyInf()
*
*/
public InvestmentAccount66 addIntrmyInf(Intermediary41 intrmyInf) {
getIntrmyInf().add(intrmyInf);
return this;
}
}