
com.prowidesoftware.swift.model.mx.dic.ProceedsMovement1 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.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;
/**
* Details of the proceeds movements.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ProceedsMovement1", propOrder = {
"cshPrcdsMvmntDtls",
"sctiesPrcdsMvmntDtls",
"taxDtls"
})
public class ProceedsMovement1 {
@XmlElement(name = "CshPrcdsMvmntDtls")
protected List cshPrcdsMvmntDtls;
@XmlElement(name = "SctiesPrcdsMvmntDtls")
protected List sctiesPrcdsMvmntDtls;
@XmlElement(name = "TaxDtls")
protected TaxVoucher1 taxDtls;
/**
* Gets the value of the cshPrcdsMvmntDtls 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 cshPrcdsMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getCshPrcdsMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CashProceeds1 }
*
*
*/
public List getCshPrcdsMvmntDtls() {
if (cshPrcdsMvmntDtls == null) {
cshPrcdsMvmntDtls = new ArrayList();
}
return this.cshPrcdsMvmntDtls;
}
/**
* Gets the value of the sctiesPrcdsMvmntDtls 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 sctiesPrcdsMvmntDtls property.
*
*
* For example, to add a new item, do as follows:
*
* getSctiesPrcdsMvmntDtls().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link SecuritiesProceeds1 }
*
*
*/
public List getSctiesPrcdsMvmntDtls() {
if (sctiesPrcdsMvmntDtls == null) {
sctiesPrcdsMvmntDtls = new ArrayList();
}
return this.sctiesPrcdsMvmntDtls;
}
/**
* Gets the value of the taxDtls property.
*
* @return
* possible object is
* {@link TaxVoucher1 }
*
*/
public TaxVoucher1 getTaxDtls() {
return taxDtls;
}
/**
* Sets the value of the taxDtls property.
*
* @param value
* allowed object is
* {@link TaxVoucher1 }
*
*/
public ProceedsMovement1 setTaxDtls(TaxVoucher1 value) {
this.taxDtls = value;
return this;
}
@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 cshPrcdsMvmntDtls list.
* @see #getCshPrcdsMvmntDtls()
*
*/
public ProceedsMovement1 addCshPrcdsMvmntDtls(CashProceeds1 cshPrcdsMvmntDtls) {
getCshPrcdsMvmntDtls().add(cshPrcdsMvmntDtls);
return this;
}
/**
* Adds a new item to the sctiesPrcdsMvmntDtls list.
* @see #getSctiesPrcdsMvmntDtls()
*
*/
public ProceedsMovement1 addSctiesPrcdsMvmntDtls(SecuritiesProceeds1 sctiesPrcdsMvmntDtls) {
getSctiesPrcdsMvmntDtls().add(sctiesPrcdsMvmntDtls);
return this;
}
}