com.prowidesoftware.swift.model.mx.dic.DefaultFundContributionReportV01 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 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;
/**
* This message is sent by the central counterparty (CCP) to a Clearing member to report on the calculation of the default fund contribution and the potential net excess or deficit.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DefaultFundContributionReportV01", propOrder = {
"id",
"rptParams",
"clrMmb",
"dfltFndDtls",
"collDtls",
"netXcssOrDfcit",
"splmtryData"
})
public class DefaultFundContributionReportV01 {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification11 id;
@XmlElement(name = "RptParams", required = true)
protected ReportParameters2 rptParams;
@XmlElement(name = "ClrMmb", required = true)
protected PartyIdentification35Choice clrMmb;
@XmlElement(name = "DfltFndDtls", required = true)
protected List dfltFndDtls;
@XmlElement(name = "CollDtls", required = true)
protected List collDtls;
@XmlElement(name = "NetXcssOrDfcit", required = true)
protected AmountAndDirection21 netXcssOrDfcit;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification11 }
*
*/
public DocumentIdentification11 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification11 }
*
*/
public DefaultFundContributionReportV01 setId(DocumentIdentification11 value) {
this.id = value;
return this;
}
/**
* Gets the value of the rptParams property.
*
* @return
* possible object is
* {@link ReportParameters2 }
*
*/
public ReportParameters2 getRptParams() {
return rptParams;
}
/**
* Sets the value of the rptParams property.
*
* @param value
* allowed object is
* {@link ReportParameters2 }
*
*/
public DefaultFundContributionReportV01 setRptParams(ReportParameters2 value) {
this.rptParams = 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 DefaultFundContributionReportV01 setClrMmb(PartyIdentification35Choice value) {
this.clrMmb = value;
return this;
}
/**
* Gets the value of the dfltFndDtls 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 dfltFndDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getDfltFndDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DefaultFund1 }
*
*
* @return
* The value of the dfltFndDtls property.
*/
public List getDfltFndDtls() {
if (dfltFndDtls == null) {
dfltFndDtls = new ArrayList<>();
}
return this.dfltFndDtls;
}
/**
* Gets the value of the collDtls 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 collDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCollDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Collateral3 }
*
*
* @return
* The value of the collDtls property.
*/
public List getCollDtls() {
if (collDtls == null) {
collDtls = new ArrayList<>();
}
return this.collDtls;
}
/**
* Gets the value of the netXcssOrDfcit property.
*
* @return
* possible object is
* {@link AmountAndDirection21 }
*
*/
public AmountAndDirection21 getNetXcssOrDfcit() {
return netXcssOrDfcit;
}
/**
* Sets the value of the netXcssOrDfcit property.
*
* @param value
* allowed object is
* {@link AmountAndDirection21 }
*
*/
public DefaultFundContributionReportV01 setNetXcssOrDfcit(AmountAndDirection21 value) {
this.netXcssOrDfcit = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the splmtryData property.
*/
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 dfltFndDtls list.
* @see #getDfltFndDtls()
*
*/
public DefaultFundContributionReportV01 addDfltFndDtls(DefaultFund1 dfltFndDtls) {
getDfltFndDtls().add(dfltFndDtls);
return this;
}
/**
* Adds a new item to the collDtls list.
* @see #getCollDtls()
*
*/
public DefaultFundContributionReportV01 addCollDtls(Collateral3 collDtls) {
getCollDtls().add(collDtls);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public DefaultFundContributionReportV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}