com.prowidesoftware.swift.model.mx.dic.SecuritiesTradeDetails79 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 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;
/**
* Details of the securities trade.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTradeDetails79", propOrder = {
"tradId",
"collTxId",
"plcOfTrad",
"plcOfClr",
"tradDt",
"sttlmDt",
"lateDlvryDt",
"dealPric",
"nbOfDaysAcrd",
"opngClsg",
"rptg",
"tradTxCond",
"invstrCpcty",
"tradOrgtrRole",
"tpOfPric",
"ccyToBuyOrSell",
"mtchgSts",
"affirmSts",
"fxAddtlDtls",
"sttlmInstrPrcgAddtlDtls"
})
public class SecuritiesTradeDetails79 {
@XmlElement(name = "TradId")
protected List tradId;
@XmlElement(name = "CollTxId")
protected List collTxId;
@XmlElement(name = "PlcOfTrad")
protected PlaceOfTradeIdentification1 plcOfTrad;
@XmlElement(name = "PlcOfClr")
protected PlaceOfClearingIdentification1 plcOfClr;
@XmlElement(name = "TradDt")
protected TradeDate8Choice tradDt;
@XmlElement(name = "SttlmDt")
protected SettlementDate17Choice sttlmDt;
@XmlElement(name = "LateDlvryDt")
protected DateAndDateTime2Choice lateDlvryDt;
@XmlElement(name = "DealPric")
protected Price7 dealPric;
@XmlElement(name = "NbOfDaysAcrd")
protected BigDecimal nbOfDaysAcrd;
@XmlElement(name = "OpngClsg")
protected OpeningClosing3Choice opngClsg;
@XmlElement(name = "Rptg")
protected List rptg;
@XmlElement(name = "TradTxCond")
protected List tradTxCond;
@XmlElement(name = "InvstrCpcty")
protected InvestorCapacity4Choice invstrCpcty;
@XmlElement(name = "TradOrgtrRole")
protected TradeOriginator3Choice tradOrgtrRole;
@XmlElement(name = "TpOfPric")
protected TypeOfPrice29Choice tpOfPric;
@XmlElement(name = "CcyToBuyOrSell")
protected CurrencyToBuyOrSell1Choice ccyToBuyOrSell;
@XmlElement(name = "MtchgSts")
protected MatchingStatus27Choice mtchgSts;
@XmlElement(name = "AffirmSts")
protected AffirmationStatus8Choice affirmSts;
@XmlElement(name = "FxAddtlDtls")
protected String fxAddtlDtls;
@XmlElement(name = "SttlmInstrPrcgAddtlDtls")
protected String sttlmInstrPrcgAddtlDtls;
/**
* 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the tradId property.
*/
public List getTradId() {
if (tradId == null) {
tradId = new ArrayList<>();
}
return this.tradId;
}
/**
* 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the collTxId property.
*/
public List getCollTxId() {
if (collTxId == null) {
collTxId = new ArrayList<>();
}
return this.collTxId;
}
/**
* Gets the value of the plcOfTrad property.
*
* @return
* possible object is
* {@link PlaceOfTradeIdentification1 }
*
*/
public PlaceOfTradeIdentification1 getPlcOfTrad() {
return plcOfTrad;
}
/**
* Sets the value of the plcOfTrad property.
*
* @param value
* allowed object is
* {@link PlaceOfTradeIdentification1 }
*
*/
public SecuritiesTradeDetails79 setPlcOfTrad(PlaceOfTradeIdentification1 value) {
this.plcOfTrad = value;
return this;
}
/**
* Gets the value of the plcOfClr property.
*
* @return
* possible object is
* {@link PlaceOfClearingIdentification1 }
*
*/
public PlaceOfClearingIdentification1 getPlcOfClr() {
return plcOfClr;
}
/**
* Sets the value of the plcOfClr property.
*
* @param value
* allowed object is
* {@link PlaceOfClearingIdentification1 }
*
*/
public SecuritiesTradeDetails79 setPlcOfClr(PlaceOfClearingIdentification1 value) {
this.plcOfClr = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link TradeDate8Choice }
*
*/
public TradeDate8Choice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link TradeDate8Choice }
*
*/
public SecuritiesTradeDetails79 setTradDt(TradeDate8Choice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link SettlementDate17Choice }
*
*/
public SettlementDate17Choice getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link SettlementDate17Choice }
*
*/
public SecuritiesTradeDetails79 setSttlmDt(SettlementDate17Choice value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the lateDlvryDt property.
*
* @return
* possible object is
* {@link DateAndDateTime2Choice }
*
*/
public DateAndDateTime2Choice getLateDlvryDt() {
return lateDlvryDt;
}
/**
* Sets the value of the lateDlvryDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTime2Choice }
*
*/
public SecuritiesTradeDetails79 setLateDlvryDt(DateAndDateTime2Choice value) {
this.lateDlvryDt = value;
return this;
}
/**
* Gets the value of the dealPric property.
*
* @return
* possible object is
* {@link Price7 }
*
*/
public Price7 getDealPric() {
return dealPric;
}
/**
* Sets the value of the dealPric property.
*
* @param value
* allowed object is
* {@link Price7 }
*
*/
public SecuritiesTradeDetails79 setDealPric(Price7 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 SecuritiesTradeDetails79 setNbOfDaysAcrd(BigDecimal value) {
this.nbOfDaysAcrd = value;
return this;
}
/**
* Gets the value of the opngClsg property.
*
* @return
* possible object is
* {@link OpeningClosing3Choice }
*
*/
public OpeningClosing3Choice getOpngClsg() {
return opngClsg;
}
/**
* Sets the value of the opngClsg property.
*
* @param value
* allowed object is
* {@link OpeningClosing3Choice }
*
*/
public SecuritiesTradeDetails79 setOpngClsg(OpeningClosing3Choice value) {
this.opngClsg = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 Reporting6Choice }
*
*
* @return
* The value of the rptg property.
*/
public List getRptg() {
if (rptg == null) {
rptg = new ArrayList<>();
}
return this.rptg;
}
/**
* 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 TradeTransactionCondition5Choice }
*
*
* @return
* The value of the tradTxCond property.
*/
public List getTradTxCond() {
if (tradTxCond == null) {
tradTxCond = new ArrayList<>();
}
return this.tradTxCond;
}
/**
* Gets the value of the invstrCpcty property.
*
* @return
* possible object is
* {@link InvestorCapacity4Choice }
*
*/
public InvestorCapacity4Choice getInvstrCpcty() {
return invstrCpcty;
}
/**
* Sets the value of the invstrCpcty property.
*
* @param value
* allowed object is
* {@link InvestorCapacity4Choice }
*
*/
public SecuritiesTradeDetails79 setInvstrCpcty(InvestorCapacity4Choice value) {
this.invstrCpcty = value;
return this;
}
/**
* Gets the value of the tradOrgtrRole property.
*
* @return
* possible object is
* {@link TradeOriginator3Choice }
*
*/
public TradeOriginator3Choice getTradOrgtrRole() {
return tradOrgtrRole;
}
/**
* Sets the value of the tradOrgtrRole property.
*
* @param value
* allowed object is
* {@link TradeOriginator3Choice }
*
*/
public SecuritiesTradeDetails79 setTradOrgtrRole(TradeOriginator3Choice value) {
this.tradOrgtrRole = value;
return this;
}
/**
* Gets the value of the tpOfPric property.
*
* @return
* possible object is
* {@link TypeOfPrice29Choice }
*
*/
public TypeOfPrice29Choice getTpOfPric() {
return tpOfPric;
}
/**
* Sets the value of the tpOfPric property.
*
* @param value
* allowed object is
* {@link TypeOfPrice29Choice }
*
*/
public SecuritiesTradeDetails79 setTpOfPric(TypeOfPrice29Choice value) {
this.tpOfPric = value;
return this;
}
/**
* Gets the value of the ccyToBuyOrSell property.
*
* @return
* possible object is
* {@link CurrencyToBuyOrSell1Choice }
*
*/
public CurrencyToBuyOrSell1Choice getCcyToBuyOrSell() {
return ccyToBuyOrSell;
}
/**
* Sets the value of the ccyToBuyOrSell property.
*
* @param value
* allowed object is
* {@link CurrencyToBuyOrSell1Choice }
*
*/
public SecuritiesTradeDetails79 setCcyToBuyOrSell(CurrencyToBuyOrSell1Choice value) {
this.ccyToBuyOrSell = value;
return this;
}
/**
* Gets the value of the mtchgSts property.
*
* @return
* possible object is
* {@link MatchingStatus27Choice }
*
*/
public MatchingStatus27Choice getMtchgSts() {
return mtchgSts;
}
/**
* Sets the value of the mtchgSts property.
*
* @param value
* allowed object is
* {@link MatchingStatus27Choice }
*
*/
public SecuritiesTradeDetails79 setMtchgSts(MatchingStatus27Choice value) {
this.mtchgSts = value;
return this;
}
/**
* Gets the value of the affirmSts property.
*
* @return
* possible object is
* {@link AffirmationStatus8Choice }
*
*/
public AffirmationStatus8Choice getAffirmSts() {
return affirmSts;
}
/**
* Sets the value of the affirmSts property.
*
* @param value
* allowed object is
* {@link AffirmationStatus8Choice }
*
*/
public SecuritiesTradeDetails79 setAffirmSts(AffirmationStatus8Choice value) {
this.affirmSts = value;
return this;
}
/**
* Gets the value of the fxAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getFxAddtlDtls() {
return fxAddtlDtls;
}
/**
* Sets the value of the fxAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails79 setFxAddtlDtls(String value) {
this.fxAddtlDtls = value;
return this;
}
/**
* Gets the value of the sttlmInstrPrcgAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSttlmInstrPrcgAddtlDtls() {
return sttlmInstrPrcgAddtlDtls;
}
/**
* Sets the value of the sttlmInstrPrcgAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuritiesTradeDetails79 setSttlmInstrPrcgAddtlDtls(String value) {
this.sttlmInstrPrcgAddtlDtls = 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 tradId list.
* @see #getTradId()
*
*/
public SecuritiesTradeDetails79 addTradId(String tradId) {
getTradId().add(tradId);
return this;
}
/**
* Adds a new item to the collTxId list.
* @see #getCollTxId()
*
*/
public SecuritiesTradeDetails79 addCollTxId(String collTxId) {
getCollTxId().add(collTxId);
return this;
}
/**
* Adds a new item to the rptg list.
* @see #getRptg()
*
*/
public SecuritiesTradeDetails79 addRptg(Reporting6Choice rptg) {
getRptg().add(rptg);
return this;
}
/**
* Adds a new item to the tradTxCond list.
* @see #getTradTxCond()
*
*/
public SecuritiesTradeDetails79 addTradTxCond(TradeTransactionCondition5Choice tradTxCond) {
getTradTxCond().add(tradTxCond);
return this;
}
}