com.prowidesoftware.swift.model.mx.dic.Collateral13 Maven / Gradle / Ivy
Show all versions of pw-iso20022 Show documentation
package com.prowidesoftware.swift.model.mx.dic;
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;
/**
* Provides for each collateral account the report summary and the valuation of each piece of collateral.
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Collateral13", propOrder = {
"acctId",
"rptSummry",
"collValtn"
})
public class Collateral13 {
@XmlElement(name = "AcctId", required = true)
protected CollateralAccount2 acctId;
@XmlElement(name = "RptSummry", required = true)
protected Summary1 rptSummry;
@XmlElement(name = "CollValtn")
protected List collValtn;
/**
* Gets the value of the acctId property.
*
* @return
* possible object is
* {@link CollateralAccount2 }
*
*/
public CollateralAccount2 getAcctId() {
return acctId;
}
/**
* Sets the value of the acctId property.
*
* @param value
* allowed object is
* {@link CollateralAccount2 }
*
*/
public Collateral13 setAcctId(CollateralAccount2 value) {
this.acctId = value;
return this;
}
/**
* Gets the value of the rptSummry property.
*
* @return
* possible object is
* {@link Summary1 }
*
*/
public Summary1 getRptSummry() {
return rptSummry;
}
/**
* Sets the value of the rptSummry property.
*
* @param value
* allowed object is
* {@link Summary1 }
*
*/
public Collateral13 setRptSummry(Summary1 value) {
this.rptSummry = value;
return this;
}
/**
* Gets the value of the collValtn 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 collValtn property.
*
*
* For example, to add a new item, do as follows:
*
* getCollValtn().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link CollateralValuation5 }
*
*
* @return
* The value of the collValtn property.
*/
public List getCollValtn() {
if (collValtn == null) {
collValtn = new ArrayList<>();
}
return this.collValtn;
}
@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 collValtn list.
* @see #getCollValtn()
*
*/
public Collateral13 addCollValtn(CollateralValuation5 collValtn) {
getCollValtn().add(collValtn);
return this;
}
}