com.prowidesoftware.swift.model.mx.dic.DTCCCACOSD1V10 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 DTCCCACOSD1 message extends ISO corporate action movement confirmation message with DTCC corporate action elements not covered in the standard message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DTCCCACOSD1V10", propOrder = {
"corpActnGnlInf",
"undrlygScty",
"corpActnDtls",
"acctBal",
"corpActnConfDtls",
"corpActnConfSctiesMvmntDtls",
"corpActnConfCshMvmntDtls",
"optnTxDtls"
})
public class DTCCCACOSD1V10 {
@XmlElement(name = "CorpActnGnlInf")
protected CorporateActionGeneralInformationSD52 corpActnGnlInf;
@XmlElement(name = "UndrlygScty")
protected FinancialInstrumentAttributesSD21 undrlygScty;
@XmlElement(name = "CorpActnDtls")
protected CorporateActionSD20 corpActnDtls;
@XmlElement(name = "AcctBal")
protected List acctBal;
@XmlElement(name = "CorpActnConfDtls")
protected CorporateActionConfirmationDetailsSD2 corpActnConfDtls;
@XmlElement(name = "CorpActnConfSctiesMvmntDtls")
protected List corpActnConfSctiesMvmntDtls;
@XmlElement(name = "CorpActnConfCshMvmntDtls")
protected List corpActnConfCshMvmntDtls;
@XmlElement(name = "OptnTxDtls")
protected List optnTxDtls;
/**
* Gets the value of the corpActnGnlInf property.
*
* @return
* possible object is
* {@link CorporateActionGeneralInformationSD52 }
*
*/
public CorporateActionGeneralInformationSD52 getCorpActnGnlInf() {
return corpActnGnlInf;
}
/**
* Sets the value of the corpActnGnlInf property.
*
* @param value
* allowed object is
* {@link CorporateActionGeneralInformationSD52 }
*
*/
public DTCCCACOSD1V10 setCorpActnGnlInf(CorporateActionGeneralInformationSD52 value) {
this.corpActnGnlInf = value;
return this;
}
/**
* Gets the value of the undrlygScty property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributesSD21 }
*
*/
public FinancialInstrumentAttributesSD21 getUndrlygScty() {
return undrlygScty;
}
/**
* Sets the value of the undrlygScty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributesSD21 }
*
*/
public DTCCCACOSD1V10 setUndrlygScty(FinancialInstrumentAttributesSD21 value) {
this.undrlygScty = value;
return this;
}
/**
* Gets the value of the corpActnDtls property.
*
* @return
* possible object is
* {@link CorporateActionSD20 }
*
*/
public CorporateActionSD20 getCorpActnDtls() {
return corpActnDtls;
}
/**
* Sets the value of the corpActnDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionSD20 }
*
*/
public DTCCCACOSD1V10 setCorpActnDtls(CorporateActionSD20 value) {
this.corpActnDtls = value;
return this;
}
/**
* Gets the value of the acctBal 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 acctBal property.
*
*
* For example, to add a new item, do as follows:
*
* getAcctBal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AccountBalanceSD14 }
*
*
* @return
* The value of the acctBal property.
*/
public List getAcctBal() {
if (acctBal == null) {
acctBal = new ArrayList<>();
}
return this.acctBal;
}
/**
* Gets the value of the corpActnConfDtls property.
*
* @return
* possible object is
* {@link CorporateActionConfirmationDetailsSD2 }
*
*/
public CorporateActionConfirmationDetailsSD2 getCorpActnConfDtls() {
return corpActnConfDtls;
}
/**
* Sets the value of the corpActnConfDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionConfirmationDetailsSD2 }
*
*/
public DTCCCACOSD1V10 setCorpActnConfDtls(CorporateActionConfirmationDetailsSD2 value) {
this.corpActnConfDtls = value;
return this;
}
/**
* Gets the value of the corpActnConfSctiesMvmntDtls 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 corpActnConfSctiesMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCorpActnConfSctiesMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CorporateActionConfirmationSecuritiesMovementDetailsSD6 }
*
*
* @return
* The value of the corpActnConfSctiesMvmntDtls property.
*/
public List getCorpActnConfSctiesMvmntDtls() {
if (corpActnConfSctiesMvmntDtls == null) {
corpActnConfSctiesMvmntDtls = new ArrayList<>();
}
return this.corpActnConfSctiesMvmntDtls;
}
/**
* Gets the value of the corpActnConfCshMvmntDtls 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 corpActnConfCshMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCorpActnConfCshMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CorporateActionConfirmationCashMovementDetailsSD5 }
*
*
* @return
* The value of the corpActnConfCshMvmntDtls property.
*/
public List getCorpActnConfCshMvmntDtls() {
if (corpActnConfCshMvmntDtls == null) {
corpActnConfCshMvmntDtls = new ArrayList<>();
}
return this.corpActnConfCshMvmntDtls;
}
/**
* Gets the value of the optnTxDtls 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 optnTxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getOptnTxDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link OptionTransactionSD6 }
*
*
* @return
* The value of the optnTxDtls property.
*/
public List getOptnTxDtls() {
if (optnTxDtls == null) {
optnTxDtls = new ArrayList<>();
}
return this.optnTxDtls;
}
@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 acctBal list.
* @see #getAcctBal()
*
*/
public DTCCCACOSD1V10 addAcctBal(AccountBalanceSD14 acctBal) {
getAcctBal().add(acctBal);
return this;
}
/**
* Adds a new item to the corpActnConfSctiesMvmntDtls list.
* @see #getCorpActnConfSctiesMvmntDtls()
*
*/
public DTCCCACOSD1V10 addCorpActnConfSctiesMvmntDtls(CorporateActionConfirmationSecuritiesMovementDetailsSD6 corpActnConfSctiesMvmntDtls) {
getCorpActnConfSctiesMvmntDtls().add(corpActnConfSctiesMvmntDtls);
return this;
}
/**
* Adds a new item to the corpActnConfCshMvmntDtls list.
* @see #getCorpActnConfCshMvmntDtls()
*
*/
public DTCCCACOSD1V10 addCorpActnConfCshMvmntDtls(CorporateActionConfirmationCashMovementDetailsSD5 corpActnConfCshMvmntDtls) {
getCorpActnConfCshMvmntDtls().add(corpActnConfCshMvmntDtls);
return this;
}
/**
* Adds a new item to the optnTxDtls list.
* @see #getOptnTxDtls()
*
*/
public DTCCCACOSD1V10 addOptnTxDtls(OptionTransactionSD6 optnTxDtls) {
getOptnTxDtls().add(optnTxDtls);
return this;
}
}