com.prowidesoftware.swift.model.mx.dic.QuoteCancellation1Choice 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;
/**
* Choice between the type of quote to be cancelled. Not required when cancelling all quotes.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "QuoteCancellation1Choice", propOrder = {
"finInstrmDtls",
"finInstrmAttrbts",
"stiptns",
"undrlygFinInstrmDtls",
"undrlygFinInstrmAttrbts",
"undrlygStiptns",
"instrmLegGrpDtls"
})
public class QuoteCancellation1Choice {
@XmlElement(name = "FinInstrmDtls")
protected List finInstrmDtls;
@XmlElement(name = "FinInstrmAttrbts")
protected List finInstrmAttrbts;
@XmlElement(name = "Stiptns")
protected List stiptns;
@XmlElement(name = "UndrlygFinInstrmDtls")
protected List undrlygFinInstrmDtls;
@XmlElement(name = "UndrlygFinInstrmAttrbts")
protected List undrlygFinInstrmAttrbts;
@XmlElement(name = "UndrlygStiptns")
protected List undrlygStiptns;
@XmlElement(name = "InstrmLegGrpDtls")
protected List instrmLegGrpDtls;
/**
* Gets the value of the finInstrmDtls 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 finInstrmDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecurityIdentification7 }
*
*
*/
public List getFinInstrmDtls() {
if (finInstrmDtls == null) {
finInstrmDtls = new ArrayList();
}
return this.finInstrmDtls;
}
/**
* Gets the value of the finInstrmAttrbts 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 finInstrmAttrbts property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmAttrbts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentAttributes1 }
*
*
*/
public List getFinInstrmAttrbts() {
if (finInstrmAttrbts == null) {
finInstrmAttrbts = new ArrayList();
}
return this.finInstrmAttrbts;
}
/**
* Gets the value of the stiptns 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 stiptns property.
*
*
* For example, to add a new item, do as follows:
*
* getStiptns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentStipulations }
*
*
*/
public List getStiptns() {
if (stiptns == null) {
stiptns = new ArrayList();
}
return this.stiptns;
}
/**
* Gets the value of the undrlygFinInstrmDtls 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 undrlygFinInstrmDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrmDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecurityIdentification7 }
*
*
*/
public List getUndrlygFinInstrmDtls() {
if (undrlygFinInstrmDtls == null) {
undrlygFinInstrmDtls = new ArrayList();
}
return this.undrlygFinInstrmDtls;
}
/**
* Gets the value of the undrlygFinInstrmAttrbts 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 undrlygFinInstrmAttrbts property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrmAttrbts().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentAttributes1 }
*
*
*/
public List getUndrlygFinInstrmAttrbts() {
if (undrlygFinInstrmAttrbts == null) {
undrlygFinInstrmAttrbts = new ArrayList();
}
return this.undrlygFinInstrmAttrbts;
}
/**
* Gets the value of the undrlygStiptns 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 undrlygStiptns property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygStiptns().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentStipulations }
*
*
*/
public List getUndrlygStiptns() {
if (undrlygStiptns == null) {
undrlygStiptns = new ArrayList();
}
return this.undrlygStiptns;
}
/**
* Gets the value of the instrmLegGrpDtls 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 instrmLegGrpDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getInstrmLegGrpDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InstrumentLeg2 }
*
*
*/
public List getInstrmLegGrpDtls() {
if (instrmLegGrpDtls == null) {
instrmLegGrpDtls = new ArrayList();
}
return this.instrmLegGrpDtls;
}
@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 finInstrmDtls list.
* @see #getFinInstrmDtls()
*
*/
public QuoteCancellation1Choice addFinInstrmDtls(SecurityIdentification7 finInstrmDtls) {
getFinInstrmDtls().add(finInstrmDtls);
return this;
}
/**
* Adds a new item to the finInstrmAttrbts list.
* @see #getFinInstrmAttrbts()
*
*/
public QuoteCancellation1Choice addFinInstrmAttrbts(FinancialInstrumentAttributes1 finInstrmAttrbts) {
getFinInstrmAttrbts().add(finInstrmAttrbts);
return this;
}
/**
* Adds a new item to the stiptns list.
* @see #getStiptns()
*
*/
public QuoteCancellation1Choice addStiptns(FinancialInstrumentStipulations stiptns) {
getStiptns().add(stiptns);
return this;
}
/**
* Adds a new item to the undrlygFinInstrmDtls list.
* @see #getUndrlygFinInstrmDtls()
*
*/
public QuoteCancellation1Choice addUndrlygFinInstrmDtls(SecurityIdentification7 undrlygFinInstrmDtls) {
getUndrlygFinInstrmDtls().add(undrlygFinInstrmDtls);
return this;
}
/**
* Adds a new item to the undrlygFinInstrmAttrbts list.
* @see #getUndrlygFinInstrmAttrbts()
*
*/
public QuoteCancellation1Choice addUndrlygFinInstrmAttrbts(FinancialInstrumentAttributes1 undrlygFinInstrmAttrbts) {
getUndrlygFinInstrmAttrbts().add(undrlygFinInstrmAttrbts);
return this;
}
/**
* Adds a new item to the undrlygStiptns list.
* @see #getUndrlygStiptns()
*
*/
public QuoteCancellation1Choice addUndrlygStiptns(FinancialInstrumentStipulations undrlygStiptns) {
getUndrlygStiptns().add(undrlygStiptns);
return this;
}
/**
* Adds a new item to the instrmLegGrpDtls list.
* @see #getInstrmLegGrpDtls()
*
*/
public QuoteCancellation1Choice addInstrmLegGrpDtls(InstrumentLeg2 instrmLegGrpDtls) {
getInstrmLegGrpDtls().add(instrmLegGrpDtls);
return this;
}
}