Class NettedSwapBase
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.NettedSwapBase
- Direct Known Subclasses:
CorrelationSwap
,VarianceSwap
,VolatilitySwap
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>
-
Field Summary
Modifier and TypeFieldDescriptionprotected List
<ClassifiablePayment> protected ExtraordinaryEvents
Fields inherited from class net.finmath.smartcontract.product.xml.Product
assetClass, id, primaryAssetClass, productId, productType, secondaryAssetClass
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the additionalPayment property.Gets the value of the extraordinaryEvents property.void
Sets the value of the extraordinaryEvents property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
additionalPayment
-
extraordinaryEvents
-
-
Constructor Details
-
NettedSwapBase
public NettedSwapBase()
-
-
Method Details
-
getAdditionalPayment
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 Jakarta XML Binding 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
ClassifiablePayment
-
getExtraordinaryEvents
Gets the value of the extraordinaryEvents property.- Returns:
- possible object is
ExtraordinaryEvents
-
setExtraordinaryEvents
Sets the value of the extraordinaryEvents property.- Parameters:
value
- allowed object isExtraordinaryEvents
-