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