com.prowidesoftware.swift.model.mx.dic.PortfolioTransfer5 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlSchemaType;
import jakarta.xml.bind.annotation.XmlType;
import jakarta.xml.bind.annotation.adapters.XmlJavaTypeAdapter;
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;
/**
* Type of product and assets to be transferred.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "PortfolioTransfer5", propOrder = {
"mstrRef",
"trfInstrRef",
"trfConfId",
"actlTrfDt",
"prtfl",
"allOthrCsh",
"cshAll",
"rsdlCsh",
"taxDt",
"pmtDtls",
"finInstrmAsstForTrf",
"addtlInf"
})
public class PortfolioTransfer5 {
@XmlElement(name = "MstrRef")
protected String mstrRef;
@XmlElement(name = "TrfInstrRef", required = true)
protected String trfInstrRef;
@XmlElement(name = "TrfConfId", required = true)
protected String trfConfId;
@XmlElement(name = "ActlTrfDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate actlTrfDt;
@XmlElement(name = "Prtfl")
protected FundPortfolio5Choice prtfl;
@XmlElement(name = "AllOthrCsh")
protected List allOthrCsh;
@XmlElement(name = "CshAll")
protected List cshAll;
@XmlElement(name = "RsdlCsh")
protected List rsdlCsh;
@XmlElement(name = "TaxDt", type = String.class)
@XmlJavaTypeAdapter(IsoDateAdapter.class)
@XmlSchemaType(name = "date")
protected LocalDate taxDt;
@XmlElement(name = "PmtDtls")
protected PaymentInstrument14 pmtDtls;
@XmlElement(name = "FinInstrmAsstForTrf")
protected List finInstrmAsstForTrf;
@XmlElement(name = "AddtlInf")
protected List addtlInf;
/**
* Gets the value of the mstrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getMstrRef() {
return mstrRef;
}
/**
* Sets the value of the mstrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer5 setMstrRef(String value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the trfInstrRef property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfInstrRef() {
return trfInstrRef;
}
/**
* Sets the value of the trfInstrRef property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer5 setTrfInstrRef(String value) {
this.trfInstrRef = value;
return this;
}
/**
* Gets the value of the trfConfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfConfId() {
return trfConfId;
}
/**
* Sets the value of the trfConfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer5 setTrfConfId(String value) {
this.trfConfId = value;
return this;
}
/**
* Gets the value of the actlTrfDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getActlTrfDt() {
return actlTrfDt;
}
/**
* Sets the value of the actlTrfDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer5 setActlTrfDt(LocalDate value) {
this.actlTrfDt = value;
return this;
}
/**
* Gets the value of the prtfl property.
*
* @return
* possible object is
* {@link FundPortfolio5Choice }
*
*/
public FundPortfolio5Choice getPrtfl() {
return prtfl;
}
/**
* Sets the value of the prtfl property.
*
* @param value
* allowed object is
* {@link FundPortfolio5Choice }
*
*/
public PortfolioTransfer5 setPrtfl(FundPortfolio5Choice value) {
this.prtfl = value;
return this;
}
/**
* Gets the value of the allOthrCsh 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 allOthrCsh property.
*
*
* For example, to add a new item, do as follows:
*
* getAllOthrCsh().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AllOtherCash1 }
*
*
* @return
* The value of the allOthrCsh property.
*/
public List getAllOthrCsh() {
if (allOthrCsh == null) {
allOthrCsh = new ArrayList<>();
}
return this.allOthrCsh;
}
/**
* Gets the value of the cshAll 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 cshAll property.
*
*
* For example, to add a new item, do as follows:
*
* getCshAll().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashAll1 }
*
*
* @return
* The value of the cshAll property.
*/
public List getCshAll() {
if (cshAll == null) {
cshAll = new ArrayList<>();
}
return this.cshAll;
}
/**
* Gets the value of the rsdlCsh 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 rsdlCsh property.
*
*
* For example, to add a new item, do as follows:
*
* getRsdlCsh().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link ResidualCash2 }
*
*
* @return
* The value of the rsdlCsh property.
*/
public List getRsdlCsh() {
if (rsdlCsh == null) {
rsdlCsh = new ArrayList<>();
}
return this.rsdlCsh;
}
/**
* Gets the value of the taxDt property.
*
* @return
* possible object is
* {@link String }
*
*/
public LocalDate getTaxDt() {
return taxDt;
}
/**
* Sets the value of the taxDt property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer5 setTaxDt(LocalDate value) {
this.taxDt = value;
return this;
}
/**
* Gets the value of the pmtDtls property.
*
* @return
* possible object is
* {@link PaymentInstrument14 }
*
*/
public PaymentInstrument14 getPmtDtls() {
return pmtDtls;
}
/**
* Sets the value of the pmtDtls property.
*
* @param value
* allowed object is
* {@link PaymentInstrument14 }
*
*/
public PortfolioTransfer5 setPmtDtls(PaymentInstrument14 value) {
this.pmtDtls = value;
return this;
}
/**
* Gets the value of the finInstrmAsstForTrf 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 finInstrmAsstForTrf property.
*
*
* For example, to add a new item, do as follows:
*
* getFinInstrmAsstForTrf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link FinancialInstrument83 }
*
*
* @return
* The value of the finInstrmAsstForTrf property.
*/
public List getFinInstrmAsstForTrf() {
if (finInstrmAsstForTrf == null) {
finInstrmAsstForTrf = new ArrayList<>();
}
return this.finInstrmAsstForTrf;
}
/**
* Gets the value of the addtlInf 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 addtlInf property.
*
*
* For example, to add a new item, do as follows:
*
* getAddtlInf().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link AdditionalInformation15 }
*
*
* @return
* The value of the addtlInf property.
*/
public List getAddtlInf() {
if (addtlInf == null) {
addtlInf = new ArrayList<>();
}
return this.addtlInf;
}
@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 allOthrCsh list.
* @see #getAllOthrCsh()
*
*/
public PortfolioTransfer5 addAllOthrCsh(AllOtherCash1 allOthrCsh) {
getAllOthrCsh().add(allOthrCsh);
return this;
}
/**
* Adds a new item to the cshAll list.
* @see #getCshAll()
*
*/
public PortfolioTransfer5 addCshAll(CashAll1 cshAll) {
getCshAll().add(cshAll);
return this;
}
/**
* Adds a new item to the rsdlCsh list.
* @see #getRsdlCsh()
*
*/
public PortfolioTransfer5 addRsdlCsh(ResidualCash2 rsdlCsh) {
getRsdlCsh().add(rsdlCsh);
return this;
}
/**
* Adds a new item to the finInstrmAsstForTrf list.
* @see #getFinInstrmAsstForTrf()
*
*/
public PortfolioTransfer5 addFinInstrmAsstForTrf(FinancialInstrument83 finInstrmAsstForTrf) {
getFinInstrmAsstForTrf().add(finInstrmAsstForTrf);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public PortfolioTransfer5 addAddtlInf(AdditionalInformation15 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
}