Class CommoditySwaption
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.CommoditySwaption
Commodity Swaption.
Java class for CommoditySwaption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="CommoditySwaption">
<complexContent>
<extension base="{http://www.fpml.org/FpML-5/confirmation}Product">
<sequence>
<group ref="{http://www.fpml.org/FpML-5/confirmation}BuyerSeller.model"/>
<element name="optionType" type="{http://www.fpml.org/FpML-5/confirmation}PutCallEnum"/>
<element name="commoditySwap" type="{http://www.fpml.org/FpML-5/confirmation}CommoditySwaptionUnderlying"/>
<element name="physicalExercise" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPhysicalExercise"/>
<element name="premium" type="{http://www.fpml.org/FpML-5/confirmation}CommodityPremium"/>
<group ref="{http://www.fpml.org/FpML-5/confirmation}CommodityContent.model" minOccurs="0"/>
</sequence>
</extension>
</complexContent>
</complexType>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected AccountReferenceprotected PartyReferenceprotected CommoditySwaptionUnderlyingprotected Booleanprotected CommodityMarketDisruptionprotected PutCallEnumprotected CommodityPhysicalExerciseprotected CommodityPremiumprotected Roundingprotected AccountReferenceprotected PartyReferenceprotected CommodityBullionSettlementDisruptionEnumFields 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 buyerAccountReference property.Gets the value of the buyerPartyReference property.Gets the value of the commoditySwap property.Gets the value of the marketDisruption property.Gets the value of the optionType property.Gets the value of the physicalExercise property.Gets the value of the premium property.Gets the value of the rounding property.Gets the value of the sellerAccountReference property.Gets the value of the sellerPartyReference property.Gets the value of the settlementDisruption property.Gets the value of the commonPricing property.voidSets the value of the buyerAccountReference property.voidSets the value of the buyerPartyReference property.voidSets the value of the commoditySwap property.voidsetCommonPricing(Boolean value) Sets the value of the commonPricing property.voidSets the value of the marketDisruption property.voidsetOptionType(PutCallEnum value) Sets the value of the optionType property.voidSets the value of the physicalExercise property.voidsetPremium(CommodityPremium value) Sets the value of the premium property.voidsetRounding(Rounding value) Sets the value of the rounding property.voidSets the value of the sellerAccountReference property.voidSets the value of the sellerPartyReference property.voidSets the value of the settlementDisruption property.Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
buyerPartyReference
-
buyerAccountReference
-
sellerPartyReference
-
sellerAccountReference
-
optionType
-
commoditySwap
-
physicalExercise
-
commonPricing
-
marketDisruption
-
settlementDisruption
-
rounding
-
-
Constructor Details
-
CommoditySwaption
public CommoditySwaption()
-
-
Method Details
-
getBuyerPartyReference
Gets the value of the buyerPartyReference property.- Returns:
- possible object is
PartyReference
-
setBuyerPartyReference
Sets the value of the buyerPartyReference property.- Parameters:
value- allowed object isPartyReference
-
getBuyerAccountReference
Gets the value of the buyerAccountReference property.- Returns:
- possible object is
AccountReference
-
setBuyerAccountReference
Sets the value of the buyerAccountReference property.- Parameters:
value- allowed object isAccountReference
-
getSellerPartyReference
Gets the value of the sellerPartyReference property.- Returns:
- possible object is
PartyReference
-
setSellerPartyReference
Sets the value of the sellerPartyReference property.- Parameters:
value- allowed object isPartyReference
-
getSellerAccountReference
Gets the value of the sellerAccountReference property.- Returns:
- possible object is
AccountReference
-
setSellerAccountReference
Sets the value of the sellerAccountReference property.- Parameters:
value- allowed object isAccountReference
-
getOptionType
Gets the value of the optionType property.- Returns:
- possible object is
PutCallEnum
-
setOptionType
Sets the value of the optionType property.- Parameters:
value- allowed object isPutCallEnum
-
getCommoditySwap
Gets the value of the commoditySwap property.- Returns:
- possible object is
CommoditySwaptionUnderlying
-
setCommoditySwap
Sets the value of the commoditySwap property.- Parameters:
value- allowed object isCommoditySwaptionUnderlying
-
getPhysicalExercise
Gets the value of the physicalExercise property.- Returns:
- possible object is
CommodityPhysicalExercise
-
setPhysicalExercise
Sets the value of the physicalExercise property.- Parameters:
value- allowed object isCommodityPhysicalExercise
-
getPremium
Gets the value of the premium property.- Returns:
- possible object is
CommodityPremium
-
setPremium
Sets the value of the premium property.- Parameters:
value- allowed object isCommodityPremium
-
isCommonPricing
-
setCommonPricing
-
getMarketDisruption
Gets the value of the marketDisruption property.- Returns:
- possible object is
CommodityMarketDisruption
-
setMarketDisruption
Sets the value of the marketDisruption property.- Parameters:
value- allowed object isCommodityMarketDisruption
-
getSettlementDisruption
Gets the value of the settlementDisruption property.- Returns:
- possible object is
CommodityBullionSettlementDisruptionEnum
-
setSettlementDisruption
Sets the value of the settlementDisruption property.- Parameters:
value- allowed object isCommodityBullionSettlementDisruptionEnum
-
getRounding
-
setRounding
-