com.prowidesoftware.swift.model.mx.dic.AggregateBalancePerSafekeepingPlace18 Maven / Gradle / Ivy
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 = "AggregateBalancePerSafekeepingPlace18", propOrder = {
"sfkpgPlc",
"plcOfListg",
"aggtBal",
"pricDtls",
"fxDtls",
"daysAcrd",
"acctBaseCcyAmts",
"instrmCcyAmts",
"altrnRptgCcyAmts",
"qtyBrkdwn",
"balBrkdwn",
"addtlBalBrkdwn",
"hldgAddtlDtls"
})
public class AggregateBalancePerSafekeepingPlace18 {
@XmlElement(name = "SfkpgPlc", required = true)
protected SafekeepingPlaceFormat4Choice sfkpgPlc;
@XmlElement(name = "PlcOfListg")
protected MarketIdentification4Choice plcOfListg;
@XmlElement(name = "AggtBal", required = true)
protected Balance2 aggtBal;
@XmlElement(name = "PricDtls", required = true)
protected List pricDtls;
@XmlElement(name = "FXDtls")
protected List fxDtls;
@XmlElement(name = "DaysAcrd")
protected BigDecimal daysAcrd;
@XmlElement(name = "AcctBaseCcyAmts", required = true)
protected BalanceAmounts5 acctBaseCcyAmts;
@XmlElement(name = "InstrmCcyAmts")
protected BalanceAmounts5 instrmCcyAmts;
@XmlElement(name = "AltrnRptgCcyAmts")
protected BalanceAmounts5 altrnRptgCcyAmts;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@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 SafekeepingPlaceFormat4Choice }
*
*/
public SafekeepingPlaceFormat4Choice getSfkpgPlc() {
return sfkpgPlc;
}
/**
* Sets the value of the sfkpgPlc property.
*
* @param value
* allowed object is
* {@link SafekeepingPlaceFormat4Choice }
*
*/
public AggregateBalancePerSafekeepingPlace18 setSfkpgPlc(SafekeepingPlaceFormat4Choice value) {
this.sfkpgPlc = value;
return this;
}
/**
* Gets the value of the plcOfListg property.
*
* @return
* possible object is
* {@link MarketIdentification4Choice }
*
*/
public MarketIdentification4Choice getPlcOfListg() {
return plcOfListg;
}
/**
* Sets the value of the plcOfListg property.
*
* @param value
* allowed object is
* {@link MarketIdentification4Choice }
*
*/
public AggregateBalancePerSafekeepingPlace18 setPlcOfListg(MarketIdentification4Choice value) {
this.plcOfListg = 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 AggregateBalancePerSafekeepingPlace18 setAggtBal(Balance2 value) {
this.aggtBal = 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 AggregateBalancePerSafekeepingPlace18 setDaysAcrd(BigDecimal value) {
this.daysAcrd = value;
return this;
}
/**
* Gets the value of the acctBaseCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts5 }
*
*/
public BalanceAmounts5 getAcctBaseCcyAmts() {
return acctBaseCcyAmts;
}
/**
* Sets the value of the acctBaseCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts5 }
*
*/
public AggregateBalancePerSafekeepingPlace18 setAcctBaseCcyAmts(BalanceAmounts5 value) {
this.acctBaseCcyAmts = value;
return this;
}
/**
* Gets the value of the instrmCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts5 }
*
*/
public BalanceAmounts5 getInstrmCcyAmts() {
return instrmCcyAmts;
}
/**
* Sets the value of the instrmCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts5 }
*
*/
public AggregateBalancePerSafekeepingPlace18 setInstrmCcyAmts(BalanceAmounts5 value) {
this.instrmCcyAmts = value;
return this;
}
/**
* Gets the value of the altrnRptgCcyAmts property.
*
* @return
* possible object is
* {@link BalanceAmounts5 }
*
*/
public BalanceAmounts5 getAltrnRptgCcyAmts() {
return altrnRptgCcyAmts;
}
/**
* Sets the value of the altrnRptgCcyAmts property.
*
* @param value
* allowed object is
* {@link BalanceAmounts5 }
*
*/
public AggregateBalancePerSafekeepingPlace18 setAltrnRptgCcyAmts(BalanceAmounts5 value) {
this.altrnRptgCcyAmts = 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 QuantityBreakdown19 }
*
*
* @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 SubBalanceInformation7 }
*
*
* @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 AdditionalBalanceInformation7 }
*
*
* @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 AggregateBalancePerSafekeepingPlace18 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 AggregateBalancePerSafekeepingPlace18 addPricDtls(PriceInformation7 pricDtls) {
getPricDtls().add(pricDtls);
return this;
}
/**
* Adds a new item to the fXDtls list.
* @see #getFXDtls()
*
*/
public AggregateBalancePerSafekeepingPlace18 addFXDtls(ForeignExchangeTerms16 fXDtls) {
getFXDtls().add(fXDtls);
return this;
}
/**
* Adds a new item to the qtyBrkdwn list.
* @see #getQtyBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace18 addQtyBrkdwn(QuantityBreakdown19 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
/**
* Adds a new item to the balBrkdwn list.
* @see #getBalBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace18 addBalBrkdwn(SubBalanceInformation7 balBrkdwn) {
getBalBrkdwn().add(balBrkdwn);
return this;
}
/**
* Adds a new item to the addtlBalBrkdwn list.
* @see #getAddtlBalBrkdwn()
*
*/
public AggregateBalancePerSafekeepingPlace18 addAddtlBalBrkdwn(AdditionalBalanceInformation7 addtlBalBrkdwn) {
getAddtlBalBrkdwn().add(addtlBalBrkdwn);
return this;
}
}