com.prowidesoftware.swift.model.mx.dic.AccountSubLevel14 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;
/**
* Account and holding of the next sub-level (Level 4).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountSubLevel14", propOrder = {
"acctId",
"acctOwnr",
"acctSvcr",
"bnfclOwnr",
"balDtls",
"acctSubLvl5",
"acctSubLvl5Diff",
"splmtryData"
})
public class AccountSubLevel14 {
@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 = "AcctSubLvl5")
protected List acctSubLvl5;
@XmlElement(name = "AcctSubLvl5Diff")
protected List acctSubLvl5Diff;
@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 AccountSubLevel14 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 AccountSubLevel14 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 AccountSubLevel14 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the bnfclOwnr property.
*/
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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the balDtls property.
*/
public List getBalDtls() {
if (balDtls == null) {
balDtls = new ArrayList<>();
}
return this.balDtls;
}
/**
* Gets the value of the acctSubLvl5 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 acctSubLvl5 property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl5().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountSubLevel15 }
*
*
* @return
* The value of the acctSubLvl5 property.
*/
public List getAcctSubLvl5() {
if (acctSubLvl5 == null) {
acctSubLvl5 = new ArrayList<>();
}
return this.acctSubLvl5;
}
/**
* Gets the value of the acctSubLvl5Diff 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 acctSubLvl5Diff property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl5Diff().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance2 }
*
*
* @return
* The value of the acctSubLvl5Diff property.
*/
public List getAcctSubLvl5Diff() {
if (acctSubLvl5Diff == null) {
acctSubLvl5Diff = new ArrayList<>();
}
return this.acctSubLvl5Diff;
}
/**
* 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the splmtryData property.
*/
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 AccountSubLevel14 addBnfclOwnr(BeneficialOwner2 bnfclOwnr) {
getBnfclOwnr().add(bnfclOwnr);
return this;
}
/**
* Adds a new item to the balDtls list.
* @see #getBalDtls()
*
*/
public AccountSubLevel14 addBalDtls(AggregateHoldingBalance3 balDtls) {
getBalDtls().add(balDtls);
return this;
}
/**
* Adds a new item to the acctSubLvl5 list.
* @see #getAcctSubLvl5()
*
*/
public AccountSubLevel14 addAcctSubLvl5(AccountSubLevel15 acctSubLvl5) {
getAcctSubLvl5().add(acctSubLvl5);
return this;
}
/**
* Adds a new item to the acctSubLvl5Diff list.
* @see #getAcctSubLvl5Diff()
*
*/
public AccountSubLevel14 addAcctSubLvl5Diff(AggregateHoldingBalance2 acctSubLvl5Diff) {
getAcctSubLvl5Diff().add(acctSubLvl5Diff);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountSubLevel14 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}