
com.prowidesoftware.swift.model.mx.dic.TradeLegStatementV03 Maven / Gradle / Ivy
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.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;
/**
* Scope
* The TradeLegStatement message is sent by the central counterparty (CCP) to a clearing member to report all trades that have been executed by the trading platform.
*
* The message definition is intended for use with the ISO20022 Business Application Header.
*
* Usage
* The TradeLegStatement message may be either sent:
* - during the day (to report trades execution by batch) or
* - as an end of day report.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TradeLegStatementV03", propOrder = {
"stmtParams",
"pgntn",
"clrMmb",
"clrAcct",
"stmtDtls",
"splmtryData"
})
public class TradeLegStatementV03 {
@XmlElement(name = "StmtParams", required = true)
protected Statement31 stmtParams;
@XmlElement(name = "Pgntn", required = true)
protected Pagination pgntn;
@XmlElement(name = "ClrMmb", required = true)
protected PartyIdentification35Choice clrMmb;
@XmlElement(name = "ClrAcct")
protected SecuritiesAccount18 clrAcct;
@XmlElement(name = "StmtDtls", required = true)
protected List stmtDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the stmtParams property.
*
* @return
* possible object is
* {@link Statement31 }
*
*/
public Statement31 getStmtParams() {
return stmtParams;
}
/**
* Sets the value of the stmtParams property.
*
* @param value
* allowed object is
* {@link Statement31 }
*
*/
public TradeLegStatementV03 setStmtParams(Statement31 value) {
this.stmtParams = value;
return this;
}
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination }
*
*/
public Pagination getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination }
*
*/
public TradeLegStatementV03 setPgntn(Pagination value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the clrMmb property.
*
* @return
* possible object is
* {@link PartyIdentification35Choice }
*
*/
public PartyIdentification35Choice getClrMmb() {
return clrMmb;
}
/**
* Sets the value of the clrMmb property.
*
* @param value
* allowed object is
* {@link PartyIdentification35Choice }
*
*/
public TradeLegStatementV03 setClrMmb(PartyIdentification35Choice value) {
this.clrMmb = value;
return this;
}
/**
* Gets the value of the clrAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount18 }
*
*/
public SecuritiesAccount18 getClrAcct() {
return clrAcct;
}
/**
* Sets the value of the clrAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount18 }
*
*/
public TradeLegStatementV03 setClrAcct(SecuritiesAccount18 value) {
this.clrAcct = value;
return this;
}
/**
* Gets the value of the stmtDtls 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 stmtDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getStmtDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TradeLegStatement3 }
*
*
*/
public List getStmtDtls() {
if (stmtDtls == null) {
stmtDtls = new ArrayList();
}
return this.stmtDtls;
}
/**
* 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 stmtDtls list.
* @see #getStmtDtls()
*
*/
public TradeLegStatementV03 addStmtDtls(TradeLegStatement3 stmtDtls) {
getStmtDtls().add(stmtDtls);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public TradeLegStatementV03 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}