com.prowidesoftware.swift.model.mx.dic.DTCCCANOEligibleBalanceSD1V05 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;
/**
* The DTCCCANOEligibleBalanceSD1 message extends ISO corporate action notification (Eligible Balance market practice) message with DTCC corporate action eligible balance elements not covered in the standard message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DTCCCANOEligibleBalanceSD1V05", propOrder = {
"corpActnGnlInf",
"undrlygScty",
"dstrbtnAcctBal",
"redAcctBal"
})
public class DTCCCANOEligibleBalanceSD1V05 {
@XmlElement(name = "CorpActnGnlInf")
protected CorporateActionGeneralInformationSD21 corpActnGnlInf;
@XmlElement(name = "UndrlygScty")
protected FinancialInstrumentAttributesSD9 undrlygScty;
@XmlElement(name = "DstrbtnAcctBal")
protected List dstrbtnAcctBal;
@XmlElement(name = "RedAcctBal")
protected AccountBalanceSD6 redAcctBal;
/**
* Gets the value of the corpActnGnlInf property.
*
* @return
* possible object is
* {@link CorporateActionGeneralInformationSD21 }
*
*/
public CorporateActionGeneralInformationSD21 getCorpActnGnlInf() {
return corpActnGnlInf;
}
/**
* Sets the value of the corpActnGnlInf property.
*
* @param value
* allowed object is
* {@link CorporateActionGeneralInformationSD21 }
*
*/
public DTCCCANOEligibleBalanceSD1V05 setCorpActnGnlInf(CorporateActionGeneralInformationSD21 value) {
this.corpActnGnlInf = value;
return this;
}
/**
* Gets the value of the undrlygScty property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributesSD9 }
*
*/
public FinancialInstrumentAttributesSD9 getUndrlygScty() {
return undrlygScty;
}
/**
* Sets the value of the undrlygScty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributesSD9 }
*
*/
public DTCCCANOEligibleBalanceSD1V05 setUndrlygScty(FinancialInstrumentAttributesSD9 value) {
this.undrlygScty = value;
return this;
}
/**
* Gets the value of the dstrbtnAcctBal 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 dstrbtnAcctBal property.
*
*
* For example, to add a new item, do as follows:
*
* getDstrbtnAcctBal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountBalanceSD7 }
*
*
* @return
* The value of the dstrbtnAcctBal property.
*/
public List getDstrbtnAcctBal() {
if (dstrbtnAcctBal == null) {
dstrbtnAcctBal = new ArrayList<>();
}
return this.dstrbtnAcctBal;
}
/**
* Gets the value of the redAcctBal property.
*
* @return
* possible object is
* {@link AccountBalanceSD6 }
*
*/
public AccountBalanceSD6 getRedAcctBal() {
return redAcctBal;
}
/**
* Sets the value of the redAcctBal property.
*
* @param value
* allowed object is
* {@link AccountBalanceSD6 }
*
*/
public DTCCCANOEligibleBalanceSD1V05 setRedAcctBal(AccountBalanceSD6 value) {
this.redAcctBal = value;
return this;
}
@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 dstrbtnAcctBal list.
* @see #getDstrbtnAcctBal()
*
*/
public DTCCCANOEligibleBalanceSD1V05 addDstrbtnAcctBal(AccountBalanceSD7 dstrbtnAcctBal) {
getDstrbtnAcctBal().add(dstrbtnAcctBal);
return this;
}
}