com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementConfirmation002V08 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
* The IntraPositionMovementConfirmation is sent by an account servicer to an account owner to confirm the movement of securities within its holding from one sub-balance to another, for example, blocking of securities.
* The account servicer/owner relationship may be:
* - a central securities depository or another settlement market infrastructure acting on behalf of its participant
* - an agent (sub-custodian) acting on behalf of its 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,
* - 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.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "IntraPositionMovementConfirmation002V08", propOrder = {
"addtlParams",
"acctOwnr",
"sfkpgAcct",
"sfkpgPlc",
"finInstrmId",
"finInstrmAttrbts",
"intraPosDtls",
"splmtryData"
})
public class IntraPositionMovementConfirmation002V08 {
@XmlElement(name = "AddtlParams")
protected AdditionalParameters25 addtlParams;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification136Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount30 sfkpgAcct;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat39Choice sfkpgPlc;
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification20 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes95 finInstrmAttrbts;
@XmlElement(name = "IntraPosDtls", required = true)
protected IntraPositionDetails53 intraPosDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* Gets the value of the addtlParams property.
*
* @return
* possible object is
* {@link AdditionalParameters25 }
*
*/
public AdditionalParameters25 getAddtlParams() {
return addtlParams;
}
/**
* Sets the value of the addtlParams property.
*
* @param value
* allowed object is
* {@link AdditionalParameters25 }
*
*/
public IntraPositionMovementConfirmation002V08 setAddtlParams(AdditionalParameters25 value) {
this.addtlParams = value;
return this;
}
/**
* Gets the value of the acctOwnr property.
*
* @return
* possible object is
* {@link PartyIdentification136Choice }
*
*/
public PartyIdentification136Choice getAcctOwnr() {
return acctOwnr;
}
/**
* Sets the value of the acctOwnr property.
*
* @param value
* allowed object is
* {@link PartyIdentification136Choice }
*
*/
public IntraPositionMovementConfirmation002V08 setAcctOwnr(PartyIdentification136Choice value) {
this.acctOwnr = value;
return this;
}
/**
* Gets the value of the sfkpgAcct property.
*
* @return
* possible object is
* {@link SecuritiesAccount30 }
*
*/
public SecuritiesAccount30 getSfkpgAcct() {
return sfkpgAcct;
}
/**
* Sets the value of the sfkpgAcct property.
*
* @param value
* allowed object is
* {@link SecuritiesAccount30 }
*
*/
public IntraPositionMovementConfirmation002V08 setSfkpgAcct(SecuritiesAccount30 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormat39Choice }
*
*/
public SafekeepingPlaceFormat39Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat39Choice }
*
*/
public IntraPositionMovementConfirmation002V08 setSfkpgPlc(SafekeepingPlaceFormat39Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the finInstrmId property.
*
* @return
* possible object is
* {@link SecurityIdentification20 }
*
*/
public SecurityIdentification20 getFinInstrmId() {
return finInstrmId;
}
/**
* Sets the value of the finInstrmId property.
*
* @param value
* allowed object is
* {@link SecurityIdentification20 }
*
*/
public IntraPositionMovementConfirmation002V08 setFinInstrmId(SecurityIdentification20 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes95 }
*
*/
public FinancialInstrumentAttributes95 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes95 }
*
*/
public IntraPositionMovementConfirmation002V08 setFinInstrmAttrbts(FinancialInstrumentAttributes95 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the intraPosDtls property.
*
* @return
* possible object is
* {@link IntraPositionDetails53 }
*
*/
public IntraPositionDetails53 getIntraPosDtls() {
return intraPosDtls;
}
/**
* Sets the value of the intraPosDtls property.
*
* @param value
* allowed object is
* {@link IntraPositionDetails53 }
*
*/
public IntraPositionMovementConfirmation002V08 setIntraPosDtls(IntraPositionDetails53 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 IntraPositionMovementConfirmation002V08 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}