
com.prowidesoftware.swift.model.mx.dic.ForeignExchangeTradeCaptureReportAcknowledgementV01 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.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;
/**
* Scope
* The ForeignExchangeTradeCaptureReportAcknowledgement message is sent by trading members to the trading system for notifying the trade capture report is received.
*
* Usage
* The acknowledgement is sent by the trading member to the trading system after they received the trade capture report.
* Note that one capture acknowledgement responds to one capture report.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ForeignExchangeTradeCaptureReportAcknowledgementV01", propOrder = {
"ackId",
"tradId",
"sts",
"ref",
"splmtryData"
})
public class ForeignExchangeTradeCaptureReportAcknowledgementV01 {
@XmlElement(name = "AckId")
protected MessageIdentification1 ackId;
@XmlElement(name = "TradId", required = true)
protected String tradId;
@XmlElement(name = "Sts", required = true)
@XmlSchemaType(name = "string")
protected Status5Code sts;
@XmlElement(name = "Ref")
protected AdditionalReferences ref;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the ackId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getAckId() {
return ackId;
}
/**
* Sets the value of the ackId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public ForeignExchangeTradeCaptureReportAcknowledgementV01 setAckId(MessageIdentification1 value) {
this.ackId = value;
return this;
}
/**
* Gets the value of the tradId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTradId() {
return tradId;
}
/**
* Sets the value of the tradId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public ForeignExchangeTradeCaptureReportAcknowledgementV01 setTradId(String value) {
this.tradId = value;
return this;
}
/**
* Gets the value of the sts property.
*
* @return
* possible object is
* {@link Status5Code }
*
*/
public Status5Code getSts() {
return sts;
}
/**
* Sets the value of the sts property.
*
* @param value
* allowed object is
* {@link Status5Code }
*
*/
public ForeignExchangeTradeCaptureReportAcknowledgementV01 setSts(Status5Code value) {
this.sts = value;
return this;
}
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link AdditionalReferences }
*
*/
public AdditionalReferences getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link AdditionalReferences }
*
*/
public ForeignExchangeTradeCaptureReportAcknowledgementV01 setRef(AdditionalReferences value) {
this.ref = value;
return this;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public ForeignExchangeTradeCaptureReportAcknowledgementV01 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}