com.prowidesoftware.swift.model.mx.dic.SubAccountIdentification18 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;
/**
* Sub-account reporting.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubAccountIdentification18", propOrder = {
"acctOwnr",
"sfkpgAcct",
"actvtyInd",
"finInstrmDtls"
})
public class SubAccountIdentification18 {
@XmlElement(name = "AcctOwnr")
protected PartyIdentification51Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount16 sfkpgAcct;
@XmlElement(name = "ActvtyInd")
protected boolean actvtyInd;
@XmlElement(name = "FinInstrmDtls")
protected List finInstrmDtls;
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification51Choice }
*
*/
public PartyIdentification51Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification51Choice }
*
*/
public SubAccountIdentification18 setAcctOwnr(PartyIdentification51Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount16 }
*
*/
public SecuritiesAccount16 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount16 }
*
*/
public SubAccountIdentification18 setSfkpgAcct(SecuritiesAccount16 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the actvtyInd property.
*
*/
public boolean isActvtyInd() {
return actvtyInd;
}
/**
* Sets the value of the actvtyInd property.
*
*/
public SubAccountIdentification18 setActvtyInd(boolean value) {
this.actvtyInd = value;
return this;
}
/**
* Gets the value of the finInstrmDtls 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 finInstrmDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentDetails8 }
*
*
* @return
* The value of the finInstrmDtls property.
*/
public List getFinInstrmDtls() {
if (finInstrmDtls == null) {
finInstrmDtls = new ArrayList<>();
}
return this.finInstrmDtls;
}
@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 finInstrmDtls list.
* @see #getFinInstrmDtls()
*
*/
public SubAccountIdentification18 addFinInstrmDtls(FinancialInstrumentDetails8 finInstrmDtls) {
getFinInstrmDtls().add(finInstrmDtls);
return this;
}
}