
com.prowidesoftware.swift.model.mx.dic.TradeValuationUpdate2 Maven / Gradle / Ivy
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;
/**
* Indicates an update to the valuations of a previously reported position, but not a correction.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeValuationUpdate2", propOrder = {
"techRcrdId",
"ctrPtyData",
"unqTxIdr",
"evtDt",
"mktVal",
"splmtryData"
})
public class TradeValuationUpdate2 {
@XmlElement(name = "TechRcrdId")
protected String techRcrdId;
@XmlElement(name = "CtrPtyData", required = true)
protected CounterpartyData48 ctrPtyData;
@XmlElement(name = "UnqTxIdr", required = true)
protected String unqTxIdr;
@XmlElement(name = "EvtDt", required = true)
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar evtDt;
@XmlElement(name = "MktVal", required = true)
protected BigDecimal mktVal;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the techRcrdId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTechRcrdId() {
return techRcrdId;
}
/**
* Sets the value of the techRcrdId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public TradeValuationUpdate2 setTechRcrdId(String value) {
this.techRcrdId = value;
return this;
}
/**
* Gets the value of the ctrPtyData property.
*
* @return
* possible object is
* {@link CounterpartyData48 }
*
*/
public CounterpartyData48 getCtrPtyData() {
return ctrPtyData;
}
/**
* Sets the value of the ctrPtyData property.
*
* @param value
* allowed object is
* {@link CounterpartyData48 }
*
*/
public TradeValuationUpdate2 setCtrPtyData(CounterpartyData48 value) {
this.ctrPtyData = 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 TradeValuationUpdate2 setUnqTxIdr(String value) {
this.unqTxIdr = value;
return this;
}
/**
* Gets the value of the evtDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getEvtDt() {
return evtDt;
}
/**
* Sets the value of the evtDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public TradeValuationUpdate2 setEvtDt(XMLGregorianCalendar value) {
this.evtDt = value;
return this;
}
/**
* Gets the value of the mktVal property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getMktVal() {
return mktVal;
}
/**
* Sets the value of the mktVal property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public TradeValuationUpdate2 setMktVal(BigDecimal value) {
this.mktVal = 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 TradeValuationUpdate2 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}