
com.prowidesoftware.swift.model.mx.dic.SecuritiesTransactionCancellationRequestV01 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
* An account owner sends a SecuritiesTransactionCancellationRequest to an account servicer to request the cancellation of a securities transaction.
* The account owner/servicer relationship may be:
* - a global custodian which has an account with a local custodian, or
* - an investment management institution which manage a fund account opened at a custodian, or - a broker which has an account with a custodian, or
* - a central securities depository participant which has an account with a central securities depository, or
* - a central securities depository which has an account with a custodian, another central securities depository or another settlement market infrastructure, or
* - a central counterparty or a stock exchange or a trade matching utility which need to instruct to a central securities depository ot another settlement market infrastructure.
* Usage
* The transaction may be:
* - a securities settlement transaction
* - an intra-position movement
* - a securities financing transaction
* The instruction cannot be:
* - a securities settlement conditions modification (another transaction processing command should be sent to reverse a processing change previously requested).
* - a securities financing modification
* The message may also be used to:
* - re-send a message previously sent (the sub-function of the message is Duplicate),
* - provide a third party with a copy of a message for information (the sub-function of the message is Copy),
* - re-send to a third party a copy of a message for information (the sub-function of the message is Copy Duplicate).
* ISO 15022 - 20022 Coexistence
* This ISO 20022 message is reversed engineered from ISO 15022. Both standards will coexist for a certain number of years. Until this coexistence period ends, the usage of certain data types is restricted to ensure interoperability between ISO 15022 and 20022 users. Compliance to these rules is mandatory in a coexistence environment. The coexistence restrictions are described in a Textual Rule linked to the Message Items they concern. These coexistence textual rules are clearly identified as follows: “CoexistenceXxxxRule”.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesTransactionCancellationRequestV01", propOrder = {
"id",
"dtls",
"msgOrgtr",
"msgRcpt",
"xtnsn"
})
public class SecuritiesTransactionCancellationRequestV01 {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification11 id;
@XmlElement(name = "Dtls", required = true)
protected TransactionDetails11 dtls;
@XmlElement(name = "MsgOrgtr")
protected PartyIdentification10Choice msgOrgtr;
@XmlElement(name = "MsgRcpt")
protected PartyIdentification10Choice msgRcpt;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification11 }
*
*/
public DocumentIdentification11 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification11 }
*
*/
public SecuritiesTransactionCancellationRequestV01 setId(DocumentIdentification11 value) {
this.id = value;
return this;
}
/**
* Gets the value of the dtls property.
*
* @return
* possible object is
* {@link TransactionDetails11 }
*
*/
public TransactionDetails11 getDtls() {
return dtls;
}
/**
* Sets the value of the dtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails11 }
*
*/
public SecuritiesTransactionCancellationRequestV01 setDtls(TransactionDetails11 value) {
this.dtls = value;
return this;
}
/**
* Gets the value of the msgOrgtr property.
*
* @return
* possible object is
* {@link PartyIdentification10Choice }
*
*/
public PartyIdentification10Choice getMsgOrgtr() {
return msgOrgtr;
}
/**
* Sets the value of the msgOrgtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification10Choice }
*
*/
public SecuritiesTransactionCancellationRequestV01 setMsgOrgtr(PartyIdentification10Choice value) {
this.msgOrgtr = value;
return this;
}
/**
* Gets the value of the msgRcpt property.
*
* @return
* possible object is
* {@link PartyIdentification10Choice }
*
*/
public PartyIdentification10Choice getMsgRcpt() {
return msgRcpt;
}
/**
* Sets the value of the msgRcpt property.
*
* @param value
* allowed object is
* {@link PartyIdentification10Choice }
*
*/
public SecuritiesTransactionCancellationRequestV01 setMsgRcpt(PartyIdentification10Choice value) {
this.msgRcpt = 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 Extension2 }
*
*
*/
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 SecuritiesTransactionCancellationRequestV01 addXtnsn(Extension2 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}