com.prowidesoftware.swift.model.mx.dic.Fund2 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 javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.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;
/**
* Information about an investment fund.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Fund2", propOrder = {
"nm",
"lglNttyIdr",
"id",
"ccy",
"tradDtTm",
"prvsTradDtTm",
"ttlNAV",
"prvsTtlNAV",
"ttlUnitsNb",
"prvsTtlUnitsNb",
"pctgOfFndTtlNAV",
"cshInFcstDtls",
"cshOutFcstDtls",
"netCshFcstDtls"
})
public class Fund2 {
@XmlElement(name = "Nm")
protected String nm;
@XmlElement(name = "LglNttyIdr")
protected String lglNttyIdr;
@XmlElement(name = "Id")
protected OtherIdentification4 id;
@XmlElement(name = "Ccy")
protected String ccy;
@XmlElement(name = "TradDtTm")
protected DateAndDateTimeChoice tradDtTm;
@XmlElement(name = "PrvsTradDtTm")
protected DateAndDateTimeChoice prvsTradDtTm;
@XmlElement(name = "TtlNAV")
protected ActiveOrHistoricCurrencyAndAmount ttlNAV;
@XmlElement(name = "PrvsTtlNAV")
protected ActiveOrHistoricCurrencyAndAmount prvsTtlNAV;
@XmlElement(name = "TtlUnitsNb")
protected FinancialInstrumentQuantity1 ttlUnitsNb;
@XmlElement(name = "PrvsTtlUnitsNb")
protected FinancialInstrumentQuantity1 prvsTtlUnitsNb;
@XmlElement(name = "PctgOfFndTtlNAV")
protected BigDecimal pctgOfFndTtlNAV;
@XmlElement(name = "CshInFcstDtls")
protected List cshInFcstDtls;
@XmlElement(name = "CshOutFcstDtls")
protected List cshOutFcstDtls;
@XmlElement(name = "NetCshFcstDtls")
protected List netCshFcstDtls;
/**
* Gets the value of the nm property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getNm() {
return nm;
}
/**
* Sets the value of the nm property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Fund2 setNm(String value) {
this.nm = value;
return this;
}
/**
* Gets the value of the lglNttyIdr property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getLglNttyIdr() {
return lglNttyIdr;
}
/**
* Sets the value of the lglNttyIdr property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Fund2 setLglNttyIdr(String value) {
this.lglNttyIdr = value;
return this;
}
/**
* Gets the value of the id property.
*
* @return
* possible object is
* {@link OtherIdentification4 }
*
*/
public OtherIdentification4 getId() {
return id;
}
/**
* Sets the value of the id property.
*
* @param value
* allowed object is
* {@link OtherIdentification4 }
*
*/
public Fund2 setId(OtherIdentification4 value) {
this.id = value;
return this;
}
/**
* Gets the value of the ccy property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getCcy() {
return ccy;
}
/**
* Sets the value of the ccy property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public Fund2 setCcy(String value) {
this.ccy = 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 Fund2 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 Fund2 setPrvsTradDtTm(DateAndDateTimeChoice value) {
this.prvsTradDtTm = value;
return this;
}
/**
* Gets the value of the ttlNAV property.
*
* @return
* possible object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public ActiveOrHistoricCurrencyAndAmount getTtlNAV() {
return ttlNAV;
}
/**
* Sets the value of the ttlNAV property.
*
* @param value
* allowed object is
* {@link ActiveOrHistoricCurrencyAndAmount }
*
*/
public Fund2 setTtlNAV(ActiveOrHistoricCurrencyAndAmount value) {
this.ttlNAV = 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 Fund2 setPrvsTtlNAV(ActiveOrHistoricCurrencyAndAmount value) {
this.prvsTtlNAV = value;
return this;
}
/**
* Gets the value of the ttlUnitsNb property.
*
* @return
* possible object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public FinancialInstrumentQuantity1 getTtlUnitsNb() {
return ttlUnitsNb;
}
/**
* Sets the value of the ttlUnitsNb property.
*
* @param value
* allowed object is
* {@link FinancialInstrumentQuantity1 }
*
*/
public Fund2 setTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.ttlUnitsNb = 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 Fund2 setPrvsTtlUnitsNb(FinancialInstrumentQuantity1 value) {
this.prvsTtlUnitsNb = value;
return this;
}
/**
* Gets the value of the pctgOfFndTtlNAV property.
*
* @return
* possible object is
* {@link BigDecimal }
*
*/
public BigDecimal getPctgOfFndTtlNAV() {
return pctgOfFndTtlNAV;
}
/**
* Sets the value of the pctgOfFndTtlNAV property.
*
* @param value
* allowed object is
* {@link BigDecimal }
*
*/
public Fund2 setPctgOfFndTtlNAV(BigDecimal value) {
this.pctgOfFndTtlNAV = value;
return this;
}
/**
* Gets the value of the cshInFcstDtls 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 JAXB object.
* This is why there is not a set
method for the cshInFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCshInFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashInOutForecast7 }
*
*
*/
public List getCshInFcstDtls() {
if (cshInFcstDtls == null) {
cshInFcstDtls = new ArrayList();
}
return this.cshInFcstDtls;
}
/**
* Gets the value of the cshOutFcstDtls 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 JAXB object.
* This is why there is not a set
method for the cshOutFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCshOutFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashInOutForecast7 }
*
*
*/
public List getCshOutFcstDtls() {
if (cshOutFcstDtls == null) {
cshOutFcstDtls = new ArrayList();
}
return this.cshOutFcstDtls;
}
/**
* Gets the value of the netCshFcstDtls 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 JAXB object.
* This is why there is not a set
method for the netCshFcstDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getNetCshFcstDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link NetCashForecast5 }
*
*
*/
public List getNetCshFcstDtls() {
if (netCshFcstDtls == null) {
netCshFcstDtls = new ArrayList();
}
return this.netCshFcstDtls;
}
@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 cshInFcstDtls list.
* @see #getCshInFcstDtls()
*
*/
public Fund2 addCshInFcstDtls(CashInOutForecast7 cshInFcstDtls) {
getCshInFcstDtls().add(cshInFcstDtls);
return this;
}
/**
* Adds a new item to the cshOutFcstDtls list.
* @see #getCshOutFcstDtls()
*
*/
public Fund2 addCshOutFcstDtls(CashInOutForecast7 cshOutFcstDtls) {
getCshOutFcstDtls().add(cshOutFcstDtls);
return this;
}
/**
* Adds a new item to the netCshFcstDtls list.
* @see #getNetCshFcstDtls()
*
*/
public Fund2 addNetCshFcstDtls(NetCashForecast5 netCshFcstDtls) {
getNetCshFcstDtls().add(netCshFcstDtls);
return this;
}
}