
com.prowidesoftware.swift.model.mx.dic.IndicationOfInterest Maven / Gradle / Ivy
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;
/**
* Scope
* A trading party, eg, a broker, sends the IndicationOfInterest message to another trading party, eg, an investment manager. This message is used to notify interest in a financial instrument that a trading party, eg, a broker, is buying or selling in either a proprietary or agency capacity.
* Usage
* The IndicationOfInterest message can be time bound with a specific expiration value. It is distributed with the understanding that other trading parties may react to the message first and that the merchandise may no longer be available due to (a) prior trade(s).
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IndicationOfInterest", propOrder = {
"id",
"rtgDtls",
"indctnOfIntrstDtls"
})
public class IndicationOfInterest {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification11 id;
@XmlElement(name = "RtgDtls")
protected List rtgDtls;
@XmlElement(name = "IndctnOfIntrstDtls", required = true)
protected IndicationOfInterest1 indctnOfIntrstDtls;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification11 }
*
*/
public DocumentIdentification11 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification11 }
*
*/
public IndicationOfInterest setId(DocumentIdentification11 value) {
this.id = value;
return this;
}
/**
* Gets the value of the rtgDtls 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 rtgDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getRtgDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Routing1 }
*
*
*/
public List getRtgDtls() {
if (rtgDtls == null) {
rtgDtls = new ArrayList();
}
return this.rtgDtls;
}
/**
* Gets the value of the indctnOfIntrstDtls property.
*
* @return
* possible object is
* {@link IndicationOfInterest1 }
*
*/
public IndicationOfInterest1 getIndctnOfIntrstDtls() {
return indctnOfIntrstDtls;
}
/**
* Sets the value of the indctnOfIntrstDtls property.
*
* @param value
* allowed object is
* {@link IndicationOfInterest1 }
*
*/
public IndicationOfInterest setIndctnOfIntrstDtls(IndicationOfInterest1 value) {
this.indctnOfIntrstDtls = 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 rtgDtls list.
* @see #getRtgDtls()
*
*/
public IndicationOfInterest addRtgDtls(Routing1 rtgDtls) {
getRtgDtls().add(rtgDtls);
return this;
}
}