
com.prowidesoftware.swift.model.mx.dic.SecuritiesTransactionPostingReport002V01 Maven / Gradle / Ivy
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;
/**
* Scope
* An account servicer sends a SecuritiesTransactionPostingReport to an account owner to provide the details of increases and decreases of holdings which occurred during a specified period, for all or selected securities in the specified safekeeping account or sub-safekeeping account which the account servicer holds for the account owner.
* The account servicer/owner relationship may be:
* - a central securities depository or another settlement market infrastructure acting on behalf of their participants
* - an agent (sub-custodian) acting on behalf of their global custodian customer, or
* - a custodian acting on behalf of an investment management institution or a broker/dealer.
* Usage
* This message may be used as a trade date based or a settlement date based statement.
* The message may also be used to:
* - re-send a message previously sent (the sub-function of the message is Duplicate),
* - provide a third party with a copy of a message for information (the sub-function of the message is Copy),
* - re-send to a third party a copy of a message for information (the sub-function of the message is Copy Duplicate).
* ISO 15022 - 20022 Coexistence Subset
* This message definition is a subset of an ISO 20022 message that was reversed engineered from ISO 15022. A subset is a message definition that is compatible with another definition, but is more restrictive.
* The ISO 15022 and ISO 20022 standards will coexist for a number of years. Until this coexistence period ends, the usage of certain data types is restricted to ensure interoperability between ISO 15022 and 20022 users. These restrictions, which are described by textual usage rules in the ISO 20022 message, have been made mandatory in this subset.
* NOTE: The ISO 20022 message coexistence textual rules have been kept in the subset to explain why specific data types have been restricted. These textual rules are identified as follows: CoexistenceXxxxRule.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTransactionPostingReport.002V01", propOrder = {
"id",
"pgntn",
"stmtGnlDtls",
"acctOwnr",
"sfkpgAcct",
"finInstrmDtls",
"subAcctDtls",
"msgOrgtr",
"msgRcpt"
})
public class SecuritiesTransactionPostingReport002V01 {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification16 id;
@XmlElement(name = "Pgntn", required = true)
protected Pagination pgntn;
@XmlElement(name = "StmtGnlDtls", required = true)
protected Statement27 stmtGnlDtls;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification18Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount17 sfkpgAcct;
@XmlElement(name = "FinInstrmDtls")
protected List finInstrmDtls;
@XmlElement(name = "SubAcctDtls")
protected List subAcctDtls;
@XmlElement(name = "MsgOrgtr")
protected PartyIdentification16Choice msgOrgtr;
@XmlElement(name = "MsgRcpt")
protected PartyIdentification16Choice msgRcpt;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification16 }
*
*/
public DocumentIdentification16 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification16 }
*
*/
public SecuritiesTransactionPostingReport002V01 setId(DocumentIdentification16 value) {
this.id = value;
return this;
}
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination }
*
*/
public Pagination getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination }
*
*/
public SecuritiesTransactionPostingReport002V01 setPgntn(Pagination value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the stmtGnlDtls property.
*
* @return
* possible object is
* {@link Statement27 }
*
*/
public Statement27 getStmtGnlDtls() {
return stmtGnlDtls;
}
/**
* Sets the value of the stmtGnlDtls property.
*
* @param value
* allowed object is
* {@link Statement27 }
*
*/
public SecuritiesTransactionPostingReport002V01 setStmtGnlDtls(Statement27 value) {
this.stmtGnlDtls = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification18Choice }
*
*/
public PartyIdentification18Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification18Choice }
*
*/
public SecuritiesTransactionPostingReport002V01 setAcctOwnr(PartyIdentification18Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount17 }
*
*/
public SecuritiesAccount17 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount17 }
*
*/
public SecuritiesTransactionPostingReport002V01 setSfkpgAcct(SecuritiesAccount17 value) {
this.sfkpgAcct = 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 JAXB object.
* This is why there is not a 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 FinancialInstrumentDetails3 }
*
*
*/
public List getFinInstrmDtls() {
if (finInstrmDtls == null) {
finInstrmDtls = new ArrayList();
}
return this.finInstrmDtls;
}
/**
* Gets the value of the subAcctDtls 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 subAcctDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSubAcctDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubAccountIdentification14 }
*
*
*/
public List getSubAcctDtls() {
if (subAcctDtls == null) {
subAcctDtls = new ArrayList();
}
return this.subAcctDtls;
}
/**
* Gets the value of the msgOrgtr property.
*
* @return
* possible object is
* {@link PartyIdentification16Choice }
*
*/
public PartyIdentification16Choice getMsgOrgtr() {
return msgOrgtr;
}
/**
* Sets the value of the msgOrgtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification16Choice }
*
*/
public SecuritiesTransactionPostingReport002V01 setMsgOrgtr(PartyIdentification16Choice value) {
this.msgOrgtr = value;
return this;
}
/**
* Gets the value of the msgRcpt property.
*
* @return
* possible object is
* {@link PartyIdentification16Choice }
*
*/
public PartyIdentification16Choice getMsgRcpt() {
return msgRcpt;
}
/**
* Sets the value of the msgRcpt property.
*
* @param value
* allowed object is
* {@link PartyIdentification16Choice }
*
*/
public SecuritiesTransactionPostingReport002V01 setMsgRcpt(PartyIdentification16Choice value) {
this.msgRcpt = value;
return this;
}
@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 SecuritiesTransactionPostingReport002V01 addFinInstrmDtls(FinancialInstrumentDetails3 finInstrmDtls) {
getFinInstrmDtls().add(finInstrmDtls);
return this;
}
/**
* Adds a new item to the subAcctDtls list.
* @see #getSubAcctDtls()
*
*/
public SecuritiesTransactionPostingReport002V01 addSubAcctDtls(SubAccountIdentification14 subAcctDtls) {
getSubAcctDtls().add(subAcctDtls);
return this;
}
}