com.prowidesoftware.swift.model.mx.dic.AggregateBalancePerSafekeepingPlace28 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.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 at a specified place of safekeeping.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "AggregateBalancePerSafekeepingPlace28", propOrder = {
"sfkpgPlc",
"plcOfListg",
"pldgee",
"aggtBal",
"avlblBal",
"notAvlblBal",
"pricDtls",
"fxDtls",
"daysAcrd",
"acctBaseCcyAmts",
"instrmCcyAmts",
"qtyBrkdwn",
"xpsrTp",
"balBrkdwn",
"addtlBalBrkdwn",
"hldgAddtlDtls"
})
public class AggregateBalancePerSafekeepingPlace28 {
@XmlElement(name = "SfkpgPlc", required = true)
protected SafeKeepingPlace1 sfkpgPlc;
@XmlElement(name = "PlcOfListg")
protected MarketIdentification3Choice plcOfListg;
@XmlElement(name = "Pldgee")
protected Pledgee1 pldgee;
@XmlElement(name = "AggtBal", required = true)
protected Balance6 aggtBal;
@XmlElement(name = "AvlblBal")
protected Balance8 avlblBal;
@XmlElement(name = "NotAvlblBal")
protected BalanceQuantity8Choice notAvlblBal;
@XmlElement(name = "PricDtls")
protected List pricDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "DaysAcrd")
protected BigDecimal daysAcrd;
@XmlElement(name = "AcctBaseCcyAmts")
protected BalanceAmounts3 acctBaseCcyAmts;
@XmlElement(name = "InstrmCcyAmts")
protected BalanceAmounts3 instrmCcyAmts;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "XpsrTp")
protected ExposureType16Choice xpsrTp;
@XmlElement(name = "BalBrkdwn")
protected List balBrkdwn;
@XmlElement(name = "AddtlBalBrkdwn")
protected List addtlBalBrkdwn;
@XmlElement(name = "HldgAddtlDtls")
protected String hldgAddtlDtls;
/**
* Gets the value of the sfkpgPlc property.
*
* @return
* possible object is
* {@link SafeKeepingPlace1 }
*
*/
public SafeKeepingPlace1 getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafeKeepingPlace1 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setSfkpgPlc(SafeKeepingPlace1 value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the plcOfListg property.
*
* @return
* possible object is
* {@link MarketIdentification3Choice }
*
*/
public MarketIdentification3Choice getPlcOfListg() {
return plcOfListg;
}
/**
* Sets the value of the plcOfListg property.
*
* @param value
* allowed object is
* {@link MarketIdentification3Choice }
*
*/
public AggregateBalancePerSafekeepingPlace28 setPlcOfListg(MarketIdentification3Choice value) {
this.plcOfListg = value;
return this;
}
/**
* Gets the value of the pldgee property.
*
* @return
* possible object is
* {@link Pledgee1 }
*
*/
public Pledgee1 getPldgee() {
return pldgee;
}
/**
* Sets the value of the pldgee property.
*
* @param value
* allowed object is
* {@link Pledgee1 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setPldgee(Pledgee1 value) {
this.pldgee = value;
return this;
}
/**
* Gets the value of the aggtBal property.
*
* @return
* possible object is
* {@link Balance6 }
*
*/
public Balance6 getAggtBal() {
return aggtBal;
}
/**
* Sets the value of the aggtBal property.
*
* @param value
* allowed object is
* {@link Balance6 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setAggtBal(Balance6 value) {
this.aggtBal = value;
return this;
}
/**
* Gets the value of the avlblBal property.
*
* @return
* possible object is
* {@link Balance8 }
*
*/
public Balance8 getAvlblBal() {
return avlblBal;
}
/**
* Sets the value of the avlblBal property.
*
* @param value
* allowed object is
* {@link Balance8 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setAvlblBal(Balance8 value) {
this.avlblBal = value;
return this;
}
/**
* Gets the value of the notAvlblBal property.
*
* @return
* possible object is
* {@link BalanceQuantity8Choice }
*
*/
public BalanceQuantity8Choice getNotAvlblBal() {
return notAvlblBal;
}
/**
* Sets the value of the notAvlblBal property.
*
* @param value
* allowed object is
* {@link BalanceQuantity8Choice }
*
*/
public AggregateBalancePerSafekeepingPlace28 setNotAvlblBal(BalanceQuantity8Choice value) {
this.notAvlblBal = 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 PriceInformation12 }
*
*
* @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 ForeignExchangeTerms22 }
*
*
* @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 AggregateBalancePerSafekeepingPlace28 setDaysAcrd(BigDecimal value) {
this.daysAcrd = value;
return this;
}
/**
* Gets the value of the acctBaseCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts3 }
*
*/
public BalanceAmounts3 getAcctBaseCcyAmts() {
return acctBaseCcyAmts;
}
/**
* Sets the value of the acctBaseCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts3 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setAcctBaseCcyAmts(BalanceAmounts3 value) {
this.acctBaseCcyAmts = value;
return this;
}
/**
* Gets the value of the instrmCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts3 }
*
*/
public BalanceAmounts3 getInstrmCcyAmts() {
return instrmCcyAmts;
}
/**
* Sets the value of the instrmCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts3 }
*
*/
public AggregateBalancePerSafekeepingPlace28 setInstrmCcyAmts(BalanceAmounts3 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 QuantityBreakdown27 }
*
*
* @return
* The value of the qtyBrkdwn property.
*/
public List getQtyBrkdwn() {
if (qtyBrkdwn == null) {
qtyBrkdwn = new ArrayList<>();
}
return this.qtyBrkdwn;
}
/**
* Gets the value of the xpsrTp property.
*
* @return
* possible object is
* {@link ExposureType16Choice }
*
*/
public ExposureType16Choice getXpsrTp() {
return xpsrTp;
}
/**
* Sets the value of the xpsrTp property.
*
* @param value
* allowed object is
* {@link ExposureType16Choice }
*
*/
public AggregateBalancePerSafekeepingPlace28 setXpsrTp(ExposureType16Choice value) {
this.xpsrTp = value;
return this;
}
/**
* 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 SubBalanceInformation15 }
*
*
* @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 AdditionalBalanceInformation15 }
*
*
* @return
* The value of the addtlBalBrkdwn property.
*/
public List getAddtlBalBrkdwn() {
if (addtlBalBrkdwn == null) {
addtlBalBrkdwn = new ArrayList<>();
}
return this.addtlBalBrkdwn;
}
/**
* 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 AggregateBalancePerSafekeepingPlace28 setHldgAddtlDtls(String value) {
this.hldgAddtlDtls = value;
return this;
}
@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 AggregateBalancePerSafekeepingPlace28 addPricDtls(PriceInformation12 pricDtls) {
getPricDtls().add(pricDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public AggregateBalancePerSafekeepingPlace28 addFXDtls(ForeignExchangeTerms22 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
/**
* Adds a new item to the qtyBrkdwn list.
* @see #getQtyBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace28 addQtyBrkdwn(QuantityBreakdown27 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
/**
* Adds a new item to the balBrkdwn list.
* @see #getBalBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace28 addBalBrkdwn(SubBalanceInformation15 balBrkdwn) {
getBalBrkdwn().add(balBrkdwn);
return this;
}
/**
* Adds a new item to the addtlBalBrkdwn list.
* @see #getAddtlBalBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace28 addAddtlBalBrkdwn(AdditionalBalanceInformation15 addtlBalBrkdwn) {
getAddtlBalBrkdwn().add(addtlBalBrkdwn);
return this;
}
}