com.prowidesoftware.swift.model.mx.dic.DetailedStatisticsPerCounterparty5 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Detailed information on statistics per combination of counterparties.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DetailedStatisticsPerCounterparty5", propOrder = {
"refDt",
"ctrPtyId",
"rcncltnSttstcs",
"cmptntAuthrty"
})
public class DetailedStatisticsPerCounterparty5 {
@XmlElement(name = "RefDt", required = true, type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate refDt;
@XmlElement(name = "CtrPtyId", required = true)
protected TradeCounterpartyReport9 ctrPtyId;
@XmlElement(name = "RcncltnSttstcs", required = true)
protected ReconciliationStatisticsPerDerivativeContractGroup3 rcncltnSttstcs;
@XmlElement(name = "CmptntAuthrty")
protected List cmptntAuthrty;
/**
* Gets the value of the refDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getRefDt() {
return refDt;
}
/**
* Sets the value of the refDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public DetailedStatisticsPerCounterparty5 setRefDt(LocalDate value) {
this.refDt = value;
return this;
}
/**
* Gets the value of the ctrPtyId property.
*
* @return
* possible object is
* {@link TradeCounterpartyReport9 }
*
*/
public TradeCounterpartyReport9 getCtrPtyId() {
return ctrPtyId;
}
/**
* Sets the value of the ctrPtyId property.
*
* @param value
* allowed object is
* {@link TradeCounterpartyReport9 }
*
*/
public DetailedStatisticsPerCounterparty5 setCtrPtyId(TradeCounterpartyReport9 value) {
this.ctrPtyId = value;
return this;
}
/**
* Gets the value of the rcncltnSttstcs property.
*
* @return
* possible object is
* {@link ReconciliationStatisticsPerDerivativeContractGroup3 }
*
*/
public ReconciliationStatisticsPerDerivativeContractGroup3 getRcncltnSttstcs() {
return rcncltnSttstcs;
}
/**
* Sets the value of the rcncltnSttstcs property.
*
* @param value
* allowed object is
* {@link ReconciliationStatisticsPerDerivativeContractGroup3 }
*
*/
public DetailedStatisticsPerCounterparty5 setRcncltnSttstcs(ReconciliationStatisticsPerDerivativeContractGroup3 value) {
this.rcncltnSttstcs = value;
return this;
}
/**
* Gets the value of the cmptntAuthrty 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 cmptntAuthrty property.
*
*
* For example, to add a new item, do as follows:
*
* getCmptntAuthrty().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CompetentAuthority1 }
*
*
* @return
* The value of the cmptntAuthrty property.
*/
public List getCmptntAuthrty() {
if (cmptntAuthrty == null) {
cmptntAuthrty = new ArrayList<>();
}
return this.cmptntAuthrty;
}
@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 cmptntAuthrty list.
* @see #getCmptntAuthrty()
*
*/
public DetailedStatisticsPerCounterparty5 addCmptntAuthrty(CompetentAuthority1 cmptntAuthrty) {
getCmptntAuthrty().add(cmptntAuthrty);
return this;
}
}