com.prowidesoftware.swift.model.mx.dic.Tsmt02300102 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 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;
/**
* Scope
* The MisMatchRejectionNotification message is sent by the matching application to the submitter of mis-matched data sets.
* This message is used to notify the rejection of mis-matched data sets.
* Usage
* The MisMatchRejectionNotification message can be sent by the matching application to pass on the information about the rejection of mis-matched data sets that it has obtained through the receipt of an MisMatchRejection message.
* In order to pass on information about the acceptance of mis-matched data sets the matching application sends an MisMatchAcceptanceNotification message.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "tsmt.023.001.02", propOrder = {
"ntfctnId",
"txId",
"tsuBaselnId",
"txSts",
"usrTxRef",
"dataSetMtchRptRef",
"rjctnRsn",
"reqForActn"
})
public class Tsmt02300102 {
@XmlElement(name = "NtfctnId", required = true)
protected MessageIdentification1 ntfctnId;
@XmlElement(name = "TxId", required = true)
protected SimpleIdentificationInformation txId;
@XmlElement(name = "TSUBaselnId", required = true)
protected DocumentIdentification3 tsuBaselnId;
@XmlElement(name = "TxSts", required = true)
protected TransactionStatus1 txSts;
@XmlElement(name = "UsrTxRef", required = true)
protected List usrTxRef;
@XmlElement(name = "DataSetMtchRptRef", required = true)
protected MessageIdentification1 dataSetMtchRptRef;
@XmlElement(name = "RjctnRsn", required = true)
protected RejectionReason1Choice rjctnRsn;
@XmlElement(name = "ReqForActn")
protected PendingActivity1 reqForActn;
/**
* Gets the value of the ntfctnId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getNtfctnId() {
return ntfctnId;
}
/**
* Sets the value of the ntfctnId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public Tsmt02300102 setNtfctnId(MessageIdentification1 value) {
this.ntfctnId = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link SimpleIdentificationInformation }
*
*/
public SimpleIdentificationInformation getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link SimpleIdentificationInformation }
*
*/
public Tsmt02300102 setTxId(SimpleIdentificationInformation value) {
this.txId = value;
return this;
}
/**
* Gets the value of the tsuBaselnId property.
*
* @return
* possible object is
* {@link DocumentIdentification3 }
*
*/
public DocumentIdentification3 getTSUBaselnId() {
return tsuBaselnId;
}
/**
* Sets the value of the tsuBaselnId property.
*
* @param value
* allowed object is
* {@link DocumentIdentification3 }
*
*/
public Tsmt02300102 setTSUBaselnId(DocumentIdentification3 value) {
this.tsuBaselnId = value;
return this;
}
/**
* Gets the value of the txSts property.
*
* @return
* possible object is
* {@link TransactionStatus1 }
*
*/
public TransactionStatus1 getTxSts() {
return txSts;
}
/**
* Sets the value of the txSts property.
*
* @param value
* allowed object is
* {@link TransactionStatus1 }
*
*/
public Tsmt02300102 setTxSts(TransactionStatus1 value) {
this.txSts = value;
return this;
}
/**
* Gets the value of the usrTxRef 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 usrTxRef property.
*
*
* For example, to add a new item, do as follows:
*
* getUsrTxRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link DocumentIdentification5 }
*
*
* @return
* The value of the usrTxRef property.
*/
public List getUsrTxRef() {
if (usrTxRef == null) {
usrTxRef = new ArrayList<>();
}
return this.usrTxRef;
}
/**
* Gets the value of the dataSetMtchRptRef property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getDataSetMtchRptRef() {
return dataSetMtchRptRef;
}
/**
* Sets the value of the dataSetMtchRptRef property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public Tsmt02300102 setDataSetMtchRptRef(MessageIdentification1 value) {
this.dataSetMtchRptRef = value;
return this;
}
/**
* Gets the value of the rjctnRsn property.
*
* @return
* possible object is
* {@link RejectionReason1Choice }
*
*/
public RejectionReason1Choice getRjctnRsn() {
return rjctnRsn;
}
/**
* Sets the value of the rjctnRsn property.
*
* @param value
* allowed object is
* {@link RejectionReason1Choice }
*
*/
public Tsmt02300102 setRjctnRsn(RejectionReason1Choice value) {
this.rjctnRsn = value;
return this;
}
/**
* Gets the value of the reqForActn property.
*
* @return
* possible object is
* {@link PendingActivity1 }
*
*/
public PendingActivity1 getReqForActn() {
return reqForActn;
}
/**
* Sets the value of the reqForActn property.
*
* @param value
* allowed object is
* {@link PendingActivity1 }
*
*/
public Tsmt02300102 setReqForActn(PendingActivity1 value) {
this.reqForActn = 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 usrTxRef list.
* @see #getUsrTxRef()
*
*/
public Tsmt02300102 addUsrTxRef(DocumentIdentification5 usrTxRef) {
getUsrTxRef().add(usrTxRef);
return this;
}
}