com.prowidesoftware.swift.model.mx.dic.AccountSubLevel4 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 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 = "AccountSubLevel4", propOrder = {
"acctId",
"acctOwnr",
"acctSvcr",
"bnfclOwnr",
"balForAcct",
"acctSubLvl5",
"acctSubLvl5Diff",
"agt",
"splmtryData"
})
public class AccountSubLevel4 {
@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 = "AcctSubLvl5")
protected List acctSubLvl5;
@XmlElement(name = "AcctSubLvl5Diff")
protected List acctSubLvl5Diff;
@XmlElement(name = "Agt")
protected List agt;
@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 AccountSubLevel4 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 AccountSubLevel4 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 AccountSubLevel4 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 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the balForAcct property.
*/
public List getBalForAcct() {
if (balForAcct == null) {
balForAcct = new ArrayList<>();
}
return this.balForAcct;
}
/**
* 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 AccountSubLevel5 }
*
*
* @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 agt 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 agt property.
*
*
* For example, to add a new item, do as follows:
*
* getAgt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary29 }
*
*
* @return
* The value of the agt property.
*/
public List getAgt() {
if (agt == null) {
agt = new ArrayList<>();
}
return this.agt;
}
/**
* 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 AccountSubLevel4 addBnfclOwnr(BeneficialOwner2 bnfclOwnr) {
getBnfclOwnr().add(bnfclOwnr);
return this;
}
/**
* Adds a new item to the balForAcct list.
* @see #getBalForAcct()
*
*/
public AccountSubLevel4 addBalForAcct(AggregateHoldingBalance1 balForAcct) {
getBalForAcct().add(balForAcct);
return this;
}
/**
* Adds a new item to the acctSubLvl5 list.
* @see #getAcctSubLvl5()
*
*/
public AccountSubLevel4 addAcctSubLvl5(AccountSubLevel5 acctSubLvl5) {
getAcctSubLvl5().add(acctSubLvl5);
return this;
}
/**
* Adds a new item to the acctSubLvl5Diff list.
* @see #getAcctSubLvl5Diff()
*
*/
public AccountSubLevel4 addAcctSubLvl5Diff(AggregateHoldingBalance2 acctSubLvl5Diff) {
getAcctSubLvl5Diff().add(acctSubLvl5Diff);
return this;
}
/**
* Adds a new item to the agt list.
* @see #getAgt()
*
*/
public AccountSubLevel4 addAgt(Intermediary29 agt) {
getAgt().add(agt);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountSubLevel4 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}