
com.prowidesoftware.swift.model.mx.dic.Semt00300101 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 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
* The AccountingStatementOfHoldings message is sent by an account servicer to the account owner or the account owner's designated agent. The account servicer may be a local agent acting on behalf of its global custodian customer, a custodian acting on behalf of an investment management institution or a broker/dealer, a fund administrator or fund intermediary, trustee or registrar, etc.
* This message provides, at a specified moment in time, valuations of the portfolio together with details of each financial instrument holding.
* The information in the message can be audited or un-audited.
* Usage
* The AccountingStatementOfHoldings message can be sent:
* - At a frequency agreed bi-laterally between the Sender and the Receiver
* - As a response to a request for statement sent by the account owner. The request for statement message will be developed at a later stage.
* This message can only be used to list the holdings of a single (master) account. However, it is possible to break down these holdings into one or several sub-accounts. Therefore, the message can be used to either specify holdings at
* - the main account level, or
* - the sub-account level.
* This message can be used to report where the securities are safe-kept, physically or notionally. If a security is held in more than one safekeeping place, this can also be indicated.
* The AccountingStatementOfHoldings message must not be used to reconcile the books of the account owner and the account servicer. The CustodyStatementOfHoldings message is used for reconciliation purposes.
* The AccountingStatementOfHoldings message must not be used for trading purposes.
* Since a SWIFT message as sent is restricted to the maximum input message length, several messages may be needed to accommodate all the information.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "semt.003.001.01", propOrder = {
"prvsRef",
"rltdRef",
"msgPgntn",
"stmtGnlDtls",
"acctDtls",
"balForAcct",
"subAcctDtls",
"ttlVals",
"xtnsn"
})
public class Semt00300101 {
@XmlElement(name = "PrvsRef")
protected List prvsRef;
@XmlElement(name = "RltdRef")
protected List rltdRef;
@XmlElement(name = "MsgPgntn", required = true)
protected Pagination msgPgntn;
@XmlElement(name = "StmtGnlDtls", required = true)
protected Statement4 stmtGnlDtls;
@XmlElement(name = "AcctDtls", required = true)
protected SafekeepingAccount1 acctDtls;
@XmlElement(name = "BalForAcct")
protected List balForAcct;
@XmlElement(name = "SubAcctDtls")
protected List subAcctDtls;
@XmlElement(name = "TtlVals")
protected TotalValueInPageAndStatement ttlVals;
@XmlElement(name = "Xtnsn")
protected List xtnsn;
/**
* Gets the value of the prvsRef 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 prvsRef property.
*
*
* For example, to add a new item, do as follows:
*
* getPrvsRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference2 }
*
*
*/
public List getPrvsRef() {
if (prvsRef == null) {
prvsRef = new ArrayList();
}
return this.prvsRef;
}
/**
* Gets the value of the rltdRef 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 rltdRef property.
*
*
* For example, to add a new item, do as follows:
*
* getRltdRef().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalReference2 }
*
*
*/
public List getRltdRef() {
if (rltdRef == null) {
rltdRef = new ArrayList();
}
return this.rltdRef;
}
/**
* Gets the value of the msgPgntn property.
*
* @return
* possible object is
* {@link Pagination }
*
*/
public Pagination getMsgPgntn() {
return msgPgntn;
}
/**
* Sets the value of the msgPgntn property.
*
* @param value
* allowed object is
* {@link Pagination }
*
*/
public Semt00300101 setMsgPgntn(Pagination value) {
this.msgPgntn = value;
return this;
}
/**
* Gets the value of the stmtGnlDtls property.
*
* @return
* possible object is
* {@link Statement4 }
*
*/
public Statement4 getStmtGnlDtls() {
return stmtGnlDtls;
}
/**
* Sets the value of the stmtGnlDtls property.
*
* @param value
* allowed object is
* {@link Statement4 }
*
*/
public Semt00300101 setStmtGnlDtls(Statement4 value) {
this.stmtGnlDtls = value;
return this;
}
/**
* Gets the value of the acctDtls property.
*
* @return
* possible object is
* {@link SafekeepingAccount1 }
*
*/
public SafekeepingAccount1 getAcctDtls() {
return acctDtls;
}
/**
* Sets the value of the acctDtls property.
*
* @param value
* allowed object is
* {@link SafekeepingAccount1 }
*
*/
public Semt00300101 setAcctDtls(SafekeepingAccount1 value) {
this.acctDtls = value;
return this;
}
/**
* Gets the value of the balForAcct 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 balForAcct property.
*
*
* For example, to add a new item, do as follows:
*
* getBalForAcct().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateBalanceInformation2 }
*
*
*/
public List getBalForAcct() {
if (balForAcct == null) {
balForAcct = new ArrayList();
}
return this.balForAcct;
}
/**
* Gets the value of the subAcctDtls 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 subAcctDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSubAcctDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubAccountIdentification2 }
*
*
*/
public List getSubAcctDtls() {
if (subAcctDtls == null) {
subAcctDtls = new ArrayList();
}
return this.subAcctDtls;
}
/**
* Gets the value of the ttlVals property.
*
* @return
* possible object is
* {@link TotalValueInPageAndStatement }
*
*/
public TotalValueInPageAndStatement getTtlVals() {
return ttlVals;
}
/**
* Sets the value of the ttlVals property.
*
* @param value
* allowed object is
* {@link TotalValueInPageAndStatement }
*
*/
public Semt00300101 setTtlVals(TotalValueInPageAndStatement value) {
this.ttlVals = 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 JAXB object.
* This is why there is not a 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 Extension1 }
*
*
*/
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 prvsRef list.
* @see #getPrvsRef()
*
*/
public Semt00300101 addPrvsRef(AdditionalReference2 prvsRef) {
getPrvsRef().add(prvsRef);
return this;
}
/**
* Adds a new item to the rltdRef list.
* @see #getRltdRef()
*
*/
public Semt00300101 addRltdRef(AdditionalReference2 rltdRef) {
getRltdRef().add(rltdRef);
return this;
}
/**
* Adds a new item to the balForAcct list.
* @see #getBalForAcct()
*
*/
public Semt00300101 addBalForAcct(AggregateBalanceInformation2 balForAcct) {
getBalForAcct().add(balForAcct);
return this;
}
/**
* Adds a new item to the subAcctDtls list.
* @see #getSubAcctDtls()
*
*/
public Semt00300101 addSubAcctDtls(SubAccountIdentification2 subAcctDtls) {
getSubAcctDtls().add(subAcctDtls);
return this;
}
/**
* Adds a new item to the xtnsn list.
* @see #getXtnsn()
*
*/
public Semt00300101 addXtnsn(Extension1 xtnsn) {
getXtnsn().add(xtnsn);
return this;
}
}