com.prowidesoftware.swift.model.mx.dic.ListStrikePriceDetails1 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.XmlSchemaType;
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;
/**
* Provides the details for negotiating and trading a large number of securities contained in or comprising a portfolio.
*
* One example is index arbitrage, which consists in the purchase or sale of a basket of stocks in conjunction with the sale or purchase of
* a derivative product (for example index futures) to profit from price differences between the basket and the derivative product.
*
* Other examples include liquidation of EFP (Exchange for Physical) stock positions, portfolio realignment and portfolio liquidation.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ListStrikePriceDetails1", propOrder = {
"clntOrdrId",
"strkPric",
"scndryClntOrdrId",
"prvsClsgPric",
"sd",
"undrlygFinInstrm",
"stiptns",
"undrlygStiptns",
"finInstrmAttrbts",
"undrlygFinInstrmAttrbts",
"finInstrm"
})
public class ListStrikePriceDetails1 {
@XmlElement(name = "ClntOrdrId", required = true)
protected String clntOrdrId;
@XmlElement(name = "StrkPric", required = true)
protected Price1 strkPric;
@XmlElement(name = "ScndryClntOrdrId")
protected String scndryClntOrdrId;
@XmlElement(name = "PrvsClsgPric")
protected Price1 prvsClsgPric;
@XmlElement(name = "Sd")
@XmlSchemaType(name = "string")
protected Side1Code sd;
@XmlElement(name = "UndrlygFinInstrm")
protected List undrlygFinInstrm;
@XmlElement(name = "Stiptns")
protected FinancialInstrumentStipulations stiptns;
@XmlElement(name = "UndrlygStiptns")
protected List undrlygStiptns;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes1 finInstrmAttrbts;
@XmlElement(name = "UndrlygFinInstrmAttrbts")
protected List undrlygFinInstrmAttrbts;
@XmlElement(name = "FinInstrm", required = true)
protected SecurityIdentification7 finInstrm;
/**
* Gets the value of the clntOrdrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getClntOrdrId() {
return clntOrdrId;
}
/**
* Sets the value of the clntOrdrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ListStrikePriceDetails1 setClntOrdrId(String value) {
this.clntOrdrId = value;
return this;
}
/**
* Gets the value of the strkPric property.
*
* @return
* possible object is
* {@link Price1 }
*
*/
public Price1 getStrkPric() {
return strkPric;
}
/**
* Sets the value of the strkPric property.
*
* @param value
* allowed object is
* {@link Price1 }
*
*/
public ListStrikePriceDetails1 setStrkPric(Price1 value) {
this.strkPric = value;
return this;
}
/**
* Gets the value of the scndryClntOrdrId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getScndryClntOrdrId() {
return scndryClntOrdrId;
}
/**
* Sets the value of the scndryClntOrdrId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ListStrikePriceDetails1 setScndryClntOrdrId(String value) {
this.scndryClntOrdrId = value;
return this;
}
/**
* Gets the value of the prvsClsgPric property.
*
* @return
* possible object is
* {@link Price1 }
*
*/
public Price1 getPrvsClsgPric() {
return prvsClsgPric;
}
/**
* Sets the value of the prvsClsgPric property.
*
* @param value
* allowed object is
* {@link Price1 }
*
*/
public ListStrikePriceDetails1 setPrvsClsgPric(Price1 value) {
this.prvsClsgPric = value;
return this;
}
/**
* Gets the value of the sd property.
*
* @return
* possible object is
* {@link Side1Code }
*
*/
public Side1Code getSd() {
return sd;
}
/**
* Sets the value of the sd property.
*
* @param value
* allowed object is
* {@link Side1Code }
*
*/
public ListStrikePriceDetails1 setSd(Side1Code value) {
this.sd = value;
return this;
}
/**
* Gets the value of the undrlygFinInstrm 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 undrlygFinInstrm property.
*
*
* For example, to add a new item, do as follows:
*
* getUndrlygFinInstrm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecurityIdentification7 }
*
*
*/
public List getUndrlygFinInstrm() {
if (undrlygFinInstrm == null) {
undrlygFinInstrm = new ArrayList();
}
return this.undrlygFinInstrm;
}
/**
* Gets the value of the stiptns property.
*
* @return
* possible object is
* {@link FinancialInstrumentStipulations }
*
*/
public FinancialInstrumentStipulations getStiptns() {
return stiptns;
}
/**
* Sets the value of the stiptns property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentStipulations }
*
*/
public ListStrikePriceDetails1 setStiptns(FinancialInstrumentStipulations value) {
this.stiptns = value;
return this;
}
/**
* 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 finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes1 }
*
*/
public FinancialInstrumentAttributes1 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes1 }
*
*/
public ListStrikePriceDetails1 setFinInstrmAttrbts(FinancialInstrumentAttributes1 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* 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 finInstrm property.
*
* @return
* possible object is
* {@link SecurityIdentification7 }
*
*/
public SecurityIdentification7 getFinInstrm() {
return finInstrm;
}
/**
* Sets the value of the finInstrm property.
*
* @param value
* allowed object is
* {@link SecurityIdentification7 }
*
*/
public ListStrikePriceDetails1 setFinInstrm(SecurityIdentification7 value) {
this.finInstrm = 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 undrlygFinInstrm list.
* @see #getUndrlygFinInstrm()
*
*/
public ListStrikePriceDetails1 addUndrlygFinInstrm(SecurityIdentification7 undrlygFinInstrm) {
getUndrlygFinInstrm().add(undrlygFinInstrm);
return this;
}
/**
* Adds a new item to the undrlygStiptns list.
* @see #getUndrlygStiptns()
*
*/
public ListStrikePriceDetails1 addUndrlygStiptns(FinancialInstrumentStipulations undrlygStiptns) {
getUndrlygStiptns().add(undrlygStiptns);
return this;
}
/**
* Adds a new item to the undrlygFinInstrmAttrbts list.
* @see #getUndrlygFinInstrmAttrbts()
*
*/
public ListStrikePriceDetails1 addUndrlygFinInstrmAttrbts(FinancialInstrumentAttributes1 undrlygFinInstrmAttrbts) {
getUndrlygFinInstrmAttrbts().add(undrlygFinInstrmAttrbts);
return this;
}
}