com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementStatusAdviceV01 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
* An account servicer sends a IntraPositionMovementStatusAdvice to an account owner to advise the status of a intra-position movement instruction previously sent by the account owner.
* The account servicer/owner relationship may be:
* - a central securities depository or another settlement market infrastructure acting on behalf of their participants
* - an agent (sub-custodian) acting on behalf of their global custodian customer, or
* - a custodian acting on behalf of an investment management institution or a broker/dealer.
* Usage
* 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 = "IntraPositionMovementStatusAdviceV01", propOrder = {
"id",
"txId",
"prcgSts",
"sttlmSts",
"txDtls",
"msgOrgtr",
"msgRcpt",
"xtnsn"
})
public class IntraPositionMovementStatusAdviceV01 {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification11 id;
@XmlElement(name = "TxId", required = true)
protected TransactionIdentifications3 txId;
@XmlElement(name = "PrcgSts")
protected IntraPositionProcessingStatus1Choice prcgSts;
@XmlElement(name = "SttlmSts")
protected SettlementStatus2Choice sttlmSts;
@XmlElement(name = "TxDtls")
protected IntraPositionDetails4 txDtls;
@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 IntraPositionMovementStatusAdviceV01 setId(DocumentIdentification11 value) {
this.id = value;
return this;
}
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link TransactionIdentifications3 }
*
*/
public TransactionIdentifications3 getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link TransactionIdentifications3 }
*
*/
public IntraPositionMovementStatusAdviceV01 setTxId(TransactionIdentifications3 value) {
this.txId = value;
return this;
}
/**
* Gets the value of the prcgSts property.
*
* @return
* possible object is
* {@link IntraPositionProcessingStatus1Choice }
*
*/
public IntraPositionProcessingStatus1Choice getPrcgSts() {
return prcgSts;
}
/**
* Sets the value of the prcgSts property.
*
* @param value
* allowed object is
* {@link IntraPositionProcessingStatus1Choice }
*
*/
public IntraPositionMovementStatusAdviceV01 setPrcgSts(IntraPositionProcessingStatus1Choice value) {
this.prcgSts = value;
return this;
}
/**
* Gets the value of the sttlmSts property.
*
* @return
* possible object is
* {@link SettlementStatus2Choice }
*
*/
public SettlementStatus2Choice getSttlmSts() {
return sttlmSts;
}
/**
* Sets the value of the sttlmSts property.
*
* @param value
* allowed object is
* {@link SettlementStatus2Choice }
*
*/
public IntraPositionMovementStatusAdviceV01 setSttlmSts(SettlementStatus2Choice value) {
this.sttlmSts = value;
return this;
}
/**
* Gets the value of the txDtls property.
*
* @return
* possible object is
* {@link IntraPositionDetails4 }
*
*/
public IntraPositionDetails4 getTxDtls() {
return txDtls;
}
/**
* Sets the value of the txDtls property.
*
* @param value
* allowed object is
* {@link IntraPositionDetails4 }
*
*/
public IntraPositionMovementStatusAdviceV01 setTxDtls(IntraPositionDetails4 value) {
this.txDtls = 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 IntraPositionMovementStatusAdviceV01 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 IntraPositionMovementStatusAdviceV01 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 IntraPositionMovementStatusAdviceV01 addXtnsn(Extension2 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}