Class EquityOption
java.lang.Object
net.finmath.smartcontract.product.xml.Product
net.finmath.smartcontract.product.xml.EquityDerivativeBase
net.finmath.smartcontract.product.xml.EquityDerivativeLongFormBase
net.finmath.smartcontract.product.xml.EquityOption
A type for defining equity options.
Java class for EquityOption complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="EquityOption"> <complexContent> <extension base="{http://www.fpml.org/FpML-5/confirmation}EquityDerivativeLongFormBase"> <sequence> <element name="strike" type="{http://www.fpml.org/FpML-5/confirmation}EquityStrike" minOccurs="0"/> <element name="spotPrice" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/> <element name="numberOfOptions" type="{http://www.fpml.org/FpML-5/confirmation}NonNegativeDecimal" minOccurs="0"/> <element name="optionEntitlement" type="{http://www.fpml.org/FpML-5/confirmation}PositiveDecimal"/> <element name="equityPremium" type="{http://www.fpml.org/FpML-5/confirmation}EquityPremium"/> </sequence> </extension> </complexContent> </complexType>
-
Field Summary
Modifier and TypeFieldDescriptionprotected EquityPremium
protected BigDecimal
protected BigDecimal
protected BigDecimal
protected EquityStrike
Fields inherited from class net.finmath.smartcontract.product.xml.EquityDerivativeLongFormBase
dividendConditions, extraordinaryEvents, methodOfAdjustment
Fields inherited from class net.finmath.smartcontract.product.xml.EquityDerivativeBase
buyerAccountReference, buyerPartyReference, equityEffectiveDate, equityExercise, feature, fxFeature, notional, optionType, sellerAccountReference, sellerPartyReference, strategyFeature, underlyer
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 equityPremium property.Gets the value of the numberOfOptions property.Gets the value of the optionEntitlement property.Gets the value of the spotPrice property.Gets the value of the strike property.void
setEquityPremium
(EquityPremium value) Sets the value of the equityPremium property.void
setNumberOfOptions
(BigDecimal value) Sets the value of the numberOfOptions property.void
setOptionEntitlement
(BigDecimal value) Sets the value of the optionEntitlement property.void
setSpotPrice
(BigDecimal value) Sets the value of the spotPrice property.void
setStrike
(EquityStrike value) Sets the value of the strike property.Methods inherited from class net.finmath.smartcontract.product.xml.EquityDerivativeLongFormBase
getDividendConditions, getExtraordinaryEvents, getMethodOfAdjustment, setDividendConditions, setExtraordinaryEvents, setMethodOfAdjustment
Methods inherited from class net.finmath.smartcontract.product.xml.EquityDerivativeBase
getBuyerAccountReference, getBuyerPartyReference, getEquityEffectiveDate, getEquityExercise, getFeature, getFxFeature, getNotional, getOptionType, getSellerAccountReference, getSellerPartyReference, getStrategyFeature, getUnderlyer, setBuyerAccountReference, setBuyerPartyReference, setEquityEffectiveDate, setEquityExercise, setFeature, setFxFeature, setNotional, setOptionType, setSellerAccountReference, setSellerPartyReference, setStrategyFeature, setUnderlyer
Methods inherited from class net.finmath.smartcontract.product.xml.Product
getAssetClass, getId, getPrimaryAssetClass, getProductId, getProductType, getSecondaryAssetClass, setId, setPrimaryAssetClass
-
Field Details
-
strike
-
spotPrice
-
numberOfOptions
-
optionEntitlement
-
equityPremium
-
-
Constructor Details
-
EquityOption
public EquityOption()
-
-
Method Details
-
getStrike
Gets the value of the strike property.- Returns:
- possible object is
EquityStrike
-
setStrike
Sets the value of the strike property.- Parameters:
value
- allowed object isEquityStrike
-
getSpotPrice
Gets the value of the spotPrice property.- Returns:
- possible object is
BigDecimal
-
setSpotPrice
Sets the value of the spotPrice property.- Parameters:
value
- allowed object isBigDecimal
-
getNumberOfOptions
Gets the value of the numberOfOptions property.- Returns:
- possible object is
BigDecimal
-
setNumberOfOptions
Sets the value of the numberOfOptions property.- Parameters:
value
- allowed object isBigDecimal
-
getOptionEntitlement
Gets the value of the optionEntitlement property.- Returns:
- possible object is
BigDecimal
-
setOptionEntitlement
Sets the value of the optionEntitlement property.- Parameters:
value
- allowed object isBigDecimal
-
getEquityPremium
Gets the value of the equityPremium property.- Returns:
- possible object is
EquityPremium
-
setEquityPremium
Sets the value of the equityPremium property.- Parameters:
value
- allowed object isEquityPremium
-