
com.prowidesoftware.swift.model.mx.dic.AccountSubLevel16 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;
/**
* Account and holding of the next sub-level (Level 6).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountSubLevel16", propOrder = {
"acctId",
"acctOwnr",
"acctSvcr",
"bnfclOwnr",
"balDtls",
"acctSubLvl7",
"acctSubLvl7Diff",
"splmtryData"
})
public class AccountSubLevel16 {
@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 = "BalDtls")
protected List balDtls;
@XmlElement(name = "AcctSubLvl7")
protected List acctSubLvl7;
@XmlElement(name = "AcctSubLvl7Diff")
protected List acctSubLvl7Diff;
@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 AccountSubLevel16 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 AccountSubLevel16 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 AccountSubLevel16 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 balDtls 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 balDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getBalDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance3 }
*
*
*/
public List getBalDtls() {
if (balDtls == null) {
balDtls = new ArrayList();
}
return this.balDtls;
}
/**
* Gets the value of the acctSubLvl7 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 acctSubLvl7 property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl7().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountSubLevel17 }
*
*
*/
public List getAcctSubLvl7() {
if (acctSubLvl7 == null) {
acctSubLvl7 = new ArrayList();
}
return this.acctSubLvl7;
}
/**
* Gets the value of the acctSubLvl7Diff 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 acctSubLvl7Diff property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl7Diff().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance2 }
*
*
*/
public List getAcctSubLvl7Diff() {
if (acctSubLvl7Diff == null) {
acctSubLvl7Diff = new ArrayList();
}
return this.acctSubLvl7Diff;
}
/**
* 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 AccountSubLevel16 addBnfclOwnr(BeneficialOwner2 bnfclOwnr) {
getBnfclOwnr().add(bnfclOwnr);
return this;
}
/**
* Adds a new item to the balDtls list.
* @see #getBalDtls()
*
*/
public AccountSubLevel16 addBalDtls(AggregateHoldingBalance3 balDtls) {
getBalDtls().add(balDtls);
return this;
}
/**
* Adds a new item to the acctSubLvl7 list.
* @see #getAcctSubLvl7()
*
*/
public AccountSubLevel16 addAcctSubLvl7(AccountSubLevel17 acctSubLvl7) {
getAcctSubLvl7().add(acctSubLvl7);
return this;
}
/**
* Adds a new item to the acctSubLvl7Diff list.
* @see #getAcctSubLvl7Diff()
*
*/
public AccountSubLevel16 addAcctSubLvl7Diff(AggregateHoldingBalance2 acctSubLvl7Diff) {
getAcctSubLvl7Diff().add(acctSubLvl7Diff);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountSubLevel16 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}