com.prowidesoftware.swift.model.mx.dic.InvestmentAccount64 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.util.ArrayList;
import java.util.List;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.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 = "InvestmentAccount64", propOrder = {
"nm",
"dsgnt",
"fndTp",
"fndFmlyNm",
"sctyDtls",
"acctOwnr",
"intrmy",
"acctSvcr"
})
public class InvestmentAccount64 {
@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 AccountOwner2Choice acctOwnr;
@XmlElement(name = "Intrmy")
protected List intrmy;
@XmlElement(name = "AcctSvcr")
protected PartyIdentification70Choice 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 InvestmentAccount64 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 InvestmentAccount64 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 InvestmentAccount64 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 InvestmentAccount64 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 InvestmentAccount64 setSctyDtls(FinancialInstrument55 value) {
this.sctyDtls = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link AccountOwner2Choice }
*
*/
public AccountOwner2Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link AccountOwner2Choice }
*
*/
public InvestmentAccount64 setAcctOwnr(AccountOwner2Choice 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 Intermediary33 }
*
*
* @return
* The value of the intrmy property.
*/
public List getIntrmy() {
if (intrmy == null) {
intrmy = new ArrayList<>();
}
return this.intrmy;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link PartyIdentification70Choice }
*
*/
public PartyIdentification70Choice getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link PartyIdentification70Choice }
*
*/
public InvestmentAccount64 setAcctSvcr(PartyIdentification70Choice 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 InvestmentAccount64 addIntrmy(Intermediary33 intrmy) {
getIntrmy().add(intrmy);
return this;
}
}