Class VarianceSwap
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.NettedSwapBase
net.finmath.smartcontract.product.xml.VarianceSwap
A Variance Swap.
Java class for VarianceSwap complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VarianceSwap"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}NettedSwapBase"> <sequence> <element name="varianceLeg" type="{http://www.fpml.org/FpML-5/confirmation}VarianceLeg" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Fields inherited from class net.finmath.smartcontract.product.xml.NettedSwapBase
additionalPayment, 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 varianceLeg property.Methods inherited from class net.finmath.smartcontract.product.xml.NettedSwapBase
getAdditionalPayment, getExtraordinaryEvents, setExtraordinaryEvents
Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
varianceLeg
-
-
Constructor Details
-
VarianceSwap
public VarianceSwap()
-
-
Method Details
-
getVarianceLeg
Gets the value of the varianceLeg 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 varianceLeg property.For example, to add a new item, do as follows:
getVarianceLeg().add(newItem);
Objects of the following type(s) are allowed in the list
VarianceLeg
-