com.prowidesoftware.swift.model.mx.dic.Sese01000101 Maven / Gradle / Ivy
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 TransferCancellationStatusReport message is sent by an executing party to the instructing party.
* The message gives the status of a transfer cancellation instruction that was previously sent by the instructing party.
* Usage
* The TransferCancellationStatusReport message is sent by an executing party to the instructing party. The message can be used to report that either
* - the cancellation has been acted upon or
* - the cancellation is rejected.
* In both cases, the reason must be specified using either a code or unstructured information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "sese.010.001.01", propOrder = {
"rltdRef",
"othrRef",
"stsRpt"
})
public class Sese01000101 {
@XmlElement(name = "RltdRef")
protected List rltdRef;
@XmlElement(name = "OthrRef")
protected AdditionalReference2 othrRef;
@XmlElement(name = "StsRpt", required = true)
protected CancellationStatusAndReason stsRpt;
/**
* Gets the value of the rltdRef 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 rltdRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference2 }
*
*
* @return
* The value of the rltdRef property.
*/
public List getRltdRef() {
if (rltdRef == null) {
rltdRef = new ArrayList<>();
}
return this.rltdRef;
}
/**
* Gets the value of the othrRef property.
*
* @return
* possible object is
* {@link AdditionalReference2 }
*
*/
public AdditionalReference2 getOthrRef() {
return othrRef;
}
/**
* Sets the value of the othrRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference2 }
*
*/
public Sese01000101 setOthrRef(AdditionalReference2 value) {
this.othrRef = value;
return this;
}
/**
* Gets the value of the stsRpt property.
*
* @return
* possible object is
* {@link CancellationStatusAndReason }
*
*/
public CancellationStatusAndReason getStsRpt() {
return stsRpt;
}
/**
* Sets the value of the stsRpt property.
*
* @param value
* allowed object is
* {@link CancellationStatusAndReason }
*
*/
public Sese01000101 setStsRpt(CancellationStatusAndReason value) {
this.stsRpt = 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 rltdRef list.
* @see #getRltdRef()
*
*/
public Sese01000101 addRltdRef(AdditionalReference2 rltdRef) {
getRltdRef().add(rltdRef);
return this;
}
}