
com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementTransactionModificationRequest002V06 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
* This message is sent by an account owner to an account servicer.
*
* The account owner will generally be:
* - a central securities depository participant which has an account with a central securities depository or a market infrastructure
* - an investment manager which has an account with a custodian acting as accounting and/or settlement agent.
*
* It is used to request the modification of non core business data (matching or non-matching) information in a pending or settled instruction. It can also be used for the enrichment of an incomplete transaction.
*
* Usage
* The modification must only contain the data to be modified.
* The message may also be used to:
* - re-send a message sent by the account owner to the account servicer,
* - provide a third party with a copy of a message being sent by the account owner for information,
* - re-send to a third party a copy of a message being sent by the account owner for information
* using the relevant elements in the Business Application Header.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesSettlementTransactionModificationRequest002V06", propOrder = {
"modfdTxDtls",
"updTp"
})
public class SecuritiesSettlementTransactionModificationRequest002V06 {
@XmlElement(name = "ModfdTxDtls", required = true)
protected TransactionDetails108 modfdTxDtls;
@XmlElement(name = "UpdTp", required = true)
protected List updTp;
/**
* Gets the value of the modfdTxDtls property.
*
* @return
* possible object is
* {@link TransactionDetails108 }
*
*/
public TransactionDetails108 getModfdTxDtls() {
return modfdTxDtls;
}
/**
* Sets the value of the modfdTxDtls property.
*
* @param value
* allowed object is
* {@link TransactionDetails108 }
*
*/
public SecuritiesSettlementTransactionModificationRequest002V06 setModfdTxDtls(TransactionDetails108 value) {
this.modfdTxDtls = value;
return this;
}
/**
* Gets the value of the updTp 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 updTp property.
*
*
* For example, to add a new item, do as follows:
*
* getUpdTp().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link UpdateType28Choice }
*
*
*/
public List getUpdTp() {
if (updTp == null) {
updTp = new ArrayList();
}
return this.updTp;
}
@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 updTp list.
* @see #getUpdTp()
*
*/
public SecuritiesSettlementTransactionModificationRequest002V06 addUpdTp(UpdateType28Choice updTp) {
getUpdTp().add(updTp);
return this;
}
}