com.prowidesoftware.swift.model.mx.dic.DTCCCAINSD1V04 Maven / Gradle / Ivy
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 DTCCCAINSD1 message extends ISO corporate action instruction message with DTCC corporate action elements not covered in the standard message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DTCCCAINSD1V04", propOrder = {
"optnlDvdd",
"taxXmpt",
"wireInstr",
"reorgInstrDtls"
})
public class DTCCCAINSD1V04 {
@XmlElement(name = "OptnlDvdd")
protected List optnlDvdd;
@XmlElement(name = "TaxXmpt")
protected List taxXmpt;
@XmlElement(name = "WireInstr")
protected List wireInstr;
@XmlElement(name = "ReorgInstrDtls")
protected List reorgInstrDtls;
/**
* Gets the value of the optnlDvdd 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 optnlDvdd property.
*
*
* For example, to add a new item, do as follows:
*
* getOptnlDvdd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OptionalDividendAccountQuantitySD3 }
*
*
* @return
* The value of the optnlDvdd property.
*/
public List getOptnlDvdd() {
if (optnlDvdd == null) {
optnlDvdd = new ArrayList<>();
}
return this.optnlDvdd;
}
/**
* Gets the value of the taxXmpt 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 taxXmpt property.
*
*
* For example, to add a new item, do as follows:
*
* getTaxXmpt().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link TaxExemptQuantitySD2 }
*
*
* @return
* The value of the taxXmpt property.
*/
public List getTaxXmpt() {
if (taxXmpt == null) {
taxXmpt = new ArrayList<>();
}
return this.taxXmpt;
}
/**
* Gets the value of the wireInstr 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 wireInstr property.
*
*
* For example, to add a new item, do as follows:
*
* getWireInstr().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link WireInstructionSD3 }
*
*
* @return
* The value of the wireInstr property.
*/
public List getWireInstr() {
if (wireInstr == null) {
wireInstr = new ArrayList<>();
}
return this.wireInstr;
}
/**
* Gets the value of the reorgInstrDtls 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 reorgInstrDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getReorgInstrDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ReorganisationInstructionDetailsSD1 }
*
*
* @return
* The value of the reorgInstrDtls property.
*/
public List getReorgInstrDtls() {
if (reorgInstrDtls == null) {
reorgInstrDtls = new ArrayList<>();
}
return this.reorgInstrDtls;
}
@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 optnlDvdd list.
* @see #getOptnlDvdd()
*
*/
public DTCCCAINSD1V04 addOptnlDvdd(OptionalDividendAccountQuantitySD3 optnlDvdd) {
getOptnlDvdd().add(optnlDvdd);
return this;
}
/**
* Adds a new item to the taxXmpt list.
* @see #getTaxXmpt()
*
*/
public DTCCCAINSD1V04 addTaxXmpt(TaxExemptQuantitySD2 taxXmpt) {
getTaxXmpt().add(taxXmpt);
return this;
}
/**
* Adds a new item to the wireInstr list.
* @see #getWireInstr()
*
*/
public DTCCCAINSD1V04 addWireInstr(WireInstructionSD3 wireInstr) {
getWireInstr().add(wireInstr);
return this;
}
/**
* Adds a new item to the reorgInstrDtls list.
* @see #getReorgInstrDtls()
*
*/
public DTCCCAINSD1V04 addReorgInstrDtls(ReorganisationInstructionDetailsSD1 reorgInstrDtls) {
getReorgInstrDtls().add(reorgInstrDtls);
return this;
}
}