
com.prowidesoftware.swift.model.mx.dic.AccountSubLevel5 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 and holding of the next sub-level (Level 5).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountSubLevel5", propOrder = {
"acctId",
"acctOwnr",
"acctSvcr",
"bnfclOwnr",
"balForAcct",
"acctSubLvl6",
"acctSubLvl6Diff",
"agtCd",
"splmtryData"
})
public class AccountSubLevel5 {
@XmlElement(name = "AcctId", required = true)
protected SecuritiesAccount19 acctId;
@XmlElement(name = "AcctOwnr", required = true)
protected PartyIdentification100 acctOwnr;
@XmlElement(name = "AcctSvcr", required = true)
protected PartyIdentification100 acctSvcr;
@XmlElement(name = "BnfclOwnr")
protected List bnfclOwnr;
@XmlElement(name = "BalForAcct")
protected List balForAcct;
@XmlElement(name = "AcctSubLvl6")
protected List acctSubLvl6;
@XmlElement(name = "AcctSubLvl6Diff")
protected List acctSubLvl6Diff;
@XmlElement(name = "AgtCd")
protected List agtCd;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link SecuritiesAccount19 }
*
*/
public SecuritiesAccount19 getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount19 }
*
*/
public AccountSubLevel5 setAcctId(SecuritiesAccount19 value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification100 }
*
*/
public PartyIdentification100 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification100 }
*
*/
public AccountSubLevel5 setAcctOwnr(PartyIdentification100 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the acctSvcr property.
*
* @return
* possible object is
* {@link PartyIdentification100 }
*
*/
public PartyIdentification100 getAcctSvcr() {
return acctSvcr;
}
/**
* Sets the value of the acctSvcr property.
*
* @param value
* allowed object is
* {@link PartyIdentification100 }
*
*/
public AccountSubLevel5 setAcctSvcr(PartyIdentification100 value) {
this.acctSvcr = value;
return this;
}
/**
* Gets the value of the bnfclOwnr 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 bnfclOwnr property.
*
*
* For example, to add a new item, do as follows:
*
* getBnfclOwnr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BeneficialOwner2 }
*
*
*/
public List getBnfclOwnr() {
if (bnfclOwnr == null) {
bnfclOwnr = new ArrayList();
}
return this.bnfclOwnr;
}
/**
* Gets the value of the balForAcct 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 balForAcct property.
*
*
* For example, to add a new item, do as follows:
*
* getBalForAcct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance1 }
*
*
*/
public List getBalForAcct() {
if (balForAcct == null) {
balForAcct = new ArrayList();
}
return this.balForAcct;
}
/**
* Gets the value of the acctSubLvl6 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 acctSubLvl6 property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl6().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountSubLevel6 }
*
*
*/
public List getAcctSubLvl6() {
if (acctSubLvl6 == null) {
acctSubLvl6 = new ArrayList();
}
return this.acctSubLvl6;
}
/**
* Gets the value of the acctSubLvl6Diff 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 acctSubLvl6Diff property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl6Diff().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance2 }
*
*
*/
public List getAcctSubLvl6Diff() {
if (acctSubLvl6Diff == null) {
acctSubLvl6Diff = new ArrayList();
}
return this.acctSubLvl6Diff;
}
/**
* Gets the value of the agtCd 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 agtCd property.
*
*
* For example, to add a new item, do as follows:
*
* getAgtCd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary29 }
*
*
*/
public List getAgtCd() {
if (agtCd == null) {
agtCd = new ArrayList();
}
return this.agtCd;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 bnfclOwnr list.
* @see #getBnfclOwnr()
*
*/
public AccountSubLevel5 addBnfclOwnr(BeneficialOwner2 bnfclOwnr) {
getBnfclOwnr().add(bnfclOwnr);
return this;
}
/**
* Adds a new item to the balForAcct list.
* @see #getBalForAcct()
*
*/
public AccountSubLevel5 addBalForAcct(AggregateHoldingBalance1 balForAcct) {
getBalForAcct().add(balForAcct);
return this;
}
/**
* Adds a new item to the acctSubLvl6 list.
* @see #getAcctSubLvl6()
*
*/
public AccountSubLevel5 addAcctSubLvl6(AccountSubLevel6 acctSubLvl6) {
getAcctSubLvl6().add(acctSubLvl6);
return this;
}
/**
* Adds a new item to the acctSubLvl6Diff list.
* @see #getAcctSubLvl6Diff()
*
*/
public AccountSubLevel5 addAcctSubLvl6Diff(AggregateHoldingBalance2 acctSubLvl6Diff) {
getAcctSubLvl6Diff().add(acctSubLvl6Diff);
return this;
}
/**
* Adds a new item to the agtCd list.
* @see #getAgtCd()
*
*/
public AccountSubLevel5 addAgtCd(Intermediary29 agtCd) {
getAgtCd().add(agtCd);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountSubLevel5 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}