
com.prowidesoftware.swift.model.mx.dic.TransferInstructionStatusReportV08 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
* The TransferInstructionStatusReport message is sent by an executing party, for example, a transfer agent, to the instructing party, for example, an investment manager or one of its authorised representatives to provide the status of a previously received request for holdings information, portfolio transfer or transfer instruction.
It may also be used to report the status of an event related to the asset being transferred or provide additional information.
* Usage
* The TransferInstructionStatusReport message is sent by an executing party, for example, a transfer agent, to the instructing party, for example, an investment manager or one of its authorised representatives to provide the status of a previously received request for holdings information, portfolio transfer or transfer instruction. It may also be used to report the status of an event related to the asset being transferred or provide additional information.
* The message identification of the transfer instruction message in which the transfer instruction was conveyed may also be quoted in RelatedReference.
* One of the following statuses can be reported:
* - an accepted status, or,
* - an already executed status, or,
* - a sent to next party status, or,
* - a matched status, or,
* - a settled status, or,
* - a delayed status, or,
* - a pending settlement status and the reason for the status, or,
* - an unmatched status and the reason for the status, or,
* - an in-repair status and the reason for the status, or,
* - a rejected status and the reason for the status, or,
* - a failed settlement status and the reason for the status, or,
* - a cancelled status and the reason for the status, or,
* - a cancelled status and the reason for the status, or,
* - a cancellation pending status and the reason for the status.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TransferInstructionStatusReportV08", propOrder = {
"msgId",
"ctrPtyRef",
"ref",
"stsRpt",
"mktPrctcVrsn",
"xtnsn"
})
public class TransferInstructionStatusReportV08 {
@XmlElement(name = "MsgId", required = true)
protected MessageIdentification1 msgId;
@XmlElement(name = "CtrPtyRef")
protected AdditionalReference10 ctrPtyRef;
@XmlElement(name = "Ref")
protected References64Choice ref;
@XmlElement(name = "StsRpt", required = true)
protected TransferStatusAndReason7 stsRpt;
@XmlElement(name = "MktPrctcVrsn")
protected MarketPracticeVersion1 mktPrctcVrsn;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the msgId property.
*
* @return
* possible object is
* {@link MessageIdentification1 }
*
*/
public MessageIdentification1 getMsgId() {
return msgId;
}
/**
* Sets the value of the msgId property.
*
* @param value
* allowed object is
* {@link MessageIdentification1 }
*
*/
public TransferInstructionStatusReportV08 setMsgId(MessageIdentification1 value) {
this.msgId = value;
return this;
}
/**
* Gets the value of the ctrPtyRef property.
*
* @return
* possible object is
* {@link AdditionalReference10 }
*
*/
public AdditionalReference10 getCtrPtyRef() {
return ctrPtyRef;
}
/**
* Sets the value of the ctrPtyRef property.
*
* @param value
* allowed object is
* {@link AdditionalReference10 }
*
*/
public TransferInstructionStatusReportV08 setCtrPtyRef(AdditionalReference10 value) {
this.ctrPtyRef = value;
return this;
}
/**
* Gets the value of the ref property.
*
* @return
* possible object is
* {@link References64Choice }
*
*/
public References64Choice getRef() {
return ref;
}
/**
* Sets the value of the ref property.
*
* @param value
* allowed object is
* {@link References64Choice }
*
*/
public TransferInstructionStatusReportV08 setRef(References64Choice value) {
this.ref = value;
return this;
}
/**
* Gets the value of the stsRpt property.
*
* @return
* possible object is
* {@link TransferStatusAndReason7 }
*
*/
public TransferStatusAndReason7 getStsRpt() {
return stsRpt;
}
/**
* Sets the value of the stsRpt property.
*
* @param value
* allowed object is
* {@link TransferStatusAndReason7 }
*
*/
public TransferInstructionStatusReportV08 setStsRpt(TransferStatusAndReason7 value) {
this.stsRpt = value;
return this;
}
/**
* Gets the value of the mktPrctcVrsn property.
*
* @return
* possible object is
* {@link MarketPracticeVersion1 }
*
*/
public MarketPracticeVersion1 getMktPrctcVrsn() {
return mktPrctcVrsn;
}
/**
* Sets the value of the mktPrctcVrsn property.
*
* @param value
* allowed object is
* {@link MarketPracticeVersion1 }
*
*/
public TransferInstructionStatusReportV08 setMktPrctcVrsn(MarketPracticeVersion1 value) {
this.mktPrctcVrsn = value;
return this;
}
/**
* Gets the value of the xtnsn 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 xtnsn property.
*
*
* For example, to add a new item, do as follows:
*
* getXtnsn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Extension1 }
*
*
*/
public List getXtnsn() {
if (xtnsn == null) {
xtnsn = new ArrayList();
}
return this.xtnsn;
}
@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 xtnsn list.
* @see #getXtnsn()
*
*/
public TransferInstructionStatusReportV08 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}