com.prowidesoftware.swift.model.mx.dic.EstimatedFundCashForecast3 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;
/**
* Cash movements from or to a fund as a result of investment funds transactions, eg, subscriptions or redemptions.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "EstimatedFundCashForecast3", propOrder = {
"id",
"tradDtTm",
"prvsTradDtTm",
"finInstrmDtls",
"estmtdTtlNAV",
"prvsTtlNAV",
"estmtdTtlUnitsNb",
"prvsTtlUnitsNb",
"estmtdTtlNAVChngRate",
"invstmtCcy",
"xcptnlNetCshFlowInd",
"estmtdCshInFcstDtls",
"estmtdCshOutFcstDtls",
"estmtdNetCshFcstDtls"
})
public class EstimatedFundCashForecast3 {
@XmlElement(name = "Id", required = true)
protected String id;
@XmlElement(name = "TradDtTm", required = true)
protected DateAndDateTimeChoice tradDtTm;
@XmlElement(name = "PrvsTradDtTm", required = true)
protected DateAndDateTimeChoice prvsTradDtTm;
@XmlElement(name = "FinInstrmDtls", required = true)
protected FinancialInstrument9 finInstrmDtls;
@XmlElement(name = "EstmtdTtlNAV")
protected ActiveOrHistoricCurrencyAndAmount estmtdTtlNAV;
@XmlElement(name = "PrvsTtlNAV")
protected ActiveOrHistoricCurrencyAndAmount prvsTtlNAV;
@XmlElement(name = "EstmtdTtlUnitsNb")
protected FinancialInstrumentQuantity1 estmtdTtlUnitsNb;
@XmlElement(name = "PrvsTtlUnitsNb")
protected FinancialInstrumentQuantity1 prvsTtlUnitsNb;
@XmlElement(name = "EstmtdTtlNAVChngRate")
protected BigDecimal estmtdTtlNAVChngRate;
@XmlElement(name = "InvstmtCcy")
protected List invstmtCcy;
@XmlElement(name = "XcptnlNetCshFlowInd")
protected boolean xcptnlNetCshFlowInd;
@XmlElement(name = "EstmtdCshInFcstDtls")
protected List estmtdCshInFcstDtls;
@XmlElement(name = "EstmtdCshOutFcstDtls")
protected List estmtdCshOutFcstDtls;
@XmlElement(name = "EstmtdNetCshFcstDtls")
protected List estmtdNetCshFcstDtls;
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public EstimatedFundCashForecast3 setId(String value) {
this.id = value;
return this;
}
/**
* Gets the value of the tradDtTm property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getTradDtTm() {
return tradDtTm;
}
/**
* Sets the value of the tradDtTm property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public EstimatedFundCashForecast3 setTradDtTm(DateAndDateTimeChoice value) {
this.tradDtTm = value;
return this;
}
/**
* Gets the value of the prvsTradDtTm property.
*
* @return
* possible object is
* {@link DateAndDateTimeChoice }
*
*/
public DateAndDateTimeChoice getPrvsTradDtTm() {
return prvsTradDtTm;
}
/**
* Sets the value of the prvsTradDtTm property.
*
* @param value
* allowed object is
* {@link DateAndDateTimeChoice }
*
*/
public EstimatedFundCashForecast3 setPrvsTradDtTm(DateAndDateTimeChoice value) {
this.prvsTradDtTm = value;
return this;
}
/**
* Gets the value of the finInstrmDtls property.
*
* @return
* possible object is
* {@link FinancialInstrument9 }
*
*/
public FinancialInstrument9 getFinInstrmDtls() {
return finInstrmDtls;
}
/**
* Sets the value of the finInstrmDtls property.
*
* @param value
* allowed object is
* {@link FinancialInstrument9 }
*
*/
public EstimatedFundCashForecast3 setFinInstrmDtls(FinancialInstrument9 value) {
this.finInstrmDtls = value;
return this;
}
/**
* Gets the value of the estmtdTtlNAV property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getEstmtdTtlNAV() {
return estmtdTtlNAV;
}
/**
* Sets the value of the estmtdTtlNAV property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public EstimatedFundCashForecast3 setEstmtdTtlNAV(ActiveOrHistoricCurrencyAndAmount value) {
this.estmtdTtlNAV = value;
return this;
}
/**
* Gets the value of the prvsTtlNAV property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getPrvsTtlNAV() {
return prvsTtlNAV;
}
/**
* Sets the value of the prvsTtlNAV property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public EstimatedFundCashForecast3 setPrvsTtlNAV(ActiveOrHistoricCurrencyAndAmount value) {
this.prvsTtlNAV = value;
return this;
}
/**
* Gets the value of the estmtdTtlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getEstmtdTtlUnitsNb() {
return estmtdTtlUnitsNb;
}
/**
* Sets the value of the estmtdTtlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public EstimatedFundCashForecast3 setEstmtdTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.estmtdTtlUnitsNb = value;
return this;
}
/**
* Gets the value of the prvsTtlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getPrvsTtlUnitsNb() {
return prvsTtlUnitsNb;
}
/**
* Sets the value of the prvsTtlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public EstimatedFundCashForecast3 setPrvsTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.prvsTtlUnitsNb = value;
return this;
}
/**
* Gets the value of the estmtdTtlNAVChngRate property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getEstmtdTtlNAVChngRate() {
return estmtdTtlNAVChngRate;
}
/**
* Sets the value of the estmtdTtlNAVChngRate property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public EstimatedFundCashForecast3 setEstmtdTtlNAVChngRate(BigDecimal value) {
this.estmtdTtlNAVChngRate = value;
return this;
}
/**
* Gets the value of the invstmtCcy 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 invstmtCcy property.
*
*
* For example, to add a new item, do as follows:
*
* getInvstmtCcy().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link String }
*
*
* @return
* The value of the invstmtCcy property.
*/
public List getInvstmtCcy() {
if (invstmtCcy == null) {
invstmtCcy = new ArrayList<>();
}
return this.invstmtCcy;
}
/**
* Gets the value of the xcptnlNetCshFlowInd property.
*
*/
public boolean isXcptnlNetCshFlowInd() {
return xcptnlNetCshFlowInd;
}
/**
* Sets the value of the xcptnlNetCshFlowInd property.
*
*/
public EstimatedFundCashForecast3 setXcptnlNetCshFlowInd(boolean value) {
this.xcptnlNetCshFlowInd = value;
return this;
}
/**
* Gets the value of the estmtdCshInFcstDtls 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 estmtdCshInFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getEstmtdCshInFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashInForecast4 }
*
*
* @return
* The value of the estmtdCshInFcstDtls property.
*/
public List getEstmtdCshInFcstDtls() {
if (estmtdCshInFcstDtls == null) {
estmtdCshInFcstDtls = new ArrayList<>();
}
return this.estmtdCshInFcstDtls;
}
/**
* Gets the value of the estmtdCshOutFcstDtls 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 estmtdCshOutFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getEstmtdCshOutFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashOutForecast4 }
*
*
* @return
* The value of the estmtdCshOutFcstDtls property.
*/
public List getEstmtdCshOutFcstDtls() {
if (estmtdCshOutFcstDtls == null) {
estmtdCshOutFcstDtls = new ArrayList<>();
}
return this.estmtdCshOutFcstDtls;
}
/**
* Gets the value of the estmtdNetCshFcstDtls 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 estmtdNetCshFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getEstmtdNetCshFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NetCashForecast2 }
*
*
* @return
* The value of the estmtdNetCshFcstDtls property.
*/
public List getEstmtdNetCshFcstDtls() {
if (estmtdNetCshFcstDtls == null) {
estmtdNetCshFcstDtls = new ArrayList<>();
}
return this.estmtdNetCshFcstDtls;
}
@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 invstmtCcy list.
* @see #getInvstmtCcy()
*
*/
public EstimatedFundCashForecast3 addInvstmtCcy(String invstmtCcy) {
getInvstmtCcy().add(invstmtCcy);
return this;
}
/**
* Adds a new item to the estmtdCshInFcstDtls list.
* @see #getEstmtdCshInFcstDtls()
*
*/
public EstimatedFundCashForecast3 addEstmtdCshInFcstDtls(CashInForecast4 estmtdCshInFcstDtls) {
getEstmtdCshInFcstDtls().add(estmtdCshInFcstDtls);
return this;
}
/**
* Adds a new item to the estmtdCshOutFcstDtls list.
* @see #getEstmtdCshOutFcstDtls()
*
*/
public EstimatedFundCashForecast3 addEstmtdCshOutFcstDtls(CashOutForecast4 estmtdCshOutFcstDtls) {
getEstmtdCshOutFcstDtls().add(estmtdCshOutFcstDtls);
return this;
}
/**
* Adds a new item to the estmtdNetCshFcstDtls list.
* @see #getEstmtdNetCshFcstDtls()
*
*/
public EstimatedFundCashForecast3 addEstmtdNetCshFcstDtls(NetCashForecast2 estmtdNetCshFcstDtls) {
getEstmtdNetCshFcstDtls().add(estmtdNetCshFcstDtls);
return this;
}
}