com.prowidesoftware.swift.model.mx.dic.IntraPositionMovementPostingReport002V08 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 IntraPositionMovementPostingReport is sent by an account servicer to an account owner to provide the details of increases and decreases in securities with a given status within a holding, that is, intra-position transfers, which occurred during a specified period, for all or selected securities in a specified safekeeping account which the account servicer holds for the account owner.
*
*
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 = "IntraPositionMovementPostingReport002V08", propOrder = {
"pgntn",
"stmtGnlDtls",
"acctOwnr",
"sfkpgAcct",
"finInstrm"
})
public class IntraPositionMovementPostingReport002V08 {
@XmlElement(name = "Pgntn", required = true)
protected Pagination1 pgntn;
@XmlElement(name = "StmtGnlDtls", required = true)
protected Statement81 stmtGnlDtls;
@XmlElement(name = "AcctOwnr")
protected PartyIdentification136Choice acctOwnr;
@XmlElement(name = "SfkpgAcct", required = true)
protected SecuritiesAccount30 sfkpgAcct;
@XmlElement(name = "FinInstrm")
protected List finInstrm;
/**
* Gets the value of the pgntn property.
*
* @return
* possible object is
* {@link Pagination1 }
*
*/
public Pagination1 getPgntn() {
return pgntn;
}
/**
* Sets the value of the pgntn property.
*
* @param value
* allowed object is
* {@link Pagination1 }
*
*/
public IntraPositionMovementPostingReport002V08 setPgntn(Pagination1 value) {
this.pgntn = value;
return this;
}
/**
* Gets the value of the stmtGnlDtls property.
*
* @return
* possible object is
* {@link Statement81 }
*
*/
public Statement81 getStmtGnlDtls() {
return stmtGnlDtls;
}
/**
* Sets the value of the stmtGnlDtls property.
*
* @param value
* allowed object is
* {@link Statement81 }
*
*/
public IntraPositionMovementPostingReport002V08 setStmtGnlDtls(Statement81 value) {
this.stmtGnlDtls = 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 IntraPositionMovementPostingReport002V08 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 IntraPositionMovementPostingReport002V08 setSfkpgAcct(SecuritiesAccount30 value) {
this.sfkpgAcct = value;
return this;
}
/**
* Gets the value of the finInstrm 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 finInstrm property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrm().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrumentDetails36 }
*
*
* @return
* The value of the finInstrm property.
*/
public List getFinInstrm() {
if (finInstrm == null) {
finInstrm = new ArrayList<>();
}
return this.finInstrm;
}
@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 finInstrm list.
* @see #getFinInstrm()
*
*/
public IntraPositionMovementPostingReport002V08 addFinInstrm(FinancialInstrumentDetails36 finInstrm) {
getFinInstrm().add(finInstrm);
return this;
}
}