com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementTransactionInstruction002V01 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;
/**
* Scope
* An account owner sends a SecuritiesSettlementTransactionInstruction to an account servicer to instruct the receipt or delivery of financial instruments with or without payment, physically or by book-entry.
* The account owner/servicer relationship may be:
* - a global custodian which has an account with a local custodian, or
* - an investment management institution which manages 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 the settlement of transactions to a central securities depository or another settlement market infrastructure
* Usage
* The instruction may be linked to other settlement instructions, for example, for a turnaround or back-to-back, or other transactions, for example, foreign exchange deal, using the linkage functionality.
* 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 = "SecuritiesSettlementTransactionInstruction.002V01", propOrder = {
"id",
"sttlmTpAndAddtlParams",
"nbCounts",
"lnkgs",
"tradDtls",
"finInstrmId",
"finInstrmAttrbts",
"qtyAndAcctDtls",
"sttlmParams",
"stgSttlmInstrDtls",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"cshPties",
"sttlmAmt",
"othrAmts",
"othrBizPties",
"msgOrgtr",
"msgRcpt",
"addtlPhysOrRegnDtls",
"xtnsn"
})
public class SecuritiesSettlementTransactionInstruction002V01 {
@XmlElement(name = "Id", required = true)
protected TransactionAndDocumentIdentification2 id;
@XmlElement(name = "SttlmTpAndAddtlParams", required = true)
protected SettlementTypeAndAdditionalParameters4 sttlmTpAndAddtlParams;
@XmlElement(name = "NbCounts")
protected NumberCount1Choice nbCounts;
@XmlElement(name = "Lnkgs")
protected List lnkgs;
@XmlElement(name = "TradDtls", required = true)
protected SecuritiesTradeDetails15 tradDtls;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification12 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes14 finInstrmAttrbts;
@XmlElement(name = "QtyAndAcctDtls", required = true)
protected QuantityAndAccount5 qtyAndAcctDtls;
@XmlElement(name = "SttlmParams", required = true)
protected SettlementDetails19 sttlmParams;
@XmlElement(name = "StgSttlmInstrDtls")
protected StandingSettlementInstruction2 stgSttlmInstrDtls;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties7 dlvrgSttlmPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties7 rcvgSttlmPties;
@XmlElement(name = "CshPties")
protected CashParties4 cshPties;
@XmlElement(name = "SttlmAmt")
protected AmountAndDirection16 sttlmAmt;
@XmlElement(name = "OthrAmts")
protected OtherAmounts7 othrAmts;
@XmlElement(name = "OthrBizPties")
protected OtherParties7 othrBizPties;
@XmlElement(name = "MsgOrgtr")
protected PartyIdentification16Choice msgOrgtr;
@XmlElement(name = "MsgRcpt")
protected PartyIdentification16Choice msgRcpt;
@XmlElement(name = "AddtlPhysOrRegnDtls")
protected RegistrationParameters2 addtlPhysOrRegnDtls;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link TransactionAndDocumentIdentification2 }
*
*/
public TransactionAndDocumentIdentification2 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link TransactionAndDocumentIdentification2 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setId(TransactionAndDocumentIdentification2 value) {
this.id = value;
return this;
}
/**
* Gets the value of the sttlmTpAndAddtlParams property.
*
* @return
* possible object is
* {@link SettlementTypeAndAdditionalParameters4 }
*
*/
public SettlementTypeAndAdditionalParameters4 getSttlmTpAndAddtlParams() {
return sttlmTpAndAddtlParams;
}
/**
* Sets the value of the sttlmTpAndAddtlParams property.
*
* @param value
* allowed object is
* {@link SettlementTypeAndAdditionalParameters4 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setSttlmTpAndAddtlParams(SettlementTypeAndAdditionalParameters4 value) {
this.sttlmTpAndAddtlParams = value;
return this;
}
/**
* Gets the value of the nbCounts property.
*
* @return
* possible object is
* {@link NumberCount1Choice }
*
*/
public NumberCount1Choice getNbCounts() {
return nbCounts;
}
/**
* Sets the value of the nbCounts property.
*
* @param value
* allowed object is
* {@link NumberCount1Choice }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setNbCounts(NumberCount1Choice value) {
this.nbCounts = value;
return this;
}
/**
* Gets the value of the lnkgs 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 lnkgs property.
*
*
* For example, to add a new item, do as follows:
*
* getLnkgs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Linkages4 }
*
*
*/
public List getLnkgs() {
if (lnkgs == null) {
lnkgs = new ArrayList();
}
return this.lnkgs;
}
/**
* Gets the value of the tradDtls property.
*
* @return
* possible object is
* {@link SecuritiesTradeDetails15 }
*
*/
public SecuritiesTradeDetails15 getTradDtls() {
return tradDtls;
}
/**
* Sets the value of the tradDtls property.
*
* @param value
* allowed object is
* {@link SecuritiesTradeDetails15 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setTradDtls(SecuritiesTradeDetails15 value) {
this.tradDtls = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification12 }
*
*/
public SecurityIdentification12 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification12 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setFinInstrmId(SecurityIdentification12 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes14 }
*
*/
public FinancialInstrumentAttributes14 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes14 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setFinInstrmAttrbts(FinancialInstrumentAttributes14 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the qtyAndAcctDtls property.
*
* @return
* possible object is
* {@link QuantityAndAccount5 }
*
*/
public QuantityAndAccount5 getQtyAndAcctDtls() {
return qtyAndAcctDtls;
}
/**
* Sets the value of the qtyAndAcctDtls property.
*
* @param value
* allowed object is
* {@link QuantityAndAccount5 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setQtyAndAcctDtls(QuantityAndAccount5 value) {
this.qtyAndAcctDtls = value;
return this;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails19 }
*
*/
public SettlementDetails19 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails19 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setSttlmParams(SettlementDetails19 value) {
this.sttlmParams = value;
return this;
}
/**
* Gets the value of the stgSttlmInstrDtls property.
*
* @return
* possible object is
* {@link StandingSettlementInstruction2 }
*
*/
public StandingSettlementInstruction2 getStgSttlmInstrDtls() {
return stgSttlmInstrDtls;
}
/**
* Sets the value of the stgSttlmInstrDtls property.
*
* @param value
* allowed object is
* {@link StandingSettlementInstruction2 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setStgSttlmInstrDtls(StandingSettlementInstruction2 value) {
this.stgSttlmInstrDtls = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties7 }
*
*/
public SettlementParties7 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties7 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setDlvrgSttlmPties(SettlementParties7 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties7 }
*
*/
public SettlementParties7 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties7 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setRcvgSttlmPties(SettlementParties7 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties4 }
*
*/
public CashParties4 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties4 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setCshPties(CashParties4 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the sttlmAmt property.
*
* @return
* possible object is
* {@link AmountAndDirection16 }
*
*/
public AmountAndDirection16 getSttlmAmt() {
return sttlmAmt;
}
/**
* Sets the value of the sttlmAmt property.
*
* @param value
* allowed object is
* {@link AmountAndDirection16 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setSttlmAmt(AmountAndDirection16 value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the othrAmts property.
*
* @return
* possible object is
* {@link OtherAmounts7 }
*
*/
public OtherAmounts7 getOthrAmts() {
return othrAmts;
}
/**
* Sets the value of the othrAmts property.
*
* @param value
* allowed object is
* {@link OtherAmounts7 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setOthrAmts(OtherAmounts7 value) {
this.othrAmts = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties7 }
*
*/
public OtherParties7 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties7 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setOthrBizPties(OtherParties7 value) {
this.othrBizPties = value;
return this;
}
/**
* 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 SecuritiesSettlementTransactionInstruction002V01 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 SecuritiesSettlementTransactionInstruction002V01 setMsgRcpt(PartyIdentification16Choice value) {
this.msgRcpt = value;
return this;
}
/**
* Gets the value of the addtlPhysOrRegnDtls property.
*
* @return
* possible object is
* {@link RegistrationParameters2 }
*
*/
public RegistrationParameters2 getAddtlPhysOrRegnDtls() {
return addtlPhysOrRegnDtls;
}
/**
* Sets the value of the addtlPhysOrRegnDtls property.
*
* @param value
* allowed object is
* {@link RegistrationParameters2 }
*
*/
public SecuritiesSettlementTransactionInstruction002V01 setAddtlPhysOrRegnDtls(RegistrationParameters2 value) {
this.addtlPhysOrRegnDtls = value;
return this;
}
/**
* Gets the value of the xtnsn 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 xtnsn property.
*
*
* For example, to add a new item, do as follows:
*
* getXtnsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension2 }
*
*
*/
public List getXtnsn() {
if (xtnsn == null) {
xtnsn = new ArrayList();
}
return this.xtnsn;
}
@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 lnkgs list.
* @see #getLnkgs()
*
*/
public SecuritiesSettlementTransactionInstruction002V01 addLnkgs(Linkages4 lnkgs) {
getLnkgs().add(lnkgs);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public SecuritiesSettlementTransactionInstruction002V01 addXtnsn(Extension2 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}