org.fpml.fpml_5.confirmation.NettedSwapBase 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.XmlSeeAlso;
import javax.xml.bind.annotation.XmlType;
/**
* An abstract base class for all swap types which have a single netted leg, such as Variance Swaps, and Correlation Swaps.
*
* Java class for NettedSwapBase complex type.
*
*
The following schema fragment specifies the expected content contained within this class.
*
*
* <complexType name="NettedSwapBase">
* <complexContent>
* <extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
* <sequence>
* <element name="additionalPayment" type="{http://www.fpml.org/FpML-5/confirmation}ClassifiablePayment" maxOccurs="unbounded" minOccurs="0"/>
* <element name="extraordinaryEvents" type="{http://www.fpml.org/FpML-5/confirmation}ExtraordinaryEvents" minOccurs="0"/>
* </sequence>
* </extension>
* </complexContent>
* </complexType>
*
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "NettedSwapBase", propOrder = {
"additionalPayment",
"extraordinaryEvents"
})
@XmlSeeAlso({
CorrelationSwap.class,
VarianceSwap.class,
VolatilitySwap.class
})
public abstract class NettedSwapBase
extends Product
{
protected List additionalPayment;
protected ExtraordinaryEvents extraordinaryEvents;
/**
* 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 ClassifiablePayment }
*
*
*/
public List getAdditionalPayment() {
if (additionalPayment == null) {
additionalPayment = new ArrayList();
}
return this.additionalPayment;
}
/**
* Gets the value of the extraordinaryEvents property.
*
* @return
* possible object is
* {@link ExtraordinaryEvents }
*
*/
public ExtraordinaryEvents getExtraordinaryEvents() {
return extraordinaryEvents;
}
/**
* Sets the value of the extraordinaryEvents property.
*
* @param value
* allowed object is
* {@link ExtraordinaryEvents }
*
*/
public void setExtraordinaryEvents(ExtraordinaryEvents value) {
this.extraordinaryEvents = value;
}
}