com.prowidesoftware.swift.model.mx.dic.OvernightIndexSwapTransaction4 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 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 overnight index swap transaction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "OvernightIndexSwapTransaction4", propOrder = {
"rptdTxSts",
"nvtnSts",
"brnchId",
"unqTxIdr",
"prtryTxId",
"rltdPrtryTxId",
"ctrPtyPrtryTxId",
"ctrPtyId",
"tradDt",
"startDt",
"mtrtyDt",
"fxdIntrstRate",
"txTp",
"txNmnlAmt",
"splmtryData"
})
public class OvernightIndexSwapTransaction4 {
@XmlElement(name = "RptdTxSts", required = true)
@XmlSchemaType(name = "string")
protected TransactionOperationType1Code rptdTxSts;
@XmlElement(name = "NvtnSts")
@XmlSchemaType(name = "string")
protected NovationStatus1Code nvtnSts;
@XmlElement(name = "BrnchId")
protected String brnchId;
@XmlElement(name = "UnqTxIdr")
protected String unqTxIdr;
@XmlElement(name = "PrtryTxId", required = true)
protected String prtryTxId;
@XmlElement(name = "RltdPrtryTxId")
protected String rltdPrtryTxId;
@XmlElement(name = "CtrPtyPrtryTxId")
protected String ctrPtyPrtryTxId;
@XmlElement(name = "CtrPtyId", required = true)
protected CounterpartyIdentification3Choice ctrPtyId;
@XmlElement(name = "TradDt", required = true)
protected DateAndDateTimeChoice tradDt;
@XmlElement(name = "StartDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar startDt;
@XmlElement(name = "MtrtyDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar mtrtyDt;
@XmlElement(name = "FxdIntrstRate", required = true)
protected BigDecimal fxdIntrstRate;
@XmlElement(name = "TxTp", required = true)
@XmlSchemaType(name = "string")
protected OvernightIndexSwapType1Code txTp;
@XmlElement(name = "TxNmnlAmt", required = true)
protected ActiveCurrencyAndAmount txNmnlAmt;
@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 OvernightIndexSwapTransaction4 setRptdTxSts(TransactionOperationType1Code value) {
this.rptdTxSts = value;
return this;
}
/**
* Gets the value of the nvtnSts property.
*
* @return
* possible object is
* {@link NovationStatus1Code }
*
*/
public NovationStatus1Code getNvtnSts() {
return nvtnSts;
}
/**
* Sets the value of the nvtnSts property.
*
* @param value
* allowed object is
* {@link NovationStatus1Code }
*
*/
public OvernightIndexSwapTransaction4 setNvtnSts(NovationStatus1Code value) {
this.nvtnSts = 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 OvernightIndexSwapTransaction4 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 OvernightIndexSwapTransaction4 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 OvernightIndexSwapTransaction4 setPrtryTxId(String value) {
this.prtryTxId = value;
return this;
}
/**
* Gets the value of the rltdPrtryTxId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getRltdPrtryTxId() {
return rltdPrtryTxId;
}
/**
* Sets the value of the rltdPrtryTxId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public OvernightIndexSwapTransaction4 setRltdPrtryTxId(String value) {
this.rltdPrtryTxId = 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 OvernightIndexSwapTransaction4 setCtrPtyPrtryTxId(String value) {
this.ctrPtyPrtryTxId = value;
return this;
}
/**
* Gets the value of the ctrPtyId property.
*
* @return
* possible object is
* {@link CounterpartyIdentification3Choice }
*
*/
public CounterpartyIdentification3Choice getCtrPtyId() {
return ctrPtyId;
}
/**
* Sets the value of the ctrPtyId property.
*
* @param value
* allowed object is
* {@link CounterpartyIdentification3Choice }
*
*/
public OvernightIndexSwapTransaction4 setCtrPtyId(CounterpartyIdentification3Choice value) {
this.ctrPtyId = 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 OvernightIndexSwapTransaction4 setTradDt(DateAndDateTimeChoice value) {
this.tradDt = value;
return this;
}
/**
* Gets the value of the startDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getStartDt() {
return startDt;
}
/**
* Sets the value of the startDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public OvernightIndexSwapTransaction4 setStartDt(XMLGregorianCalendar value) {
this.startDt = 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 OvernightIndexSwapTransaction4 setMtrtyDt(XMLGregorianCalendar value) {
this.mtrtyDt = value;
return this;
}
/**
* Gets the value of the fxdIntrstRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getFxdIntrstRate() {
return fxdIntrstRate;
}
/**
* Sets the value of the fxdIntrstRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public OvernightIndexSwapTransaction4 setFxdIntrstRate(BigDecimal value) {
this.fxdIntrstRate = value;
return this;
}
/**
* Gets the value of the txTp property.
*
* @return
* possible object is
* {@link OvernightIndexSwapType1Code }
*
*/
public OvernightIndexSwapType1Code getTxTp() {
return txTp;
}
/**
* Sets the value of the txTp property.
*
* @param value
* allowed object is
* {@link OvernightIndexSwapType1Code }
*
*/
public OvernightIndexSwapTransaction4 setTxTp(OvernightIndexSwapType1Code 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 OvernightIndexSwapTransaction4 setTxNmnlAmt(ActiveCurrencyAndAmount value) {
this.txNmnlAmt = 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 OvernightIndexSwapTransaction4 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}