org.fpml.fpml_5.confirmation.CapFloor 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.XmlType;
/**
* A type defining an interest rate cap, floor, or cap/floor strategy (e.g. collar) product.
*
* Java class for CapFloor complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="CapFloor">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <element name="capFloorStream" type="{http://www.fpml.org/FpML-5/confirmation}InterestRateStream"/>
* <element name="premium" type="{http://www.fpml.org/FpML-5/confirmation}Payment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="additionalPayment" type="{http://www.fpml.org/FpML-5/confirmation}Payment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="earlyTerminationProvision" type="{http://www.fpml.org/FpML-5/confirmation}EarlyTerminationProvision" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "CapFloor", propOrder = {
"capFloorStream",
"premium",
"additionalPayment",
"earlyTerminationProvision"
})
public class CapFloor
extends Product
{
@XmlElement(required = true)
protected InterestRateStream capFloorStream;
protected List premium;
protected List additionalPayment;
protected EarlyTerminationProvision earlyTerminationProvision;
/**
* Gets the value of the capFloorStream property.
*
* @return
* possible object is
* {@link InterestRateStream }
*
*/
public InterestRateStream getCapFloorStream() {
return capFloorStream;
}
/**
* Sets the value of the capFloorStream property.
*
* @param value
* allowed object is
* {@link InterestRateStream }
*
*/
public void setCapFloorStream(InterestRateStream value) {
this.capFloorStream = value;
}
/**
* Gets the value of the premium 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 premium property.
*
*
* For example, to add a new item, do as follows:
*
* getPremium().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Payment }
*
*
*/
public List getPremium() {
if (premium == null) {
premium = new ArrayList();
}
return this.premium;
}
/**
* Gets the value of the additionalPayment 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 additionalPayment property.
*
*
* For example, to add a new item, do as follows:
*
* getAdditionalPayment().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link Payment }
*
*
*/
public List getAdditionalPayment() {
if (additionalPayment == null) {
additionalPayment = new ArrayList();
}
return this.additionalPayment;
}
/**
* Gets the value of the earlyTerminationProvision property.
*
* @return
* possible object is
* {@link EarlyTerminationProvision }
*
*/
public EarlyTerminationProvision getEarlyTerminationProvision() {
return earlyTerminationProvision;
}
/**
* Sets the value of the earlyTerminationProvision property.
*
* @param value
* allowed object is
* {@link EarlyTerminationProvision }
*
*/
public void setEarlyTerminationProvision(EarlyTerminationProvision value) {
this.earlyTerminationProvision = value;
}
}