com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementInstructionV02 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 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 IntraPositionMovementInstruction to an account servicer to instruct the movement of securities within its holding from one sub-balance to another, for example, blocking of securities.
* The account owner/servicer relationship may be:
* - 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
* - 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.
* Usage
* The message may also be used to:
* - re-send a message previously sent,
* - provide a third party with a copy of a message for information,
* - re-send to a third party a copy of a message for information.
* using the relevant elements in the Business Application Header.
* 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 = "IntraPositionMovementInstructionV02", propOrder = {
"txId",
"corpActnEvtId",
"lnkgs",
"acctOwnr",
"sfkpgAcct",
"sfkpgPlc",
"finInstrmId",
"finInstrmAttrbts",
"intraPosDtls",
"splmtryData"
})
public class IntraPositionMovementInstructionV02 {
@XmlElement(name = "TxId", required = true)
protected String txId;
@XmlElement(name = "CorpActnEvtId")
protected Identification1 corpActnEvtId;
@XmlElement(name = "Lnkgs")
protected Linkages8 lnkgs;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification36Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount13 sfkpgAcct;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat3Choice sfkpgPlc;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification14 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes21 finInstrmAttrbts;
@XmlElement(name = "IntraPosDtls", required = true)
protected IntraPositionDetails11 intraPosDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the txId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTxId() {
return txId;
}
/**
* Sets the value of the txId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public IntraPositionMovementInstructionV02 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the corpActnEvtId property.
*
* @return
* possible object is
* {@link Identification1 }
*
*/
public Identification1 getCorpActnEvtId() {
return corpActnEvtId;
}
/**
* Sets the value of the corpActnEvtId property.
*
* @param value
* allowed object is
* {@link Identification1 }
*
*/
public IntraPositionMovementInstructionV02 setCorpActnEvtId(Identification1 value) {
this.corpActnEvtId = value;
return this;
}
/**
* Gets the value of the lnkgs property.
*
* @return
* possible object is
* {@link Linkages8 }
*
*/
public Linkages8 getLnkgs() {
return lnkgs;
}
/**
* Sets the value of the lnkgs property.
*
* @param value
* allowed object is
* {@link Linkages8 }
*
*/
public IntraPositionMovementInstructionV02 setLnkgs(Linkages8 value) {
this.lnkgs = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification36Choice }
*
*/
public PartyIdentification36Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification36Choice }
*
*/
public IntraPositionMovementInstructionV02 setAcctOwnr(PartyIdentification36Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount13 }
*
*/
public SecuritiesAccount13 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount13 }
*
*/
public IntraPositionMovementInstructionV02 setSfkpgAcct(SecuritiesAccount13 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat3Choice }
*
*/
public SafekeepingPlaceFormat3Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat3Choice }
*
*/
public IntraPositionMovementInstructionV02 setSfkpgPlc(SafekeepingPlaceFormat3Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification14 }
*
*/
public SecurityIdentification14 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification14 }
*
*/
public IntraPositionMovementInstructionV02 setFinInstrmId(SecurityIdentification14 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes21 }
*
*/
public FinancialInstrumentAttributes21 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes21 }
*
*/
public IntraPositionMovementInstructionV02 setFinInstrmAttrbts(FinancialInstrumentAttributes21 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the intraPosDtls property.
*
* @return
* possible object is
* {@link IntraPositionDetails11 }
*
*/
public IntraPositionDetails11 getIntraPosDtls() {
return intraPosDtls;
}
/**
* Sets the value of the intraPosDtls property.
*
* @param value
* allowed object is
* {@link IntraPositionDetails11 }
*
*/
public IntraPositionMovementInstructionV02 setIntraPosDtls(IntraPositionDetails11 value) {
this.intraPosDtls = value;
return this;
}
/**
* Gets the value of the splmtryData 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 splmtryData property.
*
*
* For example, to add a new item, do as follows:
*
* getSplmtryData().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SupplementaryData1 }
*
*
* @return
* The value of the splmtryData property.
*/
public List getSplmtryData() {
if (splmtryData == null) {
splmtryData = new ArrayList<>();
}
return this.splmtryData;
}
@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 splmtryData list.
* @see #getSplmtryData()
*
*/
public IntraPositionMovementInstructionV02 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}