com.prowidesoftware.swift.model.mx.dic.SecuritiesStatementQuery002V06 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;
/**
* Scope
* An account owner sends a SecuritiesStatementQuery to an account servicer to request any existing securities statement.
* The account owner/servicer relationship may be:
* - a global custodian which has an account with a local custodian, or
* - an investment management institution which manage a fund account opened at a custodian, or
* - a broker which has an account with a custodian, or
* - a central securities depository participant which has an account with a central securities depository, or
* - a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or
* - a central counterparty or a stock exchange or a trade matching utility which need to instruct to a central securities depository or another settlement market infrastructure.
*
* Usage
* The message may also be used to:
* - re-send a message previously sent,
* - provide a third party with a copy of a message for information,
* - re-send to a third party a copy of a message for information
* using the relevant elements in the Business Application Header.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesStatementQuery002V06", propOrder = {
"stmtReqd",
"stmtGnlDtls",
"acctOwnr",
"sfkpgAcct",
"addtlQryParams",
"splmtryData"
})
public class SecuritiesStatementQuery002V06 {
@XmlElement(name = "StmtReqd", required = true)
protected DocumentNumber14 stmtReqd;
@XmlElement(name = "StmtGnlDtls")
protected Statement54 stmtGnlDtls;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification109 acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount27 sfkpgAcct;
@XmlElement(name = "AddtlQryParams")
protected List addtlQryParams;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the stmtReqd property.
*
* @return
* possible object is
* {@link DocumentNumber14 }
*
*/
public DocumentNumber14 getStmtReqd() {
return stmtReqd;
}
/**
* Sets the value of the stmtReqd property.
*
* @param value
* allowed object is
* {@link DocumentNumber14 }
*
*/
public SecuritiesStatementQuery002V06 setStmtReqd(DocumentNumber14 value) {
this.stmtReqd = value;
return this;
}
/**
* Gets the value of the stmtGnlDtls property.
*
* @return
* possible object is
* {@link Statement54 }
*
*/
public Statement54 getStmtGnlDtls() {
return stmtGnlDtls;
}
/**
* Sets the value of the stmtGnlDtls property.
*
* @param value
* allowed object is
* {@link Statement54 }
*
*/
public SecuritiesStatementQuery002V06 setStmtGnlDtls(Statement54 value) {
this.stmtGnlDtls = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification109 }
*
*/
public PartyIdentification109 getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification109 }
*
*/
public SecuritiesStatementQuery002V06 setAcctOwnr(PartyIdentification109 value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount27 }
*
*/
public SecuritiesAccount27 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount27 }
*
*/
public SecuritiesStatementQuery002V06 setSfkpgAcct(SecuritiesAccount27 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the addtlQryParams 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 addtlQryParams property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlQryParams().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalQueryParameters12 }
*
*
* @return
* The value of the addtlQryParams property.
*/
public List getAddtlQryParams() {
if (addtlQryParams == null) {
addtlQryParams = new ArrayList<>();
}
return this.addtlQryParams;
}
/**
* 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 addtlQryParams list.
* @see #getAddtlQryParams()
*
*/
public SecuritiesStatementQuery002V06 addAddtlQryParams(AdditionalQueryParameters12 addtlQryParams) {
getAddtlQryParams().add(addtlQryParams);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuritiesStatementQuery002V06 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}