com.prowidesoftware.swift.model.mx.dic.TripartyCollateralStatusAdviceV01 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:
* This message is sent by a triparty agent after the receipt of a collateral instruction from its client.
*
* In this message, the Sender is the triparty agent and the Receiver is either the collateral taker or the collateral giver or their account servicer.
*
* Usage:
* This message provides valuation results as well as the status of the proposed collateral movements (cash and securities).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TripartyCollateralStatusAdviceV01", propOrder = {
"txInstrId",
"pgntn",
"allcnSts",
"sttlmSts",
"collSts",
"gnlParams",
"collPties",
"dealTxDtls",
"dealTxDt",
"sctiesMvmnt",
"cshMvmnt",
"splmtryData"
})
public class TripartyCollateralStatusAdviceV01 {
@XmlElement(name = "TxInstrId", required = true)
protected TransactionIdentifications46 txInstrId;
@XmlElement(name = "Pgntn", required = true)
protected Pagination1 pgntn;
@XmlElement(name = "AllcnSts")
protected AllocationStatus1Choice allcnSts;
@XmlElement(name = "SttlmSts")
protected SettlementStatus27Choice sttlmSts;
@XmlElement(name = "CollSts")
protected CollateralStatus3Choice collSts;
@XmlElement(name = "GnlParams", required = true)
protected CollateralParameters13 gnlParams;
@XmlElement(name = "CollPties", required = true)
protected CollateralParties8 collPties;
@XmlElement(name = "DealTxDtls", required = true)
protected DealTransactionDetails7 dealTxDtls;
@XmlElement(name = "DealTxDt", required = true)
protected CollateralDate2 dealTxDt;
@XmlElement(name = "SctiesMvmnt")
protected List sctiesMvmnt;
@XmlElement(name = "CshMvmnt")
protected List cshMvmnt;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txInstrId property.
*
* @return
* possible object is
* {@link TransactionIdentifications46 }
*
*/
public TransactionIdentifications46 getTxInstrId() {
return txInstrId;
}
/**
* Sets the value of the txInstrId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifications46 }
*
*/
public TripartyCollateralStatusAdviceV01 setTxInstrId(TransactionIdentifications46 value) {
this.txInstrId = value;
return this;
}
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination1 }
*
*/
public Pagination1 getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination1 }
*
*/
public TripartyCollateralStatusAdviceV01 setPgntn(Pagination1 value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the allcnSts property.
*
* @return
* possible object is
* {@link AllocationStatus1Choice }
*
*/
public AllocationStatus1Choice getAllcnSts() {
return allcnSts;
}
/**
* Sets the value of the allcnSts property.
*
* @param value
* allowed object is
* {@link AllocationStatus1Choice }
*
*/
public TripartyCollateralStatusAdviceV01 setAllcnSts(AllocationStatus1Choice value) {
this.allcnSts = value;
return this;
}
/**
* Gets the value of the sttlmSts property.
*
* @return
* possible object is
* {@link SettlementStatus27Choice }
*
*/
public SettlementStatus27Choice getSttlmSts() {
return sttlmSts;
}
/**
* Sets the value of the sttlmSts property.
*
* @param value
* allowed object is
* {@link SettlementStatus27Choice }
*
*/
public TripartyCollateralStatusAdviceV01 setSttlmSts(SettlementStatus27Choice value) {
this.sttlmSts = value;
return this;
}
/**
* Gets the value of the collSts property.
*
* @return
* possible object is
* {@link CollateralStatus3Choice }
*
*/
public CollateralStatus3Choice getCollSts() {
return collSts;
}
/**
* Sets the value of the collSts property.
*
* @param value
* allowed object is
* {@link CollateralStatus3Choice }
*
*/
public TripartyCollateralStatusAdviceV01 setCollSts(CollateralStatus3Choice value) {
this.collSts = value;
return this;
}
/**
* Gets the value of the gnlParams property.
*
* @return
* possible object is
* {@link CollateralParameters13 }
*
*/
public CollateralParameters13 getGnlParams() {
return gnlParams;
}
/**
* Sets the value of the gnlParams property.
*
* @param value
* allowed object is
* {@link CollateralParameters13 }
*
*/
public TripartyCollateralStatusAdviceV01 setGnlParams(CollateralParameters13 value) {
this.gnlParams = value;
return this;
}
/**
* Gets the value of the collPties property.
*
* @return
* possible object is
* {@link CollateralParties8 }
*
*/
public CollateralParties8 getCollPties() {
return collPties;
}
/**
* Sets the value of the collPties property.
*
* @param value
* allowed object is
* {@link CollateralParties8 }
*
*/
public TripartyCollateralStatusAdviceV01 setCollPties(CollateralParties8 value) {
this.collPties = value;
return this;
}
/**
* Gets the value of the dealTxDtls property.
*
* @return
* possible object is
* {@link DealTransactionDetails7 }
*
*/
public DealTransactionDetails7 getDealTxDtls() {
return dealTxDtls;
}
/**
* Sets the value of the dealTxDtls property.
*
* @param value
* allowed object is
* {@link DealTransactionDetails7 }
*
*/
public TripartyCollateralStatusAdviceV01 setDealTxDtls(DealTransactionDetails7 value) {
this.dealTxDtls = value;
return this;
}
/**
* Gets the value of the dealTxDt property.
*
* @return
* possible object is
* {@link CollateralDate2 }
*
*/
public CollateralDate2 getDealTxDt() {
return dealTxDt;
}
/**
* Sets the value of the dealTxDt property.
*
* @param value
* allowed object is
* {@link CollateralDate2 }
*
*/
public TripartyCollateralStatusAdviceV01 setDealTxDt(CollateralDate2 value) {
this.dealTxDt = value;
return this;
}
/**
* Gets the value of the sctiesMvmnt 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 sctiesMvmnt property.
*
*
* For example, to add a new item, do as follows:
*
* getSctiesMvmnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecuritiesMovement8 }
*
*
* @return
* The value of the sctiesMvmnt property.
*/
public List getSctiesMvmnt() {
if (sctiesMvmnt == null) {
sctiesMvmnt = new ArrayList<>();
}
return this.sctiesMvmnt;
}
/**
* Gets the value of the cshMvmnt 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 cshMvmnt property.
*
*
* For example, to add a new item, do as follows:
*
* getCshMvmnt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashMovement7 }
*
*
* @return
* The value of the cshMvmnt property.
*/
public List getCshMvmnt() {
if (cshMvmnt == null) {
cshMvmnt = new ArrayList<>();
}
return this.cshMvmnt;
}
/**
* 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 sctiesMvmnt list.
* @see #getSctiesMvmnt()
*
*/
public TripartyCollateralStatusAdviceV01 addSctiesMvmnt(SecuritiesMovement8 sctiesMvmnt) {
getSctiesMvmnt().add(sctiesMvmnt);
return this;
}
/**
* Adds a new item to the cshMvmnt list.
* @see #getCshMvmnt()
*
*/
public TripartyCollateralStatusAdviceV01 addCshMvmnt(CashMovement7 cshMvmnt) {
getCshMvmnt().add(cshMvmnt);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public TripartyCollateralStatusAdviceV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}