
com.prowidesoftware.swift.model.mx.dic.InvestmentAccount13 Maven / Gradle / Ivy
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;
/**
* 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 = "InvestmentAccount13", propOrder = {
"acctId",
"acctNm",
"acctDsgnt",
"ownrId",
"acctSvcr"
})
public class InvestmentAccount13 {
@XmlElement(name = "AcctId", required = true)
protected AccountIdentification1 acctId;
@XmlElement(name = "AcctNm")
protected String acctNm;
@XmlElement(name = "AcctDsgnt")
protected String acctDsgnt;
@XmlElement(name = "OwnrId")
protected List ownrId;
@XmlElement(name = "AcctSvcr")
protected PartyIdentification2Choice acctSvcr;
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link AccountIdentification1 }
*
*/
public AccountIdentification1 getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link AccountIdentification1 }
*
*/
public InvestmentAccount13 setAcctId(AccountIdentification1 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 InvestmentAccount13 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 InvestmentAccount13 setAcctDsgnt(String value) {
this.acctDsgnt = value;
return this;
}
/**
* 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 PartyIdentification2Choice }
*
*
*/
public List getOwnrId() {
if (ownrId == null) {
ownrId = new ArrayList();
}
return this.ownrId;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link PartyIdentification2Choice }
*
*/
public PartyIdentification2Choice getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link PartyIdentification2Choice }
*
*/
public InvestmentAccount13 setAcctSvcr(PartyIdentification2Choice 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 ownrId list.
* @see #getOwnrId()
*
*/
public InvestmentAccount13 addOwnrId(PartyIdentification2Choice ownrId) {
getOwnrId().add(ownrId);
return this;
}
}