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

org.fpml.fpml_5.confirmation.Loan Maven / Gradle / Ivy

//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 
// See https://javaee.github.io/jaxb-v2/ 
// Any modifications to this file will be lost upon recompilation of the source schema. 
// Generated on: 2024.05.10 at 03:58:40 PM UTC 
//


package org.fpml.fpml_5.confirmation;

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.XmlElements;
import javax.xml.bind.annotation.XmlSchemaType;
import javax.xml.bind.annotation.XmlType;
import javax.xml.datatype.XMLGregorianCalendar;


/**
 * A type describing a loan underlying asset.
 * 
 * 

Java class for Loan complex type. * *

The following schema fragment specifies the expected content contained within this class. * *

 * <complexType name="Loan">
 *   <complexContent>
 *     <extension base="{http://www.fpml.org/FpML-5/confirmation}UnderlyingAsset">
 *       <sequence>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element name="borrower" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntity"/>
 *           <element name="borrowerReference" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntityReference"/>
 *         </choice>
 *         <element name="lien" type="{http://www.fpml.org/FpML-5/confirmation}Lien" minOccurs="0"/>
 *         <element name="facilityType" type="{http://www.fpml.org/FpML-5/confirmation}FacilityType" minOccurs="0"/>
 *         <element name="maturity" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="creditAgreementDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
 *         <element name="tranche" type="{http://www.fpml.org/FpML-5/confirmation}UnderlyingAssetTranche" minOccurs="0"/>
 *         <element name="seniority" type="{http://www.fpml.org/FpML-5/confirmation}CreditSeniority" minOccurs="0"/>
 *       </sequence>
 *     </extension>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "Loan", propOrder = { "borrowerOrBorrowerReference", "lien", "facilityType", "maturity", "creditAgreementDate", "tranche", "seniority" }) public class Loan extends UnderlyingAsset { @XmlElements({ @XmlElement(name = "borrower", type = LegalEntity.class), @XmlElement(name = "borrowerReference", type = LegalEntityReference.class) }) protected List borrowerOrBorrowerReference; protected Lien lien; protected FacilityType facilityType; @XmlSchemaType(name = "date") protected XMLGregorianCalendar maturity; @XmlSchemaType(name = "date") protected XMLGregorianCalendar creditAgreementDate; protected UnderlyingAssetTranche tranche; protected CreditSeniority seniority; /** * Gets the value of the borrowerOrBorrowerReference 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 borrowerOrBorrowerReference property. * *

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

     *    getBorrowerOrBorrowerReference().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LegalEntity } * {@link LegalEntityReference } * * */ public List getBorrowerOrBorrowerReference() { if (borrowerOrBorrowerReference == null) { borrowerOrBorrowerReference = new ArrayList(); } return this.borrowerOrBorrowerReference; } /** * Gets the value of the lien property. * * @return * possible object is * {@link Lien } * */ public Lien getLien() { return lien; } /** * Sets the value of the lien property. * * @param value * allowed object is * {@link Lien } * */ public void setLien(Lien value) { this.lien = value; } /** * Gets the value of the facilityType property. * * @return * possible object is * {@link FacilityType } * */ public FacilityType getFacilityType() { return facilityType; } /** * Sets the value of the facilityType property. * * @param value * allowed object is * {@link FacilityType } * */ public void setFacilityType(FacilityType value) { this.facilityType = value; } /** * Gets the value of the maturity property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getMaturity() { return maturity; } /** * Sets the value of the maturity property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setMaturity(XMLGregorianCalendar value) { this.maturity = value; } /** * Gets the value of the creditAgreementDate property. * * @return * possible object is * {@link XMLGregorianCalendar } * */ public XMLGregorianCalendar getCreditAgreementDate() { return creditAgreementDate; } /** * Sets the value of the creditAgreementDate property. * * @param value * allowed object is * {@link XMLGregorianCalendar } * */ public void setCreditAgreementDate(XMLGregorianCalendar value) { this.creditAgreementDate = value; } /** * Gets the value of the tranche property. * * @return * possible object is * {@link UnderlyingAssetTranche } * */ public UnderlyingAssetTranche getTranche() { return tranche; } /** * Sets the value of the tranche property. * * @param value * allowed object is * {@link UnderlyingAssetTranche } * */ public void setTranche(UnderlyingAssetTranche value) { this.tranche = value; } /** * Gets the value of the seniority property. * * @return * possible object is * {@link CreditSeniority } * */ public CreditSeniority getSeniority() { return seniority; } /** * Sets the value of the seniority property. * * @param value * allowed object is * {@link CreditSeniority } * */ public void setSeniority(CreditSeniority value) { this.seniority = value; } }