com.prowidesoftware.swift.model.mx.dic.StatusReportRequestV03 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;
/**
* Scope
* The StatusReportRequest message is sent by a party involved in a transaction to the matching application.
* This message is used to request a report on the status of transactions registered in the matching application.
* Usage
* The StatusReportRequest message can be sent by either party involved in a transaction to request a report on the status and sub-statuses of all transactions that the requester is involved in.
* The application will respond to the request by sending a StatusReport message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "StatusReportRequestV03", propOrder = {
"reqId",
"nttiesToBeRptd"
})
public class StatusReportRequestV03 {
@XmlElement(name = "ReqId", required = true)
protected MessageIdentification1 reqId;
@XmlElement(name = "NttiesToBeRptd")
protected List nttiesToBeRptd;
/**
* Gets the value of the reqId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getReqId() {
return reqId;
}
/**
* Sets the value of the reqId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public StatusReportRequestV03 setReqId(MessageIdentification1 value) {
this.reqId = value;
return this;
}
/**
* Gets the value of the nttiesToBeRptd 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 nttiesToBeRptd property.
*
*
* For example, to add a new item, do as follows:
*
* getNttiesToBeRptd().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link BICIdentification1 }
*
*
*/
public List getNttiesToBeRptd() {
if (nttiesToBeRptd == null) {
nttiesToBeRptd = new ArrayList();
}
return this.nttiesToBeRptd;
}
@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 nttiesToBeRptd list.
* @see #getNttiesToBeRptd()
*
*/
public StatusReportRequestV03 addNttiesToBeRptd(BICIdentification1 nttiesToBeRptd) {
getNttiesToBeRptd().add(nttiesToBeRptd);
return this;
}
}