
com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementInstruction002V03 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 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
* - 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.
*
* 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 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 = "IntraPositionMovementInstruction002V03", propOrder = {
"txId",
"corpActnEvtId",
"nbCounts",
"lnkgs",
"acctOwnr",
"sfkpgAcct",
"sfkpgPlc",
"finInstrmId",
"finInstrmAttrbts",
"intraPosDtls",
"splmtryData"
})
public class IntraPositionMovementInstruction002V03 {
@XmlElement(name = "TxId", required = true)
protected String txId;
@XmlElement(name = "CorpActnEvtId")
protected Identification4 corpActnEvtId;
@XmlElement(name = "NbCounts")
protected NumberCount1Choice nbCounts;
@XmlElement(name = "Lnkgs")
protected List lnkgs;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification51Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount17 sfkpgAcct;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat4Choice sfkpgPlc;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification15 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes42 finInstrmAttrbts;
@XmlElement(name = "IntraPosDtls", required = true)
protected IntraPositionDetails25 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 IntraPositionMovementInstruction002V03 setTxId(String value) {
this.txId = value;
return this;
}
/**
* Gets the value of the corpActnEvtId property.
*
* @return
* possible object is
* {@link Identification4 }
*
*/
public Identification4 getCorpActnEvtId() {
return corpActnEvtId;
}
/**
* Sets the value of the corpActnEvtId property.
*
* @param value
* allowed object is
* {@link Identification4 }
*
*/
public IntraPositionMovementInstruction002V03 setCorpActnEvtId(Identification4 value) {
this.corpActnEvtId = value;
return this;
}
/**
* Gets the value of the nbCounts property.
*
* @return
* possible object is
* {@link NumberCount1Choice }
*
*/
public NumberCount1Choice getNbCounts() {
return nbCounts;
}
/**
* Sets the value of the nbCounts property.
*
* @param value
* allowed object is
* {@link NumberCount1Choice }
*
*/
public IntraPositionMovementInstruction002V03 setNbCounts(NumberCount1Choice value) {
this.nbCounts = value;
return this;
}
/**
* Gets the value of the lnkgs 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 lnkgs property.
*
*
* For example, to add a new item, do as follows:
*
* getLnkgs().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Linkages25 }
*
*
*/
public List getLnkgs() {
if (lnkgs == null) {
lnkgs = new ArrayList();
}
return this.lnkgs;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification51Choice }
*
*/
public PartyIdentification51Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification51Choice }
*
*/
public IntraPositionMovementInstruction002V03 setAcctOwnr(PartyIdentification51Choice 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 IntraPositionMovementInstruction002V03 setSfkpgAcct(SecuritiesAccount17 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat4Choice }
*
*/
public SafekeepingPlaceFormat4Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat4Choice }
*
*/
public IntraPositionMovementInstruction002V03 setSfkpgPlc(SafekeepingPlaceFormat4Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification15 }
*
*/
public SecurityIdentification15 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification15 }
*
*/
public IntraPositionMovementInstruction002V03 setFinInstrmId(SecurityIdentification15 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes42 }
*
*/
public FinancialInstrumentAttributes42 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes42 }
*
*/
public IntraPositionMovementInstruction002V03 setFinInstrmAttrbts(FinancialInstrumentAttributes42 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the intraPosDtls property.
*
* @return
* possible object is
* {@link IntraPositionDetails25 }
*
*/
public IntraPositionDetails25 getIntraPosDtls() {
return intraPosDtls;
}
/**
* Sets the value of the intraPosDtls property.
*
* @param value
* allowed object is
* {@link IntraPositionDetails25 }
*
*/
public IntraPositionMovementInstruction002V03 setIntraPosDtls(IntraPositionDetails25 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 lnkgs list.
* @see #getLnkgs()
*
*/
public IntraPositionMovementInstruction002V03 addLnkgs(Linkages25 lnkgs) {
getLnkgs().add(lnkgs);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public IntraPositionMovementInstruction002V03 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}