com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeDetails10 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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.XmlSchemaType;
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;
/**
* Details of the securities trade.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTradeDetails10", propOrder = {
"acctOwnrTxId",
"acctSvcrTxId",
"mktInfrstrctrTxId",
"tradId",
"cmonId",
"poolId",
"collTxId",
"sctiesMvmntTp",
"pmt",
"sts",
"plcOfTrad",
"plcOfClr",
"tradDt",
"sttlmDt",
"lateDlvryDt",
"dealPric",
"nbOfDaysAcrd",
"finInstrmId",
"finInstrmAttrbts",
"tradTxCond",
"opngClsg",
"tpOfPric",
"rptg",
"qtyAndAcctDtls",
"sctiesFincgDtls",
"sttlmParams",
"dlvrgSttlmPties",
"rcvgSttlmPties",
"cshPties",
"sttlmAmt",
"othrAmts",
"othrBizPties",
"xtnsn"
})
public class SecuritiesTradeDetails10 {
@XmlElement(name = "AcctOwnrTxId")
protected String acctOwnrTxId;
@XmlElement(name = "AcctSvcrTxId")
protected String acctSvcrTxId;
@XmlElement(name = "MktInfrstrctrTxId")
protected String mktInfrstrctrTxId;
@XmlElement(name = "TradId")
protected List tradId;
@XmlElement(name = "CmonId")
protected String cmonId;
@XmlElement(name = "PoolId")
protected String poolId;
@XmlElement(name = "CollTxId")
protected List collTxId;
@XmlElement(name = "SctiesMvmntTp", required = true)
@XmlSchemaType(name = "string")
protected ReceiveDelivery1Code sctiesMvmntTp;
@XmlElement(name = "Pmt", required = true)
@XmlSchemaType(name = "string")
protected DeliveryReceiptType2Code pmt;
@XmlElement(name = "Sts")
protected AllegementStatus2Choice sts;
@XmlElement(name = "PlcOfTrad")
protected MarketIdentification8 plcOfTrad;
@XmlElement(name = "PlcOfClr")
protected String plcOfClr;
@XmlElement(name = "TradDt")
protected TradeDate2Choice tradDt;
@XmlElement(name = "SttlmDt", required = true)
protected SettlementDate4Choice sttlmDt;
@XmlElement(name = "LateDlvryDt")
protected DateAndDateTimeChoice lateDlvryDt;
@XmlElement(name = "DealPric")
protected Price3 dealPric;
@XmlElement(name = "NbOfDaysAcrd")
protected BigDecimal nbOfDaysAcrd;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification12 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes14 finInstrmAttrbts;
@XmlElement(name = "TradTxCond")
protected List tradTxCond;
@XmlElement(name = "OpngClsg")
protected OpeningClosing2Choice opngClsg;
@XmlElement(name = "TpOfPric")
protected TypeOfPrice5Choice tpOfPric;
@XmlElement(name = "Rptg")
protected List rptg;
@XmlElement(name = "QtyAndAcctDtls", required = true)
protected QuantityAndAccount9 qtyAndAcctDtls;
@XmlElement(name = "SctiesFincgDtls")
protected SecuritiesFinancingTransactionDetails4 sctiesFincgDtls;
@XmlElement(name = "SttlmParams", required = true)
protected SettlementDetails15 sttlmParams;
@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 OtherParties5 othrBizPties;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the acctOwnrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctOwnrTxId() {
return acctOwnrTxId;
}
/**
* Sets the value of the acctOwnrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setAcctOwnrTxId(String value) {
this.acctOwnrTxId = value;
return this;
}
/**
* Gets the value of the acctSvcrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getAcctSvcrTxId() {
return acctSvcrTxId;
}
/**
* Sets the value of the acctSvcrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setAcctSvcrTxId(String value) {
this.acctSvcrTxId = value;
return this;
}
/**
* Gets the value of the mktInfrstrctrTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMktInfrstrctrTxId() {
return mktInfrstrctrTxId;
}
/**
* Sets the value of the mktInfrstrctrTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setMktInfrstrctrTxId(String value) {
this.mktInfrstrctrTxId = value;
return this;
}
/**
* Gets the value of the tradId 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 tradId property.
*
*
* For example, to add a new item, do as follows:
*
* getTradId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getTradId() {
if (tradId == null) {
tradId = new ArrayList();
}
return this.tradId;
}
/**
* Gets the value of the cmonId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCmonId() {
return cmonId;
}
/**
* Sets the value of the cmonId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setCmonId(String value) {
this.cmonId = value;
return this;
}
/**
* Gets the value of the poolId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPoolId() {
return poolId;
}
/**
* Sets the value of the poolId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setPoolId(String value) {
this.poolId = value;
return this;
}
/**
* Gets the value of the collTxId 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 collTxId property.
*
*
* For example, to add a new item, do as follows:
*
* getCollTxId().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
*/
public List getCollTxId() {
if (collTxId == null) {
collTxId = new ArrayList();
}
return this.collTxId;
}
/**
* Gets the value of the sctiesMvmntTp property.
*
* @return
* possible object is
* {@link ReceiveDelivery1Code }
*
*/
public ReceiveDelivery1Code getSctiesMvmntTp() {
return sctiesMvmntTp;
}
/**
* Sets the value of the sctiesMvmntTp property.
*
* @param value
* allowed object is
* {@link ReceiveDelivery1Code }
*
*/
public SecuritiesTradeDetails10 setSctiesMvmntTp(ReceiveDelivery1Code value) {
this.sctiesMvmntTp = value;
return this;
}
/**
* Gets the value of the pmt property.
*
* @return
* possible object is
* {@link DeliveryReceiptType2Code }
*
*/
public DeliveryReceiptType2Code getPmt() {
return pmt;
}
/**
* Sets the value of the pmt property.
*
* @param value
* allowed object is
* {@link DeliveryReceiptType2Code }
*
*/
public SecuritiesTradeDetails10 setPmt(DeliveryReceiptType2Code value) {
this.pmt = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link AllegementStatus2Choice }
*
*/
public AllegementStatus2Choice getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link AllegementStatus2Choice }
*
*/
public SecuritiesTradeDetails10 setSts(AllegementStatus2Choice value) {
this.sts = value;
return this;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link MarketIdentification8 }
*
*/
public MarketIdentification8 getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link MarketIdentification8 }
*
*/
public SecuritiesTradeDetails10 setPlcOfTrad(MarketIdentification8 value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the plcOfClr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPlcOfClr() {
return plcOfClr;
}
/**
* Sets the value of the plcOfClr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails10 setPlcOfClr(String value) {
this.plcOfClr = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link TradeDate2Choice }
*
*/
public TradeDate2Choice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link TradeDate2Choice }
*
*/
public SecuritiesTradeDetails10 setTradDt(TradeDate2Choice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate4Choice }
*
*/
public SettlementDate4Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate4Choice }
*
*/
public SecuritiesTradeDetails10 setSttlmDt(SettlementDate4Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the lateDlvryDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getLateDlvryDt() {
return lateDlvryDt;
}
/**
* Sets the value of the lateDlvryDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public SecuritiesTradeDetails10 setLateDlvryDt(DateAndDateTimeChoice value) {
this.lateDlvryDt = value;
return this;
}
/**
* Gets the value of the dealPric property.
*
* @return
* possible object is
* {@link Price3 }
*
*/
public Price3 getDealPric() {
return dealPric;
}
/**
* Sets the value of the dealPric property.
*
* @param value
* allowed object is
* {@link Price3 }
*
*/
public SecuritiesTradeDetails10 setDealPric(Price3 value) {
this.dealPric = value;
return this;
}
/**
* Gets the value of the nbOfDaysAcrd property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getNbOfDaysAcrd() {
return nbOfDaysAcrd;
}
/**
* Sets the value of the nbOfDaysAcrd property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public SecuritiesTradeDetails10 setNbOfDaysAcrd(BigDecimal value) {
this.nbOfDaysAcrd = 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 SecuritiesTradeDetails10 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 SecuritiesTradeDetails10 setFinInstrmAttrbts(FinancialInstrumentAttributes14 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the tradTxCond 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 tradTxCond property.
*
*
* For example, to add a new item, do as follows:
*
* getTradTxCond().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeTransactionCondition2Choice }
*
*
*/
public List getTradTxCond() {
if (tradTxCond == null) {
tradTxCond = new ArrayList();
}
return this.tradTxCond;
}
/**
* Gets the value of the opngClsg property.
*
* @return
* possible object is
* {@link OpeningClosing2Choice }
*
*/
public OpeningClosing2Choice getOpngClsg() {
return opngClsg;
}
/**
* Sets the value of the opngClsg property.
*
* @param value
* allowed object is
* {@link OpeningClosing2Choice }
*
*/
public SecuritiesTradeDetails10 setOpngClsg(OpeningClosing2Choice value) {
this.opngClsg = value;
return this;
}
/**
* Gets the value of the tpOfPric property.
*
* @return
* possible object is
* {@link TypeOfPrice5Choice }
*
*/
public TypeOfPrice5Choice getTpOfPric() {
return tpOfPric;
}
/**
* Sets the value of the tpOfPric property.
*
* @param value
* allowed object is
* {@link TypeOfPrice5Choice }
*
*/
public SecuritiesTradeDetails10 setTpOfPric(TypeOfPrice5Choice value) {
this.tpOfPric = value;
return this;
}
/**
* Gets the value of the rptg 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 rptg property.
*
*
* For example, to add a new item, do as follows:
*
* getRptg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Reporting4Choice }
*
*
*/
public List getRptg() {
if (rptg == null) {
rptg = new ArrayList();
}
return this.rptg;
}
/**
* Gets the value of the qtyAndAcctDtls property.
*
* @return
* possible object is
* {@link QuantityAndAccount9 }
*
*/
public QuantityAndAccount9 getQtyAndAcctDtls() {
return qtyAndAcctDtls;
}
/**
* Sets the value of the qtyAndAcctDtls property.
*
* @param value
* allowed object is
* {@link QuantityAndAccount9 }
*
*/
public SecuritiesTradeDetails10 setQtyAndAcctDtls(QuantityAndAccount9 value) {
this.qtyAndAcctDtls = value;
return this;
}
/**
* Gets the value of the sctiesFincgDtls property.
*
* @return
* possible object is
* {@link SecuritiesFinancingTransactionDetails4 }
*
*/
public SecuritiesFinancingTransactionDetails4 getSctiesFincgDtls() {
return sctiesFincgDtls;
}
/**
* Sets the value of the sctiesFincgDtls property.
*
* @param value
* allowed object is
* {@link SecuritiesFinancingTransactionDetails4 }
*
*/
public SecuritiesTradeDetails10 setSctiesFincgDtls(SecuritiesFinancingTransactionDetails4 value) {
this.sctiesFincgDtls = value;
return this;
}
/**
* Gets the value of the sttlmParams property.
*
* @return
* possible object is
* {@link SettlementDetails15 }
*
*/
public SettlementDetails15 getSttlmParams() {
return sttlmParams;
}
/**
* Sets the value of the sttlmParams property.
*
* @param value
* allowed object is
* {@link SettlementDetails15 }
*
*/
public SecuritiesTradeDetails10 setSttlmParams(SettlementDetails15 value) {
this.sttlmParams = 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 SecuritiesTradeDetails10 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 SecuritiesTradeDetails10 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 SecuritiesTradeDetails10 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 SecuritiesTradeDetails10 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 SecuritiesTradeDetails10 setOthrAmts(OtherAmounts7 value) {
this.othrAmts = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties5 }
*
*/
public OtherParties5 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties5 }
*
*/
public SecuritiesTradeDetails10 setOthrBizPties(OtherParties5 value) {
this.othrBizPties = 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 tradId list.
* @see #getTradId()
*
*/
public SecuritiesTradeDetails10 addTradId(String tradId) {
getTradId().add(tradId);
return this;
}
/**
* Adds a new item to the collTxId list.
* @see #getCollTxId()
*
*/
public SecuritiesTradeDetails10 addCollTxId(String collTxId) {
getCollTxId().add(collTxId);
return this;
}
/**
* Adds a new item to the tradTxCond list.
* @see #getTradTxCond()
*
*/
public SecuritiesTradeDetails10 addTradTxCond(TradeTransactionCondition2Choice tradTxCond) {
getTradTxCond().add(tradTxCond);
return this;
}
/**
* Adds a new item to the rptg list.
* @see #getRptg()
*
*/
public SecuritiesTradeDetails10 addRptg(Reporting4Choice rptg) {
getRptg().add(rptg);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public SecuritiesTradeDetails10 addXtnsn(Extension2 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}