com.prowidesoftware.swift.model.mx.dic.SecuritiesSettlementConditionsModificationRequest002V01 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
* An account owner sends a SecuritiesSettlementConditionsModificationRequest to an account servicer to request the modification of a processing indicator or another non-matching information.
* The account owner/servicer relationship may be:
* - a central securities depository participant which has an account with a central securities depository.
* It could also be, if agreed in a service level agreement:
* - a global custodian which has an account with its local agent (sub-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 which has an account with a custodian, another central securities depository or another settlement market infrastructure.
* 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).
* This message cannot be used to request the modification of trade or event details.
* The use of AdditionalInformation and its fields must be pre-agreed between account servicer and account owner. The fields in that sequence cannot be used to amend a trade or event detail unless authorised by country market practice.
* ISO 15022 - 20022 Coexistence Subset
* This message definition is a subset of an ISO 20022 message that was reversed engineered from ISO 15022. A subset is a message definition that is compatible with another definition, but is more restrictive
* The ISO 15022 and ISO 20022 standards will coexist for a 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. These restrictions, which are described by textual usage rules in the ISO 20022 message, have been made mandatory in this subset.
* NOTE: The ISO 20022 message coexistence textual rules have been kept in the subset to explain why specific data types have been restricted. These textual rules are identified as follows: CoexistenceXxxxRule.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SecuritiesSettlementConditionsModificationRequest.002V01", propOrder = {
"id",
"acctOwnr",
"sfkpgAcct",
"reqDtls",
"addtlInf",
"msgOrgtr",
"msgRcpt",
"xtnsn"
})
public class SecuritiesSettlementConditionsModificationRequest002V01 {
@XmlElement(name = "Id", required = true)
protected DocumentIdentification16 id;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification18Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount17 sfkpgAcct;
@XmlElement(name = "ReqDtls", required = true)
protected List reqDtls;
@XmlElement(name = "AddtlInf")
protected List addtlInf;
@XmlElement(name = "MsgOrgtr")
protected PartyIdentification16Choice msgOrgtr;
@XmlElement(name = "MsgRcpt")
protected PartyIdentification16Choice msgRcpt;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link DocumentIdentification16 }
*
*/
public DocumentIdentification16 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link DocumentIdentification16 }
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 setId(DocumentIdentification16 value) {
this.id = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification18Choice }
*
*/
public PartyIdentification18Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification18Choice }
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 setAcctOwnr(PartyIdentification18Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount17 }
*
*/
public SecuritiesAccount17 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount17 }
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 setSfkpgAcct(SecuritiesAccount17 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the reqDtls 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 reqDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getReqDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link RequestDetails2 }
*
*
* @return
* The value of the reqDtls property.
*/
public List getReqDtls() {
if (reqDtls == null) {
reqDtls = new ArrayList<>();
}
return this.reqDtls;
}
/**
* Gets the value of the addtlInf 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 addtlInf property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalInformation4 }
*
*
* @return
* The value of the addtlInf property.
*/
public List getAddtlInf() {
if (addtlInf == null) {
addtlInf = new ArrayList<>();
}
return this.addtlInf;
}
/**
* Gets the value of the msgOrgtr property.
*
* @return
* possible object is
* {@link PartyIdentification16Choice }
*
*/
public PartyIdentification16Choice getMsgOrgtr() {
return msgOrgtr;
}
/**
* Sets the value of the msgOrgtr property.
*
* @param value
* allowed object is
* {@link PartyIdentification16Choice }
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 setMsgOrgtr(PartyIdentification16Choice value) {
this.msgOrgtr = value;
return this;
}
/**
* Gets the value of the msgRcpt property.
*
* @return
* possible object is
* {@link PartyIdentification16Choice }
*
*/
public PartyIdentification16Choice getMsgRcpt() {
return msgRcpt;
}
/**
* Sets the value of the msgRcpt property.
*
* @param value
* allowed object is
* {@link PartyIdentification16Choice }
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 setMsgRcpt(PartyIdentification16Choice 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 }
*
*
* @return
* The value of the xtnsn property.
*/
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 reqDtls list.
* @see #getReqDtls()
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 addReqDtls(RequestDetails2 reqDtls) {
getReqDtls().add(reqDtls);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 addAddtlInf(AdditionalInformation4 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public SecuritiesSettlementConditionsModificationRequest002V01 addXtnsn(Extension2 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}