com.prowidesoftware.swift.model.mx.dic.AccountSubLevel3 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 3).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountSubLevel3", propOrder = {
"acctId",
"acctOwnr",
"acctSvcr",
"bnfclOwnr",
"balForAcct",
"acctSubLvl4",
"acctSubLvl4Diff",
"agt",
"splmtryData"
})
public class AccountSubLevel3 {
@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 = "AcctSubLvl4")
protected List acctSubLvl4;
@XmlElement(name = "AcctSubLvl4Diff")
protected List acctSubLvl4Diff;
@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 AccountSubLevel3 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 AccountSubLevel3 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 AccountSubLevel3 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 acctSubLvl4 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 acctSubLvl4 property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl4().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountSubLevel4 }
*
*
*/
public List getAcctSubLvl4() {
if (acctSubLvl4 == null) {
acctSubLvl4 = new ArrayList();
}
return this.acctSubLvl4;
}
/**
* Gets the value of the acctSubLvl4Diff 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 acctSubLvl4Diff property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctSubLvl4Diff().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateHoldingBalance2 }
*
*
*/
public List getAcctSubLvl4Diff() {
if (acctSubLvl4Diff == null) {
acctSubLvl4Diff = new ArrayList();
}
return this.acctSubLvl4Diff;
}
/**
* 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 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 AccountSubLevel3 addBnfclOwnr(BeneficialOwner2 bnfclOwnr) {
getBnfclOwnr().add(bnfclOwnr);
return this;
}
/**
* Adds a new item to the balForAcct list.
* @see #getBalForAcct()
*
*/
public AccountSubLevel3 addBalForAcct(AggregateHoldingBalance1 balForAcct) {
getBalForAcct().add(balForAcct);
return this;
}
/**
* Adds a new item to the acctSubLvl4 list.
* @see #getAcctSubLvl4()
*
*/
public AccountSubLevel3 addAcctSubLvl4(AccountSubLevel4 acctSubLvl4) {
getAcctSubLvl4().add(acctSubLvl4);
return this;
}
/**
* Adds a new item to the acctSubLvl4Diff list.
* @see #getAcctSubLvl4Diff()
*
*/
public AccountSubLevel3 addAcctSubLvl4Diff(AggregateHoldingBalance2 acctSubLvl4Diff) {
getAcctSubLvl4Diff().add(acctSubLvl4Diff);
return this;
}
/**
* Adds a new item to the agt list.
* @see #getAgt()
*
*/
public AccountSubLevel3 addAgt(Intermediary29 agt) {
getAgt().add(agt);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AccountSubLevel3 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}