org.fpml.fpml_5.confirmation.Swap 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.07.26 at 10:31:12 AM 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 swap streams and additional payments between the principal parties involved in the swap.
*
* Java class for Swap complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="Swap">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <element name="swapStream" type="{http://www.fpml.org/FpML-5/confirmation}InterestRateStream" maxOccurs="unbounded"/>
* <element name="earlyTerminationProvision" type="{http://www.fpml.org/FpML-5/confirmation}EarlyTerminationProvision" minOccurs="0"/>
* <element name="cancelableProvision" type="{http://www.fpml.org/FpML-5/confirmation}CancelableProvision" minOccurs="0"/>
* <element name="extendibleProvision" type="{http://www.fpml.org/FpML-5/confirmation}ExtendibleProvision" minOccurs="0"/>
* <element name="additionalPayment" type="{http://www.fpml.org/FpML-5/confirmation}Payment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="additionalTerms" type="{http://www.fpml.org/FpML-5/confirmation}SwapAdditionalTerms" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Swap", propOrder = {
"swapStream",
"earlyTerminationProvision",
"cancelableProvision",
"extendibleProvision",
"additionalPayment",
"additionalTerms"
})
public class Swap
extends Product
{
@XmlElement(required = true)
protected List swapStream;
protected EarlyTerminationProvision earlyTerminationProvision;
protected CancelableProvision cancelableProvision;
protected ExtendibleProvision extendibleProvision;
protected List additionalPayment;
protected SwapAdditionalTerms additionalTerms;
/**
* Gets the value of the swapStream 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 swapStream property.
*
*
* For example, to add a new item, do as follows:
*
* getSwapStream().add(newItem);
*
*
*
*
* Objects of the following type(s) are allowed in the list
* {@link InterestRateStream }
*
*
*/
public List getSwapStream() {
if (swapStream == null) {
swapStream = new ArrayList();
}
return this.swapStream;
}
/**
* 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;
}
/**
* Gets the value of the cancelableProvision property.
*
* @return
* possible object is
* {@link CancelableProvision }
*
*/
public CancelableProvision getCancelableProvision() {
return cancelableProvision;
}
/**
* Sets the value of the cancelableProvision property.
*
* @param value
* allowed object is
* {@link CancelableProvision }
*
*/
public void setCancelableProvision(CancelableProvision value) {
this.cancelableProvision = value;
}
/**
* Gets the value of the extendibleProvision property.
*
* @return
* possible object is
* {@link ExtendibleProvision }
*
*/
public ExtendibleProvision getExtendibleProvision() {
return extendibleProvision;
}
/**
* Sets the value of the extendibleProvision property.
*
* @param value
* allowed object is
* {@link ExtendibleProvision }
*
*/
public void setExtendibleProvision(ExtendibleProvision value) {
this.extendibleProvision = value;
}
/**
* 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 additionalTerms property.
*
* @return
* possible object is
* {@link SwapAdditionalTerms }
*
*/
public SwapAdditionalTerms getAdditionalTerms() {
return additionalTerms;
}
/**
* Sets the value of the additionalTerms property.
*
* @param value
* allowed object is
* {@link SwapAdditionalTerms }
*
*/
public void setAdditionalTerms(SwapAdditionalTerms value) {
this.additionalTerms = value;
}
}