com.prowidesoftware.swift.model.mx.dic.AccountParties8 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.XmlSchemaType;
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;
/**
* Party related to an investment account.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AccountParties8", propOrder = {
"modScpIndctn",
"prncplAcctPty",
"scndryOwnr",
"bnfcry",
"pwrOfAttny",
"lglGuardn",
"sucssrOnDth",
"admstr",
"othrPty",
"grntr",
"sttlr"
})
public class AccountParties8 {
@XmlElement(name = "ModScpIndctn", required = true)
@XmlSchemaType(name = "string")
protected DataModification1Code modScpIndctn;
@XmlElement(name = "PrncplAcctPty")
protected AccountParties3Choice prncplAcctPty;
@XmlElement(name = "ScndryOwnr")
protected List scndryOwnr;
@XmlElement(name = "Bnfcry")
protected List bnfcry;
@XmlElement(name = "PwrOfAttny")
protected List pwrOfAttny;
@XmlElement(name = "LglGuardn")
protected List lglGuardn;
@XmlElement(name = "SucssrOnDth")
protected InvestmentAccountOwnershipInformation8 sucssrOnDth;
@XmlElement(name = "Admstr")
protected List admstr;
@XmlElement(name = "OthrPty")
protected List othrPty;
@XmlElement(name = "Grntr")
protected List grntr;
@XmlElement(name = "Sttlr")
protected List sttlr;
/**
* Gets the value of the modScpIndctn property.
*
* @return
* possible object is
* {@link DataModification1Code }
*
*/
public DataModification1Code getModScpIndctn() {
return modScpIndctn;
}
/**
* Sets the value of the modScpIndctn property.
*
* @param value
* allowed object is
* {@link DataModification1Code }
*
*/
public AccountParties8 setModScpIndctn(DataModification1Code value) {
this.modScpIndctn = value;
return this;
}
/**
* Gets the value of the prncplAcctPty property.
*
* @return
* possible object is
* {@link AccountParties3Choice }
*
*/
public AccountParties3Choice getPrncplAcctPty() {
return prncplAcctPty;
}
/**
* Sets the value of the prncplAcctPty property.
*
* @param value
* allowed object is
* {@link AccountParties3Choice }
*
*/
public AccountParties8 setPrncplAcctPty(AccountParties3Choice value) {
this.prncplAcctPty = value;
return this;
}
/**
* Gets the value of the scndryOwnr 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 scndryOwnr property.
*
*
* For example, to add a new item, do as follows:
*
* getScndryOwnr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getScndryOwnr() {
if (scndryOwnr == null) {
scndryOwnr = new ArrayList();
}
return this.scndryOwnr;
}
/**
* Gets the value of the bnfcry 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 bnfcry property.
*
*
* For example, to add a new item, do as follows:
*
* getBnfcry().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getBnfcry() {
if (bnfcry == null) {
bnfcry = new ArrayList();
}
return this.bnfcry;
}
/**
* Gets the value of the pwrOfAttny 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 pwrOfAttny property.
*
*
* For example, to add a new item, do as follows:
*
* getPwrOfAttny().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getPwrOfAttny() {
if (pwrOfAttny == null) {
pwrOfAttny = new ArrayList();
}
return this.pwrOfAttny;
}
/**
* Gets the value of the lglGuardn 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 lglGuardn property.
*
*
* For example, to add a new item, do as follows:
*
* getLglGuardn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getLglGuardn() {
if (lglGuardn == null) {
lglGuardn = new ArrayList();
}
return this.lglGuardn;
}
/**
* Gets the value of the sucssrOnDth property.
*
* @return
* possible object is
* {@link InvestmentAccountOwnershipInformation8 }
*
*/
public InvestmentAccountOwnershipInformation8 getSucssrOnDth() {
return sucssrOnDth;
}
/**
* Sets the value of the sucssrOnDth property.
*
* @param value
* allowed object is
* {@link InvestmentAccountOwnershipInformation8 }
*
*/
public AccountParties8 setSucssrOnDth(InvestmentAccountOwnershipInformation8 value) {
this.sucssrOnDth = value;
return this;
}
/**
* Gets the value of the admstr 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 admstr property.
*
*
* For example, to add a new item, do as follows:
*
* getAdmstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getAdmstr() {
if (admstr == null) {
admstr = new ArrayList();
}
return this.admstr;
}
/**
* Gets the value of the othrPty 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 othrPty property.
*
*
* For example, to add a new item, do as follows:
*
* getOthrPty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ExtendedParty5 }
*
*
*/
public List getOthrPty() {
if (othrPty == null) {
othrPty = new ArrayList();
}
return this.othrPty;
}
/**
* Gets the value of the grntr 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 grntr property.
*
*
* For example, to add a new item, do as follows:
*
* getGrntr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getGrntr() {
if (grntr == null) {
grntr = new ArrayList();
}
return this.grntr;
}
/**
* Gets the value of the sttlr 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 sttlr property.
*
*
* For example, to add a new item, do as follows:
*
* getSttlr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InvestmentAccountOwnershipInformation8 }
*
*
*/
public List getSttlr() {
if (sttlr == null) {
sttlr = new ArrayList();
}
return this.sttlr;
}
@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 scndryOwnr list.
* @see #getScndryOwnr()
*
*/
public AccountParties8 addScndryOwnr(InvestmentAccountOwnershipInformation8 scndryOwnr) {
getScndryOwnr().add(scndryOwnr);
return this;
}
/**
* Adds a new item to the bnfcry list.
* @see #getBnfcry()
*
*/
public AccountParties8 addBnfcry(InvestmentAccountOwnershipInformation8 bnfcry) {
getBnfcry().add(bnfcry);
return this;
}
/**
* Adds a new item to the pwrOfAttny list.
* @see #getPwrOfAttny()
*
*/
public AccountParties8 addPwrOfAttny(InvestmentAccountOwnershipInformation8 pwrOfAttny) {
getPwrOfAttny().add(pwrOfAttny);
return this;
}
/**
* Adds a new item to the lglGuardn list.
* @see #getLglGuardn()
*
*/
public AccountParties8 addLglGuardn(InvestmentAccountOwnershipInformation8 lglGuardn) {
getLglGuardn().add(lglGuardn);
return this;
}
/**
* Adds a new item to the admstr list.
* @see #getAdmstr()
*
*/
public AccountParties8 addAdmstr(InvestmentAccountOwnershipInformation8 admstr) {
getAdmstr().add(admstr);
return this;
}
/**
* Adds a new item to the othrPty list.
* @see #getOthrPty()
*
*/
public AccountParties8 addOthrPty(ExtendedParty5 othrPty) {
getOthrPty().add(othrPty);
return this;
}
/**
* Adds a new item to the grntr list.
* @see #getGrntr()
*
*/
public AccountParties8 addGrntr(InvestmentAccountOwnershipInformation8 grntr) {
getGrntr().add(grntr);
return this;
}
/**
* Adds a new item to the sttlr list.
* @see #getSttlr()
*
*/
public AccountParties8 addSttlr(InvestmentAccountOwnershipInformation8 sttlr) {
getSttlr().add(sttlr);
return this;
}
}