org.fpml.fpml_5.confirmation.Cashflows 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.XmlType;
/**
* A type defining the cashflow representation of a swap trade.
*
* Java class for Cashflows complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Cashflows">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="cashflowsMatchParameters" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
* <element name="principalExchange" type="{http://www.fpml.org/FpML-5/confirmation}PrincipalExchange" maxOccurs="unbounded" minOccurs="0"/>
* <element name="paymentCalculationPeriod" type="{http://www.fpml.org/FpML-5/confirmation}PaymentCalculationPeriod" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Cashflows", propOrder = {
"cashflowsMatchParameters",
"principalExchange",
"paymentCalculationPeriod"
})
public class Cashflows {
protected boolean cashflowsMatchParameters;
protected List principalExchange;
protected List paymentCalculationPeriod;
/**
* Gets the value of the cashflowsMatchParameters property.
*
*/
public boolean isCashflowsMatchParameters() {
return cashflowsMatchParameters;
}
/**
* Sets the value of the cashflowsMatchParameters property.
*
*/
public void setCashflowsMatchParameters(boolean value) {
this.cashflowsMatchParameters = value;
}
/**
* Gets the value of the principalExchange 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 principalExchange property.
*
*
* For example, to add a new item, do as follows:
*
* getPrincipalExchange().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PrincipalExchange }
*
*
*/
public List getPrincipalExchange() {
if (principalExchange == null) {
principalExchange = new ArrayList();
}
return this.principalExchange;
}
/**
* Gets the value of the paymentCalculationPeriod 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 paymentCalculationPeriod property.
*
*
* For example, to add a new item, do as follows:
*
* getPaymentCalculationPeriod().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link PaymentCalculationPeriod }
*
*
*/
public List getPaymentCalculationPeriod() {
if (paymentCalculationPeriod == null) {
paymentCalculationPeriod = new ArrayList();
}
return this.paymentCalculationPeriod;
}
}