com.prowidesoftware.swift.model.mx.dic.SubBalanceInformation15 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 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 of a single security within the overall position held in the securities account, eg, sub-balance per status.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "SubBalanceInformation15", propOrder = {
"subBalTp",
"qty",
"subBalAddtlDtls",
"qtyBrkdwn",
"addtlBalBrkdwnDtls"
})
public class SubBalanceInformation15 {
@XmlElement(name = "SubBalTp", required = true)
protected SubBalanceType11Choice subBalTp;
@XmlElement(name = "Qty", required = true)
protected Balance9 qty;
@XmlElement(name = "SubBalAddtlDtls")
protected String subBalAddtlDtls;
@XmlElement(name = "QtyBrkdwn")
protected List qtyBrkdwn;
@XmlElement(name = "AddtlBalBrkdwnDtls")
protected List addtlBalBrkdwnDtls;
/**
* Gets the value of the subBalTp property.
*
* @return
* possible object is
* {@link SubBalanceType11Choice }
*
*/
public SubBalanceType11Choice getSubBalTp() {
return subBalTp;
}
/**
* Sets the value of the subBalTp property.
*
* @param value
* allowed object is
* {@link SubBalanceType11Choice }
*
*/
public SubBalanceInformation15 setSubBalTp(SubBalanceType11Choice value) {
this.subBalTp = value;
return this;
}
/**
* Gets the value of the qty property.
*
* @return
* possible object is
* {@link Balance9 }
*
*/
public Balance9 getQty() {
return qty;
}
/**
* Sets the value of the qty property.
*
* @param value
* allowed object is
* {@link Balance9 }
*
*/
public SubBalanceInformation15 setQty(Balance9 value) {
this.qty = value;
return this;
}
/**
* Gets the value of the subBalAddtlDtls property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getSubBalAddtlDtls() {
return subBalAddtlDtls;
}
/**
* Sets the value of the subBalAddtlDtls property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public SubBalanceInformation15 setSubBalAddtlDtls(String value) {
this.subBalAddtlDtls = 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 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 Jakarta XML Binding object.
* This is why there is not a {@code 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 AdditionalBalanceInformation15 }
*
*
* @return
* The value of the addtlBalBrkdwnDtls property.
*/
public List getAddtlBalBrkdwnDtls() {
if (addtlBalBrkdwnDtls == null) {
addtlBalBrkdwnDtls = new ArrayList<>();
}
return this.addtlBalBrkdwnDtls;
}
@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 qtyBrkdwn list.
* @see #getQtyBrkdwn()
*
*/
public SubBalanceInformation15 addQtyBrkdwn(QuantityBreakdown27 qtyBrkdwn) {
getQtyBrkdwn().add(qtyBrkdwn);
return this;
}
/**
* Adds a new item to the addtlBalBrkdwnDtls list.
* @see #getAddtlBalBrkdwnDtls()
*
*/
public SubBalanceInformation15 addAddtlBalBrkdwnDtls(AdditionalBalanceInformation15 addtlBalBrkdwnDtls) {
getAddtlBalBrkdwnDtls().add(addtlBalBrkdwnDtls);
return this;
}
}