com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementTransactionGenerationNotificationV02Subset 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;
/**
* Scope
* An account servicer sends a SecuritiesSettlementTransactionGenerationNotification to an account owner to advise the account owner of a securities settlement transaction that has been generated/created by the account servicer for the account owner. The reason for creation can range from the automatic transformation of pending settlement instructions following a corporate event to the recovery of an account owner transactions' database initiated by its account servicer.
* 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
* 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.
* 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 = "SecuritiesSettlementTransactionGenerationNotificationV02Subset", propOrder = {
"txIdDtls",
"nbCounts",
"lnkgs",
"tradDtls",
"finInstrmId",
"finInstrmAttrbts",
"qtyAndAcctDtls",
"sttlmParams",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"cshPties",
"sttlmAmt",
"othrAmts",
"othrBizPties",
"addtlPhysOrRegnDtls",
"gnrtdRsn",
"stsAndRsn",
"splmtryData"
})
public class SecuritiesSettlementTransactionGenerationNotificationV02Subset {
@XmlElement(name = "TxIdDtls", required = true)
protected SettlementTypeAndIdentification12 txIdDtls;
@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 SecurityIdentification15 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes28 finInstrmAttrbts;
@XmlElement(name = "QtyAndAcctDtls", required = true)
protected List qtyAndAcctDtls;
@XmlElement(name = "SttlmParams", required = true)
protected SettlementDetails35 sttlmParams;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties18 dlvrgSttlmPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties18 rcvgSttlmPties;
@XmlElement(name = "CshPties")
protected CashParties14 cshPties;
@XmlElement(name = "SttlmAmt")
protected AmountAndDirection16 sttlmAmt;
@XmlElement(name = "OthrAmts")
protected OtherAmounts13 othrAmts;
@XmlElement(name = "OthrBizPties")
protected OtherParties15 othrBizPties;
@XmlElement(name = "AddtlPhysOrRegnDtls")
protected RegistrationParameters2 addtlPhysOrRegnDtls;
@XmlElement(name = "GnrtdRsn")
protected List gnrtdRsn;
@XmlElement(name = "StsAndRsn")
protected StatusAndReason6 stsAndRsn;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txIdDtls property.
*
* @return
* possible object is
* {@link SettlementTypeAndIdentification12 }
*
*/
public SettlementTypeAndIdentification12 getTxIdDtls() {
return txIdDtls;
}
/**
* Sets the value of the txIdDtls property.
*
* @param value
* allowed object is
* {@link SettlementTypeAndIdentification12 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setTxIdDtls(SettlementTypeAndIdentification12 value) {
this.txIdDtls = 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 SecuritiesSettlementTransactionGenerationNotificationV02Subset 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 Linkages12 }
*
*
* @return
* The value of the lnkgs property.
*/
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 SecuritiesSettlementTransactionGenerationNotificationV02Subset setTradDtls(SecuritiesTradeDetails15 value) {
this.tradDtls = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification15 }
*
*/
public SecurityIdentification15 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification15 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setFinInstrmId(SecurityIdentification15 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes28 }
*
*/
public FinancialInstrumentAttributes28 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes28 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setFinInstrmAttrbts(FinancialInstrumentAttributes28 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the qtyAndAcctDtls 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 qtyAndAcctDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getQtyAndAcctDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QuantityAndAccount24 }
*
*
* @return
* The value of the qtyAndAcctDtls property.
*/
public List getQtyAndAcctDtls() {
if (qtyAndAcctDtls == null) {
qtyAndAcctDtls = new ArrayList<>();
}
return this.qtyAndAcctDtls;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails35 }
*
*/
public SettlementDetails35 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails35 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setSttlmParams(SettlementDetails35 value) {
this.sttlmParams = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties18 }
*
*/
public SettlementParties18 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties18 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setDlvrgSttlmPties(SettlementParties18 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties18 }
*
*/
public SettlementParties18 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties18 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setRcvgSttlmPties(SettlementParties18 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties14 }
*
*/
public CashParties14 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties14 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setCshPties(CashParties14 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 SecuritiesSettlementTransactionGenerationNotificationV02Subset setSttlmAmt(AmountAndDirection16 value) {
this.sttlmAmt = value;
return this;
}
/**
* Gets the value of the othrAmts property.
*
* @return
* possible object is
* {@link OtherAmounts13 }
*
*/
public OtherAmounts13 getOthrAmts() {
return othrAmts;
}
/**
* Sets the value of the othrAmts property.
*
* @param value
* allowed object is
* {@link OtherAmounts13 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setOthrAmts(OtherAmounts13 value) {
this.othrAmts = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties15 }
*
*/
public OtherParties15 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties15 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setOthrBizPties(OtherParties15 value) {
this.othrBizPties = 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 SecuritiesSettlementTransactionGenerationNotificationV02Subset setAddtlPhysOrRegnDtls(RegistrationParameters2 value) {
this.addtlPhysOrRegnDtls = value;
return this;
}
/**
* Gets the value of the gnrtdRsn 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 gnrtdRsn property.
*
*
* For example, to add a new item, do as follows:
*
* getGnrtdRsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link GeneratedReason2 }
*
*
* @return
* The value of the gnrtdRsn property.
*/
public List getGnrtdRsn() {
if (gnrtdRsn == null) {
gnrtdRsn = new ArrayList<>();
}
return this.gnrtdRsn;
}
/**
* Gets the value of the stsAndRsn property.
*
* @return
* possible object is
* {@link StatusAndReason6 }
*
*/
public StatusAndReason6 getStsAndRsn() {
return stsAndRsn;
}
/**
* Sets the value of the stsAndRsn property.
*
* @param value
* allowed object is
* {@link StatusAndReason6 }
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset setStsAndRsn(StatusAndReason6 value) {
this.stsAndRsn = value;
return this;
}
/**
* 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 lnkgs list.
* @see #getLnkgs()
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset addLnkgs(Linkages12 lnkgs) {
getLnkgs().add(lnkgs);
return this;
}
/**
* Adds a new item to the qtyAndAcctDtls list.
* @see #getQtyAndAcctDtls()
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset addQtyAndAcctDtls(QuantityAndAccount24 qtyAndAcctDtls) {
getQtyAndAcctDtls().add(qtyAndAcctDtls);
return this;
}
/**
* Adds a new item to the gnrtdRsn list.
* @see #getGnrtdRsn()
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset addGnrtdRsn(GeneratedReason2 gnrtdRsn) {
getGnrtdRsn().add(gnrtdRsn);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuritiesSettlementTransactionGenerationNotificationV02Subset addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}