com.prowidesoftware.swift.model.mx.dic.DTCCCANOServiceDataSD1V03 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 DTCCCANOServiceDataSD1 message extends ISO corporate action notification (CANO) message with DTCC validation service specific data elements that are not covered by the standard message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DTCCCANOServiceDataSD1V03", propOrder = {
"ntfctnGnlInf",
"evtsLkg",
"corpActnNtfctn",
"undrlygScty",
"corpActnDtls",
"corpActnDtDtls",
"optnDtls",
"sctiesMvmntDtls",
"sctiesMvmntSctyDtls",
"cshMvmntDtls"
})
public class DTCCCANOServiceDataSD1V03 {
@XmlElement(name = "NtfctnGnlInf")
protected CorporateActionNotificationSD6 ntfctnGnlInf;
@XmlElement(name = "EvtsLkg")
protected List evtsLkg;
@XmlElement(name = "CorpActnNtfctn")
protected CorporateActionNotificationSD1 corpActnNtfctn;
@XmlElement(name = "UndrlygScty")
protected FinancialInstrumentAttributesSD7 undrlygScty;
@XmlElement(name = "CorpActnDtls")
protected CorporateActionSD4 corpActnDtls;
@XmlElement(name = "CorpActnDtDtls")
protected CorporateActionDateSD4 corpActnDtDtls;
@XmlElement(name = "OptnDtls")
protected List optnDtls;
@XmlElement(name = "SctiesMvmntDtls")
protected List sctiesMvmntDtls;
@XmlElement(name = "SctiesMvmntSctyDtls")
protected List sctiesMvmntSctyDtls;
@XmlElement(name = "CshMvmntDtls")
protected List cshMvmntDtls;
/**
* Gets the value of the ntfctnGnlInf property.
*
* @return
* possible object is
* {@link CorporateActionNotificationSD6 }
*
*/
public CorporateActionNotificationSD6 getNtfctnGnlInf() {
return ntfctnGnlInf;
}
/**
* Sets the value of the ntfctnGnlInf property.
*
* @param value
* allowed object is
* {@link CorporateActionNotificationSD6 }
*
*/
public DTCCCANOServiceDataSD1V03 setNtfctnGnlInf(CorporateActionNotificationSD6 value) {
this.ntfctnGnlInf = value;
return this;
}
/**
* Gets the value of the evtsLkg 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 evtsLkg property.
*
*
* For example, to add a new item, do as follows:
*
* getEvtsLkg().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CorporateActionEventReferenceSD2 }
*
*
* @return
* The value of the evtsLkg property.
*/
public List getEvtsLkg() {
if (evtsLkg == null) {
evtsLkg = new ArrayList<>();
}
return this.evtsLkg;
}
/**
* Gets the value of the corpActnNtfctn property.
*
* @return
* possible object is
* {@link CorporateActionNotificationSD1 }
*
*/
public CorporateActionNotificationSD1 getCorpActnNtfctn() {
return corpActnNtfctn;
}
/**
* Sets the value of the corpActnNtfctn property.
*
* @param value
* allowed object is
* {@link CorporateActionNotificationSD1 }
*
*/
public DTCCCANOServiceDataSD1V03 setCorpActnNtfctn(CorporateActionNotificationSD1 value) {
this.corpActnNtfctn = value;
return this;
}
/**
* Gets the value of the undrlygScty property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributesSD7 }
*
*/
public FinancialInstrumentAttributesSD7 getUndrlygScty() {
return undrlygScty;
}
/**
* Sets the value of the undrlygScty property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributesSD7 }
*
*/
public DTCCCANOServiceDataSD1V03 setUndrlygScty(FinancialInstrumentAttributesSD7 value) {
this.undrlygScty = value;
return this;
}
/**
* Gets the value of the corpActnDtls property.
*
* @return
* possible object is
* {@link CorporateActionSD4 }
*
*/
public CorporateActionSD4 getCorpActnDtls() {
return corpActnDtls;
}
/**
* Sets the value of the corpActnDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionSD4 }
*
*/
public DTCCCANOServiceDataSD1V03 setCorpActnDtls(CorporateActionSD4 value) {
this.corpActnDtls = value;
return this;
}
/**
* Gets the value of the corpActnDtDtls property.
*
* @return
* possible object is
* {@link CorporateActionDateSD4 }
*
*/
public CorporateActionDateSD4 getCorpActnDtDtls() {
return corpActnDtDtls;
}
/**
* Sets the value of the corpActnDtDtls property.
*
* @param value
* allowed object is
* {@link CorporateActionDateSD4 }
*
*/
public DTCCCANOServiceDataSD1V03 setCorpActnDtDtls(CorporateActionDateSD4 value) {
this.corpActnDtDtls = value;
return this;
}
/**
* Gets the value of the optnDtls 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 optnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getOptnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CorporateActionOptionSD5 }
*
*
* @return
* The value of the optnDtls property.
*/
public List getOptnDtls() {
if (optnDtls == null) {
optnDtls = new ArrayList<>();
}
return this.optnDtls;
}
/**
* Gets the value of the sctiesMvmntDtls 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 sctiesMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSctiesMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecuritiesOptionSD4 }
*
*
* @return
* The value of the sctiesMvmntDtls property.
*/
public List getSctiesMvmntDtls() {
if (sctiesMvmntDtls == null) {
sctiesMvmntDtls = new ArrayList<>();
}
return this.sctiesMvmntDtls;
}
/**
* Gets the value of the sctiesMvmntSctyDtls 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 sctiesMvmntSctyDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSctiesMvmntSctyDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentAttributesSD5 }
*
*
* @return
* The value of the sctiesMvmntSctyDtls property.
*/
public List getSctiesMvmntSctyDtls() {
if (sctiesMvmntSctyDtls == null) {
sctiesMvmntSctyDtls = new ArrayList<>();
}
return this.sctiesMvmntSctyDtls;
}
/**
* Gets the value of the cshMvmntDtls 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 cshMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCshMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashOptionSD5 }
*
*
* @return
* The value of the cshMvmntDtls property.
*/
public List getCshMvmntDtls() {
if (cshMvmntDtls == null) {
cshMvmntDtls = new ArrayList<>();
}
return this.cshMvmntDtls;
}
@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 evtsLkg list.
* @see #getEvtsLkg()
*
*/
public DTCCCANOServiceDataSD1V03 addEvtsLkg(CorporateActionEventReferenceSD2 evtsLkg) {
getEvtsLkg().add(evtsLkg);
return this;
}
/**
* Adds a new item to the optnDtls list.
* @see #getOptnDtls()
*
*/
public DTCCCANOServiceDataSD1V03 addOptnDtls(CorporateActionOptionSD5 optnDtls) {
getOptnDtls().add(optnDtls);
return this;
}
/**
* Adds a new item to the sctiesMvmntDtls list.
* @see #getSctiesMvmntDtls()
*
*/
public DTCCCANOServiceDataSD1V03 addSctiesMvmntDtls(SecuritiesOptionSD4 sctiesMvmntDtls) {
getSctiesMvmntDtls().add(sctiesMvmntDtls);
return this;
}
/**
* Adds a new item to the sctiesMvmntSctyDtls list.
* @see #getSctiesMvmntSctyDtls()
*
*/
public DTCCCANOServiceDataSD1V03 addSctiesMvmntSctyDtls(FinancialInstrumentAttributesSD5 sctiesMvmntSctyDtls) {
getSctiesMvmntSctyDtls().add(sctiesMvmntSctyDtls);
return this;
}
/**
* Adds a new item to the cshMvmntDtls list.
* @see #getCshMvmntDtls()
*
*/
public DTCCCANOServiceDataSD1V03 addCshMvmntDtls(CashOptionSD5 cshMvmntDtls) {
getCshMvmntDtls().add(cshMvmntDtls);
return this;
}
}