com.prowidesoftware.swift.model.mx.dic.AggregateBalanceInformation2 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
import java.math.BigDecimal;
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;
/**
* Net position of a segregated holding, in a single security, within the overall position held in a securities account. A securities balance is calculated from the sum of securities' receipts minus the sum of securities' deliveries.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AggregateBalanceInformation2", propOrder = {
"aggtQty",
"daysAcrd",
"hldgVal",
"acrdIntrstAmt",
"bookVal",
"sfkpgPlc",
"finInstrmDtls",
"pricDtls",
"frgnXchgDtls",
"balBrkdwnDtls",
"addtlBalBrkdwnDtls",
"balAtSfkpgPlc"
})
public class AggregateBalanceInformation2 {
@XmlElement(name = "AggtQty", required = true)
protected BalanceQuantity1Choice aggtQty;
@XmlElement(name = "DaysAcrd")
protected BigDecimal daysAcrd;
@XmlElement(name = "HldgVal", required = true)
protected List hldgVal;
@XmlElement(name = "AcrdIntrstAmt")
protected ActiveOrHistoricCurrencyAndAmount acrdIntrstAmt;
@XmlElement(name = "BookVal")
protected ActiveOrHistoricCurrencyAndAmount bookVal;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormatChoice sfkpgPlc;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument4 finInstrmDtls;
@XmlElement(name = "PricDtls", required = true)
protected List pricDtls;
@XmlElement(name = "FrgnXchgDtls")
protected ForeignExchangeTerms3 frgnXchgDtls;
@XmlElement(name = "BalBrkdwnDtls")
protected List balBrkdwnDtls;
@XmlElement(name = "AddtlBalBrkdwnDtls")
protected List addtlBalBrkdwnDtls;
@XmlElement(name = "BalAtSfkpgPlc")
protected List balAtSfkpgPlc;
/**
* Gets the value of the aggtQty property.
*
* @return
* possible object is
* {@link BalanceQuantity1Choice }
*
*/
public BalanceQuantity1Choice getAggtQty() {
return aggtQty;
}
/**
* Sets the value of the aggtQty property.
*
* @param value
* allowed object is
* {@link BalanceQuantity1Choice }
*
*/
public AggregateBalanceInformation2 setAggtQty(BalanceQuantity1Choice value) {
this.aggtQty = value;
return this;
}
/**
* Gets the value of the daysAcrd property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getDaysAcrd() {
return daysAcrd;
}
/**
* Sets the value of the daysAcrd property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public AggregateBalanceInformation2 setDaysAcrd(BigDecimal value) {
this.daysAcrd = value;
return this;
}
/**
* Gets the value of the hldgVal 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 hldgVal property.
*
*
* For example, to add a new item, do as follows:
*
* getHldgVal().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*
*/
public List getHldgVal() {
if (hldgVal == null) {
hldgVal = new ArrayList();
}
return this.hldgVal;
}
/**
* Gets the value of the acrdIntrstAmt property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getAcrdIntrstAmt() {
return acrdIntrstAmt;
}
/**
* Sets the value of the acrdIntrstAmt property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public AggregateBalanceInformation2 setAcrdIntrstAmt(ActiveOrHistoricCurrencyAndAmount value) {
this.acrdIntrstAmt = value;
return this;
}
/**
* Gets the value of the bookVal property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getBookVal() {
return bookVal;
}
/**
* Sets the value of the bookVal property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public AggregateBalanceInformation2 setBookVal(ActiveOrHistoricCurrencyAndAmount value) {
this.bookVal = value;
return this;
}
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafekeepingPlaceFormatChoice }
*
*/
public SafekeepingPlaceFormatChoice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormatChoice }
*
*/
public AggregateBalanceInformation2 setSfkpgPlc(SafekeepingPlaceFormatChoice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument4 }
*
*/
public FinancialInstrument4 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument4 }
*
*/
public AggregateBalanceInformation2 setFinInstrmDtls(FinancialInstrument4 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the pricDtls 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 pricDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getPricDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PriceInformation1 }
*
*
*/
public List getPricDtls() {
if (pricDtls == null) {
pricDtls = new ArrayList();
}
return this.pricDtls;
}
/**
* Gets the value of the frgnXchgDtls property.
*
* @return
* possible object is
* {@link ForeignExchangeTerms3 }
*
*/
public ForeignExchangeTerms3 getFrgnXchgDtls() {
return frgnXchgDtls;
}
/**
* Sets the value of the frgnXchgDtls property.
*
* @param value
* allowed object is
* {@link ForeignExchangeTerms3 }
*
*/
public AggregateBalanceInformation2 setFrgnXchgDtls(ForeignExchangeTerms3 value) {
this.frgnXchgDtls = value;
return this;
}
/**
* Gets the value of the balBrkdwnDtls 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 balBrkdwnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getBalBrkdwnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubBalanceInformation1 }
*
*
*/
public List getBalBrkdwnDtls() {
if (balBrkdwnDtls == null) {
balBrkdwnDtls = new ArrayList();
}
return this.balBrkdwnDtls;
}
/**
* Gets the value of the addtlBalBrkdwnDtls 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 addtlBalBrkdwnDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlBalBrkdwnDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalBalanceInformation }
*
*
*/
public List getAddtlBalBrkdwnDtls() {
if (addtlBalBrkdwnDtls == null) {
addtlBalBrkdwnDtls = new ArrayList();
}
return this.addtlBalBrkdwnDtls;
}
/**
* Gets the value of the balAtSfkpgPlc 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 balAtSfkpgPlc property.
*
*
* For example, to add a new item, do as follows:
*
* getBalAtSfkpgPlc().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AggregateBalancePerSafekeepingPlace2 }
*
*
*/
public List getBalAtSfkpgPlc() {
if (balAtSfkpgPlc == null) {
balAtSfkpgPlc = new ArrayList();
}
return this.balAtSfkpgPlc;
}
@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 hldgVal list.
* @see #getHldgVal()
*
*/
public AggregateBalanceInformation2 addHldgVal(ActiveOrHistoricCurrencyAndAmount hldgVal) {
getHldgVal().add(hldgVal);
return this;
}
/**
* Adds a new item to the pricDtls list.
* @see #getPricDtls()
*
*/
public AggregateBalanceInformation2 addPricDtls(PriceInformation1 pricDtls) {
getPricDtls().add(pricDtls);
return this;
}
/**
* Adds a new item to the balBrkdwnDtls list.
* @see #getBalBrkdwnDtls()
*
*/
public AggregateBalanceInformation2 addBalBrkdwnDtls(SubBalanceInformation1 balBrkdwnDtls) {
getBalBrkdwnDtls().add(balBrkdwnDtls);
return this;
}
/**
* Adds a new item to the addtlBalBrkdwnDtls list.
* @see #getAddtlBalBrkdwnDtls()
*
*/
public AggregateBalanceInformation2 addAddtlBalBrkdwnDtls(AdditionalBalanceInformation addtlBalBrkdwnDtls) {
getAddtlBalBrkdwnDtls().add(addtlBalBrkdwnDtls);
return this;
}
/**
* Adds a new item to the balAtSfkpgPlc list.
* @see #getBalAtSfkpgPlc()
*
*/
public AggregateBalanceInformation2 addBalAtSfkpgPlc(AggregateBalancePerSafekeepingPlace2 balAtSfkpgPlc) {
getBalAtSfkpgPlc().add(balAtSfkpgPlc);
return this;
}
}