All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.prowidesoftware.swift.model.mx.dic.FinancingAgreementList1Tsin00900101 Maven / Gradle / Ivy

The newest version!

package com.prowidesoftware.swift.model.mx.dic;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.util.ArrayList;
import java.util.List;
import com.prowidesoftware.swift.model.mx.adapters.IsoDateAdapter;
import jakarta.xml.bind.JAXBElement;
import jakarta.xml.bind.annotation.XmlAccessType;
import jakarta.xml.bind.annotation.XmlAccessorType;
import jakarta.xml.bind.annotation.XmlElement;
import jakarta.xml.bind.annotation.XmlElementRef;
import jakarta.xml.bind.annotation.XmlIDREF;
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;


/**
 * Defines a list of party management registration and guarantee requests.
 * 
 * 
 * 
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "FinancingAgreementList1", propOrder = {
    "idr",
    "dt",
    "rltdDoc",
    "agrmtRqstr",
    "agrmtRspndr",
    "grntApplcnt",
    "grntNbfcry",
    "grntIssr",
    "ntfctnInf",
    "itm",
    "itmCnt",
    "ctrlSum",
    "addtlInf",
    "vldtnStsInf"
})
public class FinancingAgreementList1Tsin00900101 {

    @XmlElement(name = "Idr", required = true)
    protected String idr;
    @XmlElement(name = "Dt", required = true, type = String.class)
    @XmlJavaTypeAdapter(IsoDateAdapter.class)
    @XmlSchemaType(name = "date")
    protected LocalDate dt;
    @XmlElementRef(name = "RltdDoc", namespace = "urn:iso:std:iso:20022:tech:xsd:tsin.009.001.01", type = JAXBElement.class, required = false)
    protected List> rltdDoc;
    @XmlElement(name = "AgrmtRqstr", required = true)
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected Object agrmtRqstr;
    @XmlElement(name = "AgrmtRspndr", required = true)
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected Object agrmtRspndr;
    @XmlElement(name = "GrntApplcnt", required = true)
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected Object grntApplcnt;
    @XmlElement(name = "GrntNbfcry", required = true)
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected Object grntNbfcry;
    @XmlElement(name = "GrntIssr", required = true)
    @XmlIDREF
    @XmlSchemaType(name = "IDREF")
    protected Object grntIssr;
    @XmlElement(name = "NtfctnInf")
    protected List ntfctnInf;
    @XmlElement(name = "Itm", required = true)
    protected List itm;
    @XmlElement(name = "ItmCnt", required = true)
    protected String itmCnt;
    @XmlElement(name = "CtrlSum")
    protected BigDecimal ctrlSum;
    @XmlElement(name = "AddtlInf")
    protected String addtlInf;
    @XmlElement(name = "VldtnStsInf")
    protected ValidationStatusInformation1 vldtnStsInf;

    /**
     * Gets the value of the idr property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public String getIdr() {
        return idr;
    }

    /**
     * Sets the value of the idr property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public FinancingAgreementList1Tsin00900101 setIdr(String value) {
        this.idr = value;
        return this;
    }

    /**
     * Gets the value of the dt property.
     * 
     * @return
     *     possible object is
     *     {@link String }
     *     
     */
    public LocalDate getDt() {
        return dt;
    }

    /**
     * Sets the value of the dt property.
     * 
     * @param value
     *     allowed object is
     *     {@link String }
     *     
     */
    public FinancingAgreementList1Tsin00900101 setDt(LocalDate value) {
        this.dt = value;
        return this;
    }

    /**
     * Gets the value of the rltdDoc 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 rltdDoc property. * *

* For example, to add a new item, do as follows: *

     *    getRltdDoc().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link JAXBElement }{@code <}{@link Object }{@code >} * * * @return * The value of the rltdDoc property. */ public List> getRltdDoc() { if (rltdDoc == null) { rltdDoc = new ArrayList<>(); } return this.rltdDoc; } /** * Gets the value of the agrmtRqstr property. * * @return * possible object is * {@link Object } * */ public Object getAgrmtRqstr() { return agrmtRqstr; } /** * Sets the value of the agrmtRqstr property. * * @param value * allowed object is * {@link Object } * */ public FinancingAgreementList1Tsin00900101 setAgrmtRqstr(Object value) { this.agrmtRqstr = value; return this; } /** * Gets the value of the agrmtRspndr property. * * @return * possible object is * {@link Object } * */ public Object getAgrmtRspndr() { return agrmtRspndr; } /** * Sets the value of the agrmtRspndr property. * * @param value * allowed object is * {@link Object } * */ public FinancingAgreementList1Tsin00900101 setAgrmtRspndr(Object value) { this.agrmtRspndr = value; return this; } /** * Gets the value of the grntApplcnt property. * * @return * possible object is * {@link Object } * */ public Object getGrntApplcnt() { return grntApplcnt; } /** * Sets the value of the grntApplcnt property. * * @param value * allowed object is * {@link Object } * */ public FinancingAgreementList1Tsin00900101 setGrntApplcnt(Object value) { this.grntApplcnt = value; return this; } /** * Gets the value of the grntNbfcry property. * * @return * possible object is * {@link Object } * */ public Object getGrntNbfcry() { return grntNbfcry; } /** * Sets the value of the grntNbfcry property. * * @param value * allowed object is * {@link Object } * */ public FinancingAgreementList1Tsin00900101 setGrntNbfcry(Object value) { this.grntNbfcry = value; return this; } /** * Gets the value of the grntIssr property. * * @return * possible object is * {@link Object } * */ public Object getGrntIssr() { return grntIssr; } /** * Sets the value of the grntIssr property. * * @param value * allowed object is * {@link Object } * */ public FinancingAgreementList1Tsin00900101 setGrntIssr(Object value) { this.grntIssr = value; return this; } /** * Gets the value of the ntfctnInf 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 ntfctnInf property. * *

* For example, to add a new item, do as follows: *

     *    getNtfctnInf().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FinancingNotificationParties1Tsin00900101 } * * * @return * The value of the ntfctnInf property. */ public List getNtfctnInf() { if (ntfctnInf == null) { ntfctnInf = new ArrayList<>(); } return this.ntfctnInf; } /** * Gets the value of the itm 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 itm property. * *

* For example, to add a new item, do as follows: *

     *    getItm().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link FinancingAgreementItem1Tsin00900101 } * * * @return * The value of the itm property. */ public List getItm() { if (itm == null) { itm = new ArrayList<>(); } return this.itm; } /** * Gets the value of the itmCnt property. * * @return * possible object is * {@link String } * */ public String getItmCnt() { return itmCnt; } /** * Sets the value of the itmCnt property. * * @param value * allowed object is * {@link String } * */ public FinancingAgreementList1Tsin00900101 setItmCnt(String value) { this.itmCnt = value; return this; } /** * Gets the value of the ctrlSum property. * * @return * possible object is * {@link BigDecimal } * */ public BigDecimal getCtrlSum() { return ctrlSum; } /** * Sets the value of the ctrlSum property. * * @param value * allowed object is * {@link BigDecimal } * */ public FinancingAgreementList1Tsin00900101 setCtrlSum(BigDecimal value) { this.ctrlSum = value; return this; } /** * Gets the value of the addtlInf property. * * @return * possible object is * {@link String } * */ public String getAddtlInf() { return addtlInf; } /** * Sets the value of the addtlInf property. * * @param value * allowed object is * {@link String } * */ public FinancingAgreementList1Tsin00900101 setAddtlInf(String value) { this.addtlInf = value; return this; } /** * Gets the value of the vldtnStsInf property. * * @return * possible object is * {@link ValidationStatusInformation1 } * */ public ValidationStatusInformation1 getVldtnStsInf() { return vldtnStsInf; } /** * Sets the value of the vldtnStsInf property. * * @param value * allowed object is * {@link ValidationStatusInformation1 } * */ public FinancingAgreementList1Tsin00900101 setVldtnStsInf(ValidationStatusInformation1 value) { this.vldtnStsInf = 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 rltdDoc list. * @see #getRltdDoc() * */ public FinancingAgreementList1Tsin00900101 addRltdDoc(JAXBElement rltdDoc) { getRltdDoc().add(rltdDoc); return this; } /** * Adds a new item to the ntfctnInf list. * @see #getNtfctnInf() * */ public FinancingAgreementList1Tsin00900101 addNtfctnInf(FinancingNotificationParties1Tsin00900101 ntfctnInf) { getNtfctnInf().add(ntfctnInf); return this; } /** * Adds a new item to the itm list. * @see #getItm() * */ public FinancingAgreementList1Tsin00900101 addItm(FinancingAgreementItem1Tsin00900101 itm) { getItm().add(itm); return this; } }