com.prowidesoftware.swift.model.mx.dic.InvestmentAccount76 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;
/**
* Information about a securities account and its characteristics.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "InvestmentAccount76", propOrder = {
"nm",
"dsgnt",
"fndTp",
"fndFmlyNm",
"sctyDtls",
"acctOwnr",
"intrmy",
"acctSvcr"
})
public class InvestmentAccount76 {
@XmlElement(name = "Nm")
protected String nm;
@XmlElement(name = "Dsgnt")
protected String dsgnt;
@XmlElement(name = "FndTp")
protected String fndTp;
@XmlElement(name = "FndFmlyNm")
protected String fndFmlyNm;
@XmlElement(name = "SctyDtls")
protected FinancialInstrument55 sctyDtls;
@XmlElement(name = "AcctOwnr")
protected AccountOwner3Choice acctOwnr;
@XmlElement(name = "Intrmy")
protected List intrmy;
@XmlElement(name = "AcctSvcr")
protected PartyIdentification125Choice acctSvcr;
/**
* Gets the value of the nm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNm() {
return nm;
}
/**
* Sets the value of the nm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount76 setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the dsgnt property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getDsgnt() {
return dsgnt;
}
/**
* Sets the value of the dsgnt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount76 setDsgnt(String value) {
this.dsgnt = value;
return this;
}
/**
* Gets the value of the fndTp property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFndTp() {
return fndTp;
}
/**
* Sets the value of the fndTp property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount76 setFndTp(String value) {
this.fndTp = value;
return this;
}
/**
* Gets the value of the fndFmlyNm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFndFmlyNm() {
return fndFmlyNm;
}
/**
* Sets the value of the fndFmlyNm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public InvestmentAccount76 setFndFmlyNm(String value) {
this.fndFmlyNm = value;
return this;
}
/**
* Gets the value of the sctyDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument55 }
*
*/
public FinancialInstrument55 getSctyDtls() {
return sctyDtls;
}
/**
* Sets the value of the sctyDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument55 }
*
*/
public InvestmentAccount76 setSctyDtls(FinancialInstrument55 value) {
this.sctyDtls = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link AccountOwner3Choice }
*
*/
public AccountOwner3Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link AccountOwner3Choice }
*
*/
public InvestmentAccount76 setAcctOwnr(AccountOwner3Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the intrmy 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 intrmy property.
*
*
* For example, to add a new item, do as follows:
*
* getIntrmy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary47 }
*
*
*/
public List getIntrmy() {
if (intrmy == null) {
intrmy = new ArrayList();
}
return this.intrmy;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link PartyIdentification125Choice }
*
*/
public PartyIdentification125Choice getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link PartyIdentification125Choice }
*
*/
public InvestmentAccount76 setAcctSvcr(PartyIdentification125Choice value) {
this.acctSvcr = 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 intrmy list.
* @see #getIntrmy()
*
*/
public InvestmentAccount76 addIntrmy(Intermediary47 intrmy) {
getIntrmy().add(intrmy);
return this;
}
}