com.prowidesoftware.swift.model.mx.dic.MassQuote1 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;
/**
* Identifies elements related to a mass quote.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "MassQuote1", propOrder = {
"dfltBidSz",
"dfltOfferSz",
"qtSetDtls",
"tradgPties",
"cshPties",
"rcvgSttlmPties",
"dlvrgSttlmPties",
"othrBizPties"
})
public class MassQuote1 {
@XmlElement(name = "DfltBidSz")
protected FinancialInstrumentQuantityChoice dfltBidSz;
@XmlElement(name = "DfltOfferSz")
protected FinancialInstrumentQuantityChoice dfltOfferSz;
@XmlElement(name = "QtSetDtls", required = true)
protected List qtSetDtls;
@XmlElement(name = "TradgPties")
protected List tradgPties;
@XmlElement(name = "CshPties")
protected CashParties1 cshPties;
@XmlElement(name = "RcvgSttlmPties")
protected SettlementParties3 rcvgSttlmPties;
@XmlElement(name = "DlvrgSttlmPties")
protected SettlementParties3 dlvrgSttlmPties;
@XmlElement(name = "OthrBizPties")
protected OtherParties1 othrBizPties;
/**
* Gets the value of the dfltBidSz property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantityChoice }
*
*/
public FinancialInstrumentQuantityChoice getDfltBidSz() {
return dfltBidSz;
}
/**
* Sets the value of the dfltBidSz property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantityChoice }
*
*/
public MassQuote1 setDfltBidSz(FinancialInstrumentQuantityChoice value) {
this.dfltBidSz = value;
return this;
}
/**
* Gets the value of the dfltOfferSz property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantityChoice }
*
*/
public FinancialInstrumentQuantityChoice getDfltOfferSz() {
return dfltOfferSz;
}
/**
* Sets the value of the dfltOfferSz property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantityChoice }
*
*/
public MassQuote1 setDfltOfferSz(FinancialInstrumentQuantityChoice value) {
this.dfltOfferSz = value;
return this;
}
/**
* Gets the value of the qtSetDtls 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 qtSetDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getQtSetDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QuoteSet1 }
*
*
* @return
* The value of the qtSetDtls property.
*/
public List getQtSetDtls() {
if (qtSetDtls == null) {
qtSetDtls = new ArrayList<>();
}
return this.qtSetDtls;
}
/**
* Gets the value of the tradgPties 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 tradgPties property.
*
*
* For example, to add a new item, do as follows:
*
* getTradgPties().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Intermediary14 }
*
*
* @return
* The value of the tradgPties property.
*/
public List getTradgPties() {
if (tradgPties == null) {
tradgPties = new ArrayList<>();
}
return this.tradgPties;
}
/**
* Gets the value of the cshPties property.
*
* @return
* possible object is
* {@link CashParties1 }
*
*/
public CashParties1 getCshPties() {
return cshPties;
}
/**
* Sets the value of the cshPties property.
*
* @param value
* allowed object is
* {@link CashParties1 }
*
*/
public MassQuote1 setCshPties(CashParties1 value) {
this.cshPties = value;
return this;
}
/**
* Gets the value of the rcvgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getRcvgSttlmPties() {
return rcvgSttlmPties;
}
/**
* Sets the value of the rcvgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public MassQuote1 setRcvgSttlmPties(SettlementParties3 value) {
this.rcvgSttlmPties = value;
return this;
}
/**
* Gets the value of the dlvrgSttlmPties property.
*
* @return
* possible object is
* {@link SettlementParties3 }
*
*/
public SettlementParties3 getDlvrgSttlmPties() {
return dlvrgSttlmPties;
}
/**
* Sets the value of the dlvrgSttlmPties property.
*
* @param value
* allowed object is
* {@link SettlementParties3 }
*
*/
public MassQuote1 setDlvrgSttlmPties(SettlementParties3 value) {
this.dlvrgSttlmPties = value;
return this;
}
/**
* Gets the value of the othrBizPties property.
*
* @return
* possible object is
* {@link OtherParties1 }
*
*/
public OtherParties1 getOthrBizPties() {
return othrBizPties;
}
/**
* Sets the value of the othrBizPties property.
*
* @param value
* allowed object is
* {@link OtherParties1 }
*
*/
public MassQuote1 setOthrBizPties(OtherParties1 value) {
this.othrBizPties = value;
return this;
}
@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 qtSetDtls list.
* @see #getQtSetDtls()
*
*/
public MassQuote1 addQtSetDtls(QuoteSet1 qtSetDtls) {
getQtSetDtls().add(qtSetDtls);
return this;
}
/**
* Adds a new item to the tradgPties list.
* @see #getTradgPties()
*
*/
public MassQuote1 addTradgPties(Intermediary14 tradgPties) {
getTradgPties().add(tradgPties);
return this;
}
}