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

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

There is a newer version: 6.0.0-dev.61
Show newest version
//
// 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.XmlType;


/**
 * 

Java class for ReferenceObligation complex type. * *

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

 * <complexType name="ReferenceObligation">
 *   <complexContent>
 *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       <sequence>
 *         <choice>
 *           <element ref="{http://www.fpml.org/FpML-5/confirmation}bond"/>
 *           <element ref="{http://www.fpml.org/FpML-5/confirmation}convertibleBond"/>
 *           <element ref="{http://www.fpml.org/FpML-5/confirmation}mortgage"/>
 *           <element ref="{http://www.fpml.org/FpML-5/confirmation}loan"/>
 *         </choice>
 *         <choice minOccurs="0">
 *           <element name="primaryObligor" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntity"/>
 *           <element name="primaryObligorReference" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntityReference"/>
 *         </choice>
 *         <choice maxOccurs="unbounded" minOccurs="0">
 *           <element name="guarantor" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntity"/>
 *           <element name="guarantorReference" type="{http://www.fpml.org/FpML-5/confirmation}LegalEntityReference"/>
 *         </choice>
 *         <element name="standardReferenceObligation" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
 *       </sequence>
 *     </restriction>
 *   </complexContent>
 * </complexType>
 * 
* * */ @XmlAccessorType(XmlAccessType.FIELD) @XmlType(name = "ReferenceObligation", propOrder = { "bond", "convertibleBond", "mortgage", "loan", "primaryObligor", "primaryObligorReference", "guarantorOrGuarantorReference", "standardReferenceObligation" }) public class ReferenceObligation { protected Bond bond; protected ConvertibleBond convertibleBond; protected Mortgage mortgage; protected Loan loan; protected LegalEntity primaryObligor; protected LegalEntityReference primaryObligorReference; @XmlElements({ @XmlElement(name = "guarantor", type = LegalEntity.class), @XmlElement(name = "guarantorReference", type = LegalEntityReference.class) }) protected List guarantorOrGuarantorReference; protected Boolean standardReferenceObligation; /** * Gets the value of the bond property. * * @return * possible object is * {@link Bond } * */ public Bond getBond() { return bond; } /** * Sets the value of the bond property. * * @param value * allowed object is * {@link Bond } * */ public void setBond(Bond value) { this.bond = value; } /** * Gets the value of the convertibleBond property. * * @return * possible object is * {@link ConvertibleBond } * */ public ConvertibleBond getConvertibleBond() { return convertibleBond; } /** * Sets the value of the convertibleBond property. * * @param value * allowed object is * {@link ConvertibleBond } * */ public void setConvertibleBond(ConvertibleBond value) { this.convertibleBond = value; } /** * Gets the value of the mortgage property. * * @return * possible object is * {@link Mortgage } * */ public Mortgage getMortgage() { return mortgage; } /** * Sets the value of the mortgage property. * * @param value * allowed object is * {@link Mortgage } * */ public void setMortgage(Mortgage value) { this.mortgage = value; } /** * Gets the value of the loan property. * * @return * possible object is * {@link Loan } * */ public Loan getLoan() { return loan; } /** * Sets the value of the loan property. * * @param value * allowed object is * {@link Loan } * */ public void setLoan(Loan value) { this.loan = value; } /** * Gets the value of the primaryObligor property. * * @return * possible object is * {@link LegalEntity } * */ public LegalEntity getPrimaryObligor() { return primaryObligor; } /** * Sets the value of the primaryObligor property. * * @param value * allowed object is * {@link LegalEntity } * */ public void setPrimaryObligor(LegalEntity value) { this.primaryObligor = value; } /** * Gets the value of the primaryObligorReference property. * * @return * possible object is * {@link LegalEntityReference } * */ public LegalEntityReference getPrimaryObligorReference() { return primaryObligorReference; } /** * Sets the value of the primaryObligorReference property. * * @param value * allowed object is * {@link LegalEntityReference } * */ public void setPrimaryObligorReference(LegalEntityReference value) { this.primaryObligorReference = value; } /** * Gets the value of the guarantorOrGuarantorReference 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 guarantorOrGuarantorReference property. * *

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

     *    getGuarantorOrGuarantorReference().add(newItem);
     * 
* * *

* Objects of the following type(s) are allowed in the list * {@link LegalEntity } * {@link LegalEntityReference } * * */ public List getGuarantorOrGuarantorReference() { if (guarantorOrGuarantorReference == null) { guarantorOrGuarantorReference = new ArrayList(); } return this.guarantorOrGuarantorReference; } /** * Gets the value of the standardReferenceObligation property. * * @return * possible object is * {@link Boolean } * */ public Boolean isStandardReferenceObligation() { return standardReferenceObligation; } /** * Sets the value of the standardReferenceObligation property. * * @param value * allowed object is * {@link Boolean } * */ public void setStandardReferenceObligation(Boolean value) { this.standardReferenceObligation = value; } }