Class ExchangeTradedOption
java.lang.Object
net.finmath.smartcontract.product.xml.Asset
net.finmath.smartcontract.product.xml.IdentifiedAsset
net.finmath.smartcontract.product.xml.UnderlyingAsset
net.finmath.smartcontract.product.xml.ExchangeTraded
net.finmath.smartcontract.product.xml.ExchangeTradedContract
net.finmath.smartcontract.product.xml.ExchangeTradedOption
An exchange traded option.
Java class for ExchangeTradedOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ExchangeTradedOption"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}ExchangeTradedContract"> <sequence> <element name="strike" type="{http://www.w3.org/2001/XMLSchema}decimal"/> <element name="optionType" type="{http://www.fpml.org/FpML-5/confirmation}PutCallEnum" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Fields inherited from class net.finmath.smartcontract.product.xml.ExchangeTradedContract
contractReference, expirationDate, multiplier
Fields inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
optionsExchangeId, relatedExchangeId, specifiedExchangeId
Fields inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
clearanceSystem, currency, definition, exchangeId
Fields inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
description, instrumentId
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the value of the optionType property.Gets the value of the strike property.void
setOptionType
(PutCallEnum value) Sets the value of the optionType property.void
setStrike
(BigDecimal value) Sets the value of the strike property.Methods inherited from class net.finmath.smartcontract.product.xml.ExchangeTradedContract
getContractReference, getExpirationDate, getMultiplier, setContractReference, setExpirationDate, setMultiplier
Methods inherited from class net.finmath.smartcontract.product.xml.ExchangeTraded
getOptionsExchangeId, getRelatedExchangeId, getSpecifiedExchangeId
Methods inherited from class net.finmath.smartcontract.product.xml.UnderlyingAsset
getClearanceSystem, getCurrency, getDefinition, getExchangeId, setClearanceSystem, setCurrency, setDefinition, setExchangeId
Methods inherited from class net.finmath.smartcontract.product.xml.IdentifiedAsset
getDescription, getInstrumentId, setDescription
-
Field Details
-
strike
-
optionType
-
-
Constructor Details
-
ExchangeTradedOption
public ExchangeTradedOption()
-
-
Method Details
-
getStrike
Gets the value of the strike property.- Returns:
- possible object is
BigDecimal
-
setStrike
Sets the value of the strike property.- Parameters:
value
- allowed object isBigDecimal
-
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
-