com.prowidesoftware.swift.model.mx.dic.AggregateBalanceInformation28 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 jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
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;
/**
* Overall position, in a single security, held in a securities account at a specified place of safekeeping.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AggregateBalanceInformation28", propOrder = {
"finInstrmId",
"finInstrmAttrbts",
"invstmtFndsFinInstrmAttrbts",
"valtnHrcutDtls",
"aggtBal",
"avlblBal",
"notAvlblBal",
"sfkpgPlc",
"corpActnOptnTp",
"pricDtls",
"fxDtls",
"daysAcrd",
"acctBaseCcyAmts",
"instrmCcyAmts",
"qtyBrkdwn",
"balBrkdwn",
"addtlBalBrkdwn",
"balAtSfkpgPlc",
"hldgAddtlDtls",
"splmtryData"
})
public class AggregateBalanceInformation28 {
@XmlElement(name = "FinInstrmId", required = true)
protected SecurityIdentification15 finInstrmId;
@XmlElement(name = "FinInstrmAttrbts")
protected FinancialInstrumentAttributes41 finInstrmAttrbts;
@XmlElement(name = "InvstmtFndsFinInstrmAttrbts")
protected FinancialInstrument22 invstmtFndsFinInstrmAttrbts;
@XmlElement(name = "ValtnHrcutDtls")
protected BasicCollateralValuation1Details valtnHrcutDtls;
@XmlElement(name = "AggtBal", required = true)
protected Balance2 aggtBal;
@XmlElement(name = "AvlblBal")
protected BalanceQuantity7Choice avlblBal;
@XmlElement(name = "NotAvlblBal")
protected BalanceQuantity7Choice notAvlblBal;
@XmlElement(name = "SfkpgPlc")
protected SafekeepingPlaceFormat4Choice sfkpgPlc;
@XmlElement(name = "CorpActnOptnTp")
@XmlSchemaType(name = "string")
protected CorporateActionOption5Code corpActnOptnTp;
@XmlElement(name = "PricDtls")
protected List pricDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "DaysAcrd")
protected BigDecimal daysAcrd;
@XmlElement(name = "AcctBaseCcyAmts")
protected BalanceAmounts4 acctBaseCcyAmts;
@XmlElement(name = "InstrmCcyAmts")
protected BalanceAmounts4 instrmCcyAmts;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "BalBrkdwn")
protected List balBrkdwn;
@XmlElement(name = "AddtlBalBrkdwn")
protected List addtlBalBrkdwn;
@XmlElement(name = "BalAtSfkpgPlc")
protected List balAtSfkpgPlc;
@XmlElement(name = "HldgAddtlDtls")
protected String hldgAddtlDtls;
@XmlElement(name = "SplmtryData")
protected List splmtryData;
/**
* 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 AggregateBalanceInformation28 setFinInstrmId(SecurityIdentification15 value) {
this.finInstrmId = value;
return this;
}
/**
* Gets the value of the finInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrumentAttributes41 }
*
*/
public FinancialInstrumentAttributes41 getFinInstrmAttrbts() {
return finInstrmAttrbts;
}
/**
* Sets the value of the finInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentAttributes41 }
*
*/
public AggregateBalanceInformation28 setFinInstrmAttrbts(FinancialInstrumentAttributes41 value) {
this.finInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the invstmtFndsFinInstrmAttrbts property.
*
* @return
* possible object is
* {@link FinancialInstrument22 }
*
*/
public FinancialInstrument22 getInvstmtFndsFinInstrmAttrbts() {
return invstmtFndsFinInstrmAttrbts;
}
/**
* Sets the value of the invstmtFndsFinInstrmAttrbts property.
*
* @param value
* allowed object is
* {@link FinancialInstrument22 }
*
*/
public AggregateBalanceInformation28 setInvstmtFndsFinInstrmAttrbts(FinancialInstrument22 value) {
this.invstmtFndsFinInstrmAttrbts = value;
return this;
}
/**
* Gets the value of the valtnHrcutDtls property.
*
* @return
* possible object is
* {@link BasicCollateralValuation1Details }
*
*/
public BasicCollateralValuation1Details getValtnHrcutDtls() {
return valtnHrcutDtls;
}
/**
* Sets the value of the valtnHrcutDtls property.
*
* @param value
* allowed object is
* {@link BasicCollateralValuation1Details }
*
*/
public AggregateBalanceInformation28 setValtnHrcutDtls(BasicCollateralValuation1Details value) {
this.valtnHrcutDtls = value;
return this;
}
/**
* Gets the value of the aggtBal property.
*
* @return
* possible object is
* {@link Balance2 }
*
*/
public Balance2 getAggtBal() {
return aggtBal;
}
/**
* Sets the value of the aggtBal property.
*
* @param value
* allowed object is
* {@link Balance2 }
*
*/
public AggregateBalanceInformation28 setAggtBal(Balance2 value) {
this.aggtBal = value;
return this;
}
/**
* Gets the value of the avlblBal property.
*
* @return
* possible object is
* {@link BalanceQuantity7Choice }
*
*/
public BalanceQuantity7Choice getAvlblBal() {
return avlblBal;
}
/**
* Sets the value of the avlblBal property.
*
* @param value
* allowed object is
* {@link BalanceQuantity7Choice }
*
*/
public AggregateBalanceInformation28 setAvlblBal(BalanceQuantity7Choice value) {
this.avlblBal = value;
return this;
}
/**
* Gets the value of the notAvlblBal property.
*
* @return
* possible object is
* {@link BalanceQuantity7Choice }
*
*/
public BalanceQuantity7Choice getNotAvlblBal() {
return notAvlblBal;
}
/**
* Sets the value of the notAvlblBal property.
*
* @param value
* allowed object is
* {@link BalanceQuantity7Choice }
*
*/
public AggregateBalanceInformation28 setNotAvlblBal(BalanceQuantity7Choice value) {
this.notAvlblBal = 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 AggregateBalanceInformation28 setSfkpgPlc(SafekeepingPlaceFormat4Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the corpActnOptnTp property.
*
* @return
* possible object is
* {@link CorporateActionOption5Code }
*
*/
public CorporateActionOption5Code getCorpActnOptnTp() {
return corpActnOptnTp;
}
/**
* Sets the value of the corpActnOptnTp property.
*
* @param value
* allowed object is
* {@link CorporateActionOption5Code }
*
*/
public AggregateBalanceInformation28 setCorpActnOptnTp(CorporateActionOption5Code value) {
this.corpActnOptnTp = 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 PriceInformation7 }
*
*
* @return
* The value of the pricDtls property.
*/
public List getPricDtls() {
if (pricDtls == null) {
pricDtls = new ArrayList<>();
}
return this.pricDtls;
}
/**
* Gets the value of the fxDtls 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 fxDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getFXDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ForeignExchangeTerms16 }
*
*
* @return
* The value of the fxDtls property.
*/
public List getFXDtls() {
if (fxDtls == null) {
fxDtls = new ArrayList<>();
}
return this.fxDtls;
}
/**
* 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 AggregateBalanceInformation28 setDaysAcrd(BigDecimal value) {
this.daysAcrd = value;
return this;
}
/**
* Gets the value of the acctBaseCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts4 }
*
*/
public BalanceAmounts4 getAcctBaseCcyAmts() {
return acctBaseCcyAmts;
}
/**
* Sets the value of the acctBaseCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts4 }
*
*/
public AggregateBalanceInformation28 setAcctBaseCcyAmts(BalanceAmounts4 value) {
this.acctBaseCcyAmts = value;
return this;
}
/**
* Gets the value of the instrmCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts4 }
*
*/
public BalanceAmounts4 getInstrmCcyAmts() {
return instrmCcyAmts;
}
/**
* Sets the value of the instrmCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts4 }
*
*/
public AggregateBalanceInformation28 setInstrmCcyAmts(BalanceAmounts4 value) {
this.instrmCcyAmts = value;
return this;
}
/**
* Gets the value of the qtyBrkdwn 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 qtyBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getQtyBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link QuantityBreakdown26 }
*
*
* @return
* The value of the qtyBrkdwn property.
*/
public List getQtyBrkdwn() {
if (qtyBrkdwn == null) {
qtyBrkdwn = new ArrayList<>();
}
return this.qtyBrkdwn;
}
/**
* Gets the value of the balBrkdwn 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 balBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getBalBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SubBalanceInformation12 }
*
*
* @return
* The value of the balBrkdwn property.
*/
public List getBalBrkdwn() {
if (balBrkdwn == null) {
balBrkdwn = new ArrayList<>();
}
return this.balBrkdwn;
}
/**
* Gets the value of the addtlBalBrkdwn 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 addtlBalBrkdwn property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlBalBrkdwn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalBalanceInformation12 }
*
*
* @return
* The value of the addtlBalBrkdwn property.
*/
public List getAddtlBalBrkdwn() {
if (addtlBalBrkdwn == null) {
addtlBalBrkdwn = new ArrayList<>();
}
return this.addtlBalBrkdwn;
}
/**
* 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 AggregateBalancePerSafekeepingPlace27 }
*
*
* @return
* The value of the balAtSfkpgPlc property.
*/
public List getBalAtSfkpgPlc() {
if (balAtSfkpgPlc == null) {
balAtSfkpgPlc = new ArrayList<>();
}
return this.balAtSfkpgPlc;
}
/**
* Gets the value of the hldgAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getHldgAddtlDtls() {
return hldgAddtlDtls;
}
/**
* Sets the value of the hldgAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public AggregateBalanceInformation28 setHldgAddtlDtls(String value) {
this.hldgAddtlDtls = 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 pricDtls list.
* @see #getPricDtls()
*
*/
public AggregateBalanceInformation28 addPricDtls(PriceInformation7 pricDtls) {
getPricDtls().add(pricDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public AggregateBalanceInformation28 addFXDtls(ForeignExchangeTerms16 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
/**
* Adds a new item to the qtyBrkdwn list.
* @see #getQtyBrkdwn()
*
*/
public AggregateBalanceInformation28 addQtyBrkdwn(QuantityBreakdown26 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
/**
* Adds a new item to the balBrkdwn list.
* @see #getBalBrkdwn()
*
*/
public AggregateBalanceInformation28 addBalBrkdwn(SubBalanceInformation12 balBrkdwn) {
getBalBrkdwn().add(balBrkdwn);
return this;
}
/**
* Adds a new item to the addtlBalBrkdwn list.
* @see #getAddtlBalBrkdwn()
*
*/
public AggregateBalanceInformation28 addAddtlBalBrkdwn(AdditionalBalanceInformation12 addtlBalBrkdwn) {
getAddtlBalBrkdwn().add(addtlBalBrkdwn);
return this;
}
/**
* Adds a new item to the balAtSfkpgPlc list.
* @see #getBalAtSfkpgPlc()
*
*/
public AggregateBalanceInformation28 addBalAtSfkpgPlc(AggregateBalancePerSafekeepingPlace27 balAtSfkpgPlc) {
getBalAtSfkpgPlc().add(balAtSfkpgPlc);
return this;
}
/**
* Adds a new item to the splmtryData list.
* @see #getSplmtryData()
*
*/
public AggregateBalanceInformation28 addSplmtryData(SupplementaryData1 splmtryData) {
getSplmtryData().add(splmtryData);
return this;
}
}