com.prowidesoftware.swift.model.mx.dic.DTCCCACSSD1V01 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 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;
/**
* The DTCCCACSSD1 message extends ISO corporate action Instruction Cancellation Request Status Advice (CACS) message with DTCC corporate action elements not covered in the standard message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DTCCCACSSD1V01", propOrder = {
"reorgInstrCxlDtls"
})
public class DTCCCACSSD1V01 {
@XmlElement(name = "ReorgInstrCxlDtls")
protected List reorgInstrCxlDtls;
/**
* Gets the value of the reorgInstrCxlDtls 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 reorgInstrCxlDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getReorgInstrCxlDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ReorganisationInstructionDetailsSD4 }
*
*
*/
public List getReorgInstrCxlDtls() {
if (reorgInstrCxlDtls == null) {
reorgInstrCxlDtls = new ArrayList();
}
return this.reorgInstrCxlDtls;
}
@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 reorgInstrCxlDtls list.
* @see #getReorgInstrCxlDtls()
*
*/
public DTCCCACSSD1V01 addReorgInstrCxlDtls(ReorganisationInstructionDetailsSD4 reorgInstrCxlDtls) {
getReorgInstrCxlDtls().add(reorgInstrCxlDtls);
return this;
}
}