
com.prowidesoftware.swift.model.mx.dic.PortfolioTransfer8 Maven / Gradle / Ivy
package com.prowidesoftware.swift.model.mx.dic;
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.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;
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 = "PortfolioTransfer8", propOrder = {
"mstrRef",
"trfId",
"trfConfId",
"reqdTrfDt",
"prtfl",
"allOthrCsh",
"cshAll",
"rsdlCsh",
"pmtDtls",
"finInstrmAsstForTrf",
"addtlInf"
})
public class PortfolioTransfer8 {
@XmlElement(name = "MstrRef")
protected String mstrRef;
@XmlElement(name = "TrfId", required = true)
protected String trfId;
@XmlElement(name = "TrfConfId")
protected String trfConfId;
@XmlElement(name = "ReqdTrfDt")
@XmlSchemaType(name = "date")
protected XMLGregorianCalendar reqdTrfDt;
@XmlElement(name = "Prtfl")
protected FundPortfolio6Choice prtfl;
@XmlElement(name = "AllOthrCsh")
protected List allOthrCsh;
@XmlElement(name = "CshAll")
protected List cshAll;
@XmlElement(name = "RsdlCsh")
protected List rsdlCsh;
@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 PortfolioTransfer8 setMstrRef(String value) {
this.mstrRef = value;
return this;
}
/**
* Gets the value of the trfId property.
*
* @return
* possible object is
* {@link String }
*
*/
public String getTrfId() {
return trfId;
}
/**
* Sets the value of the trfId property.
*
* @param value
* allowed object is
* {@link String }
*
*/
public PortfolioTransfer8 setTrfId(String value) {
this.trfId = 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 PortfolioTransfer8 setTrfConfId(String value) {
this.trfConfId = value;
return this;
}
/**
* Gets the value of the reqdTrfDt property.
*
* @return
* possible object is
* {@link XMLGregorianCalendar }
*
*/
public XMLGregorianCalendar getReqdTrfDt() {
return reqdTrfDt;
}
/**
* Sets the value of the reqdTrfDt property.
*
* @param value
* allowed object is
* {@link XMLGregorianCalendar }
*
*/
public PortfolioTransfer8 setReqdTrfDt(XMLGregorianCalendar value) {
this.reqdTrfDt = value;
return this;
}
/**
* Gets the value of the prtfl property.
*
* @return
* possible object is
* {@link FundPortfolio6Choice }
*
*/
public FundPortfolio6Choice getPrtfl() {
return prtfl;
}
/**
* Sets the value of the prtfl property.
*
* @param value
* allowed object is
* {@link FundPortfolio6Choice }
*
*/
public PortfolioTransfer8 setPrtfl(FundPortfolio6Choice 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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
public List getRsdlCsh() {
if (rsdlCsh == null) {
rsdlCsh = new ArrayList();
}
return this.rsdlCsh;
}
/**
* 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 PortfolioTransfer8 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 JAXB object.
* This is why there is not a 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 FinancialInstrument86 }
*
*
*/
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 JAXB object.
* This is why there is not a 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 }
*
*
*/
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 PortfolioTransfer8 addAllOthrCsh(AllOtherCash1 allOthrCsh) {
getAllOthrCsh().add(allOthrCsh);
return this;
}
/**
* Adds a new item to the cshAll list.
* @see #getCshAll()
*
*/
public PortfolioTransfer8 addCshAll(CashAll1 cshAll) {
getCshAll().add(cshAll);
return this;
}
/**
* Adds a new item to the rsdlCsh list.
* @see #getRsdlCsh()
*
*/
public PortfolioTransfer8 addRsdlCsh(ResidualCash2 rsdlCsh) {
getRsdlCsh().add(rsdlCsh);
return this;
}
/**
* Adds a new item to the finInstrmAsstForTrf list.
* @see #getFinInstrmAsstForTrf()
*
*/
public PortfolioTransfer8 addFinInstrmAsstForTrf(FinancialInstrument86 finInstrmAsstForTrf) {
getFinInstrmAsstForTrf().add(finInstrmAsstForTrf);
return this;
}
/**
* Adds a new item to the addtlInf list.
* @see #getAddtlInf()
*
*/
public PortfolioTransfer8 addAddtlInf(AdditionalInformation15 addtlInf) {
getAddtlInf().add(addtlInf);
return this;
}
}