com.prowidesoftware.swift.model.mx.dic.SecuredMarketTransaction3 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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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;
/**
* Provides the details of each individual secured market transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuredMarketTransaction3", propOrder = {
"rptdTxSts",
"brnchId",
"unqTxIdr",
"prtryTxId",
"ctrPtyPrtryTxId",
"ctrPtyId",
"trptyAgtId",
"tradDt",
"sttlmDt",
"mtrtyDt",
"txTp",
"txNmnlAmt",
"rateTp",
"dealRate",
"fltgRateRpAgrmt",
"brkrdDeal",
"coll",
"splmtryData"
})
public class SecuredMarketTransaction3 {
@XmlElement(name = "RptdTxSts", required = true)
@XmlSchemaType(name = "string")
protected TransactionOperationType1Code rptdTxSts;
@XmlElement(name = "BrnchId")
protected String brnchId;
@XmlElement(name = "UnqTxIdr")
protected String unqTxIdr;
@XmlElement(name = "PrtryTxId", required = true)
protected String prtryTxId;
@XmlElement(name = "CtrPtyPrtryTxId")
protected String ctrPtyPrtryTxId;
@XmlElement(name = "CtrPtyId", required = true)
protected CounterpartyIdentification2Choice ctrPtyId;
@XmlElement(name = "TrptyAgtId")
protected String trptyAgtId;
@XmlElement(name = "TradDt", required = true)
protected DateAndDateTimeChoice tradDt;
@XmlElement(name = "SttlmDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar sttlmDt;
@XmlElement(name = "MtrtyDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar mtrtyDt;
@XmlElement(name = "TxTp", required = true)
@XmlSchemaType(name = "string")
protected MoneyMarketTransactionType1Code txTp;
@XmlElement(name = "TxNmnlAmt", required = true)
protected ActiveCurrencyAndAmount txNmnlAmt;
@XmlElement(name = "RateTp", required = true)
@XmlSchemaType(name = "string")
protected InterestRateType1Code rateTp;
@XmlElement(name = "DealRate")
protected Rate2 dealRate;
@XmlElement(name = "FltgRateRpAgrmt")
protected FloatingRateNote2 fltgRateRpAgrmt;
@XmlElement(name = "BrkrdDeal")
@XmlSchemaType(name = "string")
protected BrokeredDeal1Code brkrdDeal;
@XmlElement(name = "Coll", required = true)
protected Collateral14 coll;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the rptdTxSts property.
*
* @return
* possible object is
* {@link TransactionOperationType1Code }
*
*/
public TransactionOperationType1Code getRptdTxSts() {
return rptdTxSts;
}
/**
* Sets the value of the rptdTxSts property.
*
* @param value
* allowed object is
* {@link TransactionOperationType1Code }
*
*/
public SecuredMarketTransaction3 setRptdTxSts(TransactionOperationType1Code value) {
this.rptdTxSts = value;
return this;
}
/**
* Gets the value of the brnchId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getBrnchId() {
return brnchId;
}
/**
* Sets the value of the brnchId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuredMarketTransaction3 setBrnchId(String value) {
this.brnchId = value;
return this;
}
/**
* Gets the value of the unqTxIdr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getUnqTxIdr() {
return unqTxIdr;
}
/**
* Sets the value of the unqTxIdr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuredMarketTransaction3 setUnqTxIdr(String value) {
this.unqTxIdr = value;
return this;
}
/**
* Gets the value of the prtryTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getPrtryTxId() {
return prtryTxId;
}
/**
* Sets the value of the prtryTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuredMarketTransaction3 setPrtryTxId(String value) {
this.prtryTxId = value;
return this;
}
/**
* Gets the value of the ctrPtyPrtryTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCtrPtyPrtryTxId() {
return ctrPtyPrtryTxId;
}
/**
* Sets the value of the ctrPtyPrtryTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuredMarketTransaction3 setCtrPtyPrtryTxId(String value) {
this.ctrPtyPrtryTxId = value;
return this;
}
/**
* Gets the value of the ctrPtyId property.
*
* @return
* possible object is
* {@link CounterpartyIdentification2Choice }
*
*/
public CounterpartyIdentification2Choice getCtrPtyId() {
return ctrPtyId;
}
/**
* Sets the value of the ctrPtyId property.
*
* @param value
* allowed object is
* {@link CounterpartyIdentification2Choice }
*
*/
public SecuredMarketTransaction3 setCtrPtyId(CounterpartyIdentification2Choice value) {
this.ctrPtyId = value;
return this;
}
/**
* Gets the value of the trptyAgtId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrptyAgtId() {
return trptyAgtId;
}
/**
* Sets the value of the trptyAgtId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SecuredMarketTransaction3 setTrptyAgtId(String value) {
this.trptyAgtId = value;
return this;
}
/**
* Gets the value of the tradDt property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getTradDt() {
return tradDt;
}
/**
* Sets the value of the tradDt property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public SecuredMarketTransaction3 setTradDt(DateAndDateTimeChoice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the sttlmDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getSttlmDt() {
return sttlmDt;
}
/**
* Sets the value of the sttlmDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public SecuredMarketTransaction3 setSttlmDt(XMLGregorianCalendar value) {
this.sttlmDt = value;
return this;
}
/**
* Gets the value of the mtrtyDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getMtrtyDt() {
return mtrtyDt;
}
/**
* Sets the value of the mtrtyDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public SecuredMarketTransaction3 setMtrtyDt(XMLGregorianCalendar value) {
this.mtrtyDt = value;
return this;
}
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link MoneyMarketTransactionType1Code }
*
*/
public MoneyMarketTransactionType1Code getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link MoneyMarketTransactionType1Code }
*
*/
public SecuredMarketTransaction3 setTxTp(MoneyMarketTransactionType1Code value) {
this.txTp = value;
return this;
}
/**
* Gets the value of the txNmnlAmt property.
*
* @return
* possible object is
* {@link ActiveCurrencyAndAmount }
*
*/
public ActiveCurrencyAndAmount getTxNmnlAmt() {
return txNmnlAmt;
}
/**
* Sets the value of the txNmnlAmt property.
*
* @param value
* allowed object is
* {@link ActiveCurrencyAndAmount }
*
*/
public SecuredMarketTransaction3 setTxNmnlAmt(ActiveCurrencyAndAmount value) {
this.txNmnlAmt = value;
return this;
}
/**
* Gets the value of the rateTp property.
*
* @return
* possible object is
* {@link InterestRateType1Code }
*
*/
public InterestRateType1Code getRateTp() {
return rateTp;
}
/**
* Sets the value of the rateTp property.
*
* @param value
* allowed object is
* {@link InterestRateType1Code }
*
*/
public SecuredMarketTransaction3 setRateTp(InterestRateType1Code value) {
this.rateTp = value;
return this;
}
/**
* Gets the value of the dealRate property.
*
* @return
* possible object is
* {@link Rate2 }
*
*/
public Rate2 getDealRate() {
return dealRate;
}
/**
* Sets the value of the dealRate property.
*
* @param value
* allowed object is
* {@link Rate2 }
*
*/
public SecuredMarketTransaction3 setDealRate(Rate2 value) {
this.dealRate = value;
return this;
}
/**
* Gets the value of the fltgRateRpAgrmt property.
*
* @return
* possible object is
* {@link FloatingRateNote2 }
*
*/
public FloatingRateNote2 getFltgRateRpAgrmt() {
return fltgRateRpAgrmt;
}
/**
* Sets the value of the fltgRateRpAgrmt property.
*
* @param value
* allowed object is
* {@link FloatingRateNote2 }
*
*/
public SecuredMarketTransaction3 setFltgRateRpAgrmt(FloatingRateNote2 value) {
this.fltgRateRpAgrmt = value;
return this;
}
/**
* Gets the value of the brkrdDeal property.
*
* @return
* possible object is
* {@link BrokeredDeal1Code }
*
*/
public BrokeredDeal1Code getBrkrdDeal() {
return brkrdDeal;
}
/**
* Sets the value of the brkrdDeal property.
*
* @param value
* allowed object is
* {@link BrokeredDeal1Code }
*
*/
public SecuredMarketTransaction3 setBrkrdDeal(BrokeredDeal1Code value) {
this.brkrdDeal = value;
return this;
}
/**
* Gets the value of the coll property.
*
* @return
* possible object is
* {@link Collateral14 }
*
*/
public Collateral14 getColl() {
return coll;
}
/**
* Sets the value of the coll property.
*
* @param value
* allowed object is
* {@link Collateral14 }
*
*/
public SecuredMarketTransaction3 setColl(Collateral14 value) {
this.coll = 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 splmtryData list.
* @see #getSplmtryData()
*
*/
public SecuredMarketTransaction3 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}